dtc: Add install makefile target

Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
This commit is contained in:
Josh Boyer 2007-06-29 09:53:23 -05:00 committed by Jon Loeliger
parent 6936273aa4
commit 8cd4196ee3

View file

@ -4,6 +4,10 @@ LDFLAGS = -Llibfdt
BISON = bison
INSTALL = /usr/bin/install
DESTDIR =
BINDIR = /usr/bin
#
# Overall rules
#
@ -113,3 +117,8 @@ endif
#
TESTS_PREFIX=tests/
include tests/Makefile.tests
install: dtc ftdump
$(INSTALL) -d $(DESTDIR)$(BINDIR)
$(INSTALL) -m 755 dtc $(DESTDIR)$(BINDIR)
$(INSTALL) -m 755 ftdump $(DESTDIR)$(BINDIR)