From 734427ea921b4cd4cbeffc7f5e85bf585750bda4 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Wed, 22 Oct 2008 10:49:34 +0000 Subject: 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 Acked-by: Jordan Crouse git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3683 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- payloads/libpayload/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'payloads') 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 -- cgit v1.2.3