libpayload: Add include/commonlib/bsd to installed headers
Copy header files from the main commonlib/bsd to libpayload output installation directory. Change-Id: Idc7175240f3077ec98280331f9a952310aae4341 Signed-off-by: Jakub Czapiga <jacz@semihalf.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/59916 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <patrick@coreboot.org>
This commit is contained in:
parent
0365fc8186
commit
0b25e00ab1
|
@ -116,6 +116,11 @@ install: real-target
|
|||
install -m 755 -d $(DESTDIR)/libpayload/`dirname $$file`; \
|
||||
install -m 644 $$file $(DESTDIR)/libpayload/$$file; \
|
||||
done
|
||||
for file in `find $(coreboottop)/src/commonlib/bsd/include -name *.h -type f`; do \
|
||||
dest_file=$$(realpath --relative-to=$(coreboottop)/src/commonlib/bsd/ $$file); \
|
||||
install -m 755 -d "$(DESTDIR)/libpayload/`dirname $$dest_file`"; \
|
||||
install -m 644 "$$file" "$(DESTDIR)/libpayload/$$dest_file"; \
|
||||
done
|
||||
install -m 644 $(obj)/libpayload-config.h $(DESTDIR)/libpayload/include
|
||||
$(foreach item,$(includes), \
|
||||
install -m 755 -d $(DESTDIR)/libpayload/include/$(call extract_nth,2,$(item)); \
|
||||
|
|
Loading…
Reference in New Issue