summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Dietrich <marvin24@gmx.de>2013-02-12 22:30:47 +0100
committerStephen Warren <swarren@nvidia.com>2013-02-12 15:06:02 -0800
commit8e0070a2a8e04e40683105e01945e3cd4631b062 (patch)
tree6bdf8bf19d30c6072d40e6f0454835966871e33f
parentacbfad4efb1922674ca1ec4e2e446c3ee5a19164 (diff)
downloadnvidia-cbootimage-8e0070a2a8e04e40683105e01945e3cd4631b062.tar.gz
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 <marvin24@gmx.de> Signed-off-by: Stephen Warren <swarren@nvidia.com> Change-Id: Ib4aba674a7ca206d5de998c649b65772312d510c Reviewed-on: http://git-master/r/200182 Reviewed-by: Allen Martin <amartin@nvidia.com> Reviewed-by: Rhyland Klein <rklein@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User
-rw-r--r--GNUmakefile4
1 files changed, 4 insertions, 0 deletions
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