diff options
author | Josh Boyer <jwboyer@linux.vnet.ibm.com> | 2007-06-29 09:53:23 -0500 |
---|---|---|
committer | Jon Loeliger <jdl@freescale.com> | 2007-07-02 08:44:37 -0500 |
commit | 8cd4196ee3a9cc3d345f40f93e0a5f4493ce2d82 (patch) | |
tree | 7467735f72514b94b42844437dc78f6ddd05f6fd /Makefile | |
parent | 6936273aa40371811a99c3516b613d299792831b (diff) | |
download | dtc-8cd4196ee3a9cc3d345f40f93e0a5f4493ce2d82.zip dtc-8cd4196ee3a9cc3d345f40f93e0a5f4493ce2d82.tar.gz dtc-8cd4196ee3a9cc3d345f40f93e0a5f4493ce2d82.tar.bz2 |
dtc: Add install makefile target
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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) |