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
This commit is contained in:
Marc Dietrich
2013-02-12 22:30:47 +01:00
committed by Stephen Warren
parent acbfad4efb
commit 8e0070a2a8

View File

@@ -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