linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] dtc: Add install makefile target
@ 2007-06-29 14:53 Josh Boyer
  2007-06-29 15:24 ` Andreas Schwab
  2007-07-02 13:42 ` Jon Loeliger
  0 siblings, 2 replies; 6+ messages in thread
From: Josh Boyer @ 2007-06-29 14:53 UTC (permalink / raw)
  To: jdl; +Cc: linuxppc-dev, david

Add a minimal install target

Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>

---
 Makefile |    9 +++++++++
 1 file changed, 9 insertions(+)

--- dtc.orig/Makefile
+++ dtc/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)

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-07-02 14:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-29 14:53 [PATCH v2] dtc: Add install makefile target Josh Boyer
2007-06-29 15:24 ` Andreas Schwab
2007-06-29 15:32   ` Josh Boyer
2007-07-02 13:42 ` Jon Loeliger
2007-07-02 13:46   ` Josh Boyer
2007-07-02 14:36     ` Jon Loeliger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).