[Crosstoolchain-logs] [device-tree-compiler] 109/357: dtc: Add install makefile target

Hector Oron zumbi at moszumanska.debian.org
Thu Dec 8 17:05:56 UTC 2016


This is an automated email from the git hooks/post-receive script.

zumbi pushed a commit to branch upstream/1.3.x
in repository device-tree-compiler.

commit 8cd4196ee3a9cc3d345f40f93e0a5f4493ce2d82
Author: Josh Boyer <jwboyer at linux.vnet.ibm.com>
Date:   Fri Jun 29 09:53:23 2007 -0500

    dtc: Add install makefile target
    
    Signed-off-by: Josh Boyer <jwboyer at linux.vnet.ibm.com>
---
 Makefile | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/Makefile b/Makefile
index 67eb4ce..a919bfa 100644
--- a/Makefile
+++ b/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)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/crosstoolchain/device-tree-compiler.git



More information about the Crosstoolchain-logs mailing list