dtc: Add install makefile target
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
This commit is contained in:
parent
6936273aa4
commit
8cd4196ee3
1 changed files with 9 additions and 0 deletions
9
Makefile
9
Makefile
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue