summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--payloads/libpayload/Makefile.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/payloads/libpayload/Makefile.inc b/payloads/libpayload/Makefile.inc
index 2332517cef..0e903643fc 100644
--- a/payloads/libpayload/Makefile.inc
+++ b/payloads/libpayload/Makefile.inc
@@ -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)); \