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
This commit is contained in:
parent
1877b5e51d
commit
734427ea92
|
@ -134,13 +134,16 @@ install: lib
|
||||||
$(Q)printf " INSTALL $(DESTDIR)/libpayload/include\n"
|
$(Q)printf " INSTALL $(DESTDIR)/libpayload/include\n"
|
||||||
$(Q)install -m 755 -d $(DESTDIR)/libpayload/include
|
$(Q)install -m 755 -d $(DESTDIR)/libpayload/include
|
||||||
$(Q)for file in `find include -name *.h -type f`; do \
|
$(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
|
done
|
||||||
$(Q)printf " INSTALL $(DESTDIR)/libpayload/bin\n"
|
$(Q)printf " INSTALL $(DESTDIR)/libpayload/bin\n"
|
||||||
$(Q)install -m 755 -d $(DESTDIR)/libpayload/bin
|
$(Q)install -m 755 -d $(DESTDIR)/libpayload/bin
|
||||||
$(Q)install -m 755 bin/lpgcc $(DESTDIR)/libpayload/bin
|
$(Q)install -m 755 bin/lpgcc $(DESTDIR)/libpayload/bin
|
||||||
$(Q)install -m 755 bin/lpas $(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 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:
|
prepare:
|
||||||
$(Q)mkdir -p $(obj)/util/kconfig/lxdialog
|
$(Q)mkdir -p $(obj)/util/kconfig/lxdialog
|
||||||
|
|
Loading…
Reference in New Issue