diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2008-10-22 10:49:34 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2008-10-22 10:49:34 +0000 |
commit | 734427ea921b4cd4cbeffc7f5e85bf585750bda4 (patch) | |
tree | ace05e66b83a1eadb74a160369e09cd87b35eaa9 /payloads/libpayload | |
parent | 1877b5e51d427da1a9a3dc43a838c17cd8d25fb3 (diff) |
This has been sitting here since a looong time.
* allow versions of "install" that don't know -D
* install libpayload .config and config.h to the target.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Jordan Crouse <jordan.crouse@amd.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3683 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'payloads/libpayload')
-rw-r--r-- | payloads/libpayload/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/payloads/libpayload/Makefile b/payloads/libpayload/Makefile index 6d169ccc92..fc3343a0c2 100644 --- a/payloads/libpayload/Makefile +++ b/payloads/libpayload/Makefile @@ -134,13 +134,16 @@ install: lib $(Q)printf " INSTALL $(DESTDIR)/libpayload/include\n" $(Q)install -m 755 -d $(DESTDIR)/libpayload/include $(Q)for file in `find include -name *.h -type f`; do \ - install -m 644 -D $$file $(DESTDIR)/libpayload/$$file; \ + install -m 755 -d $(DESTDIR)/libpayload/`dirname $$file`; \ + install -m 644 $$file $(DESTDIR)/libpayload/$$file; \ done $(Q)printf " INSTALL $(DESTDIR)/libpayload/bin\n" $(Q)install -m 755 -d $(DESTDIR)/libpayload/bin $(Q)install -m 755 bin/lpgcc $(DESTDIR)/libpayload/bin $(Q)install -m 755 bin/lpas $(DESTDIR)/libpayload/bin $(Q)install -m 644 bin/lp.functions $(DESTDIR)/libpayload/bin + $(Q)install -m 644 $(KCONFIG_AUTOHEADER) $(DESTDIR)/libpayload/include/l ibpayload-config.h + $(Q)install -m 644 $(KCONFIG_AUTOCONFIG) $(DESTDIR)/libpayload/libpayloa d.config prepare: $(Q)mkdir -p $(obj)/util/kconfig/lxdialog |