From 8e0070a2a8e04e40683105e01945e3cd4631b062 Mon Sep 17 00:00:00 2001 From: Marc Dietrich Date: Tue, 12 Feb 2013 22:30:47 +0100 Subject: Add install target This adds an install target to the Makefile. cbootimage and bct_dump are installed to /usr/bin. Signed-off-by: Marc Dietrich Signed-off-by: Stephen Warren Change-Id: Ib4aba674a7ca206d5de998c649b65772312d510c Reviewed-on: http://git-master/r/200182 Reviewed-by: Allen Martin Reviewed-by: Rhyland Klein Reviewed-by: Automatic_Commit_Validation_User --- GNUmakefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/GNUmakefile b/GNUmakefile index 546f4d4..eb0b6b9 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -68,3 +68,7 @@ bct_dump: $(BCT_DUMP_OBJS) # clean: rm -f $(CBOOTIMAGE_OBJS) $(BCT_DUMP_OBJS) *~ $(TARGETS) + +install: cbootimage bct_dump + install -D -m 755 cbootimage $(DESTDIR)/usr/bin + install -D -m 755 bct_dump $(DESTDIR)/usr/bin -- cgit v1.2.1