summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2008-10-22 10:49:34 +0000
committerStefan Reinauer <stepan@openbios.org>2008-10-22 10:49:34 +0000
commit734427ea921b4cd4cbeffc7f5e85bf585750bda4 (patch)
treeace05e66b83a1eadb74a160369e09cd87b35eaa9
parent1877b5e51d427da1a9a3dc43a838c17cd8d25fb3 (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
-rw-r--r--payloads/libpayload/Makefile5
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