[Buildroot] [git commit] dtc: install libfdt headers to staging

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Jan 16 21:36:09 UTC 2015


commit: http://git.buildroot.net/buildroot/commit/?id=2fc87f5bc60bd70083663cc5006f913fe944f8a2
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

The newly introduced install-lib target that we use since commit 8b500c1b63dc
(dtc: bump version to 1.4.1) does not install headers. Add install-includes to
DTC_INSTALL_STAGING_CMDS to make dependent packages like kexec-lite build.

Fixes:
http://autobuild.buildroot.net/results/515/515d32e45957e911fda6345f909fa9200df311ff/
http://autobuild.buildroot.net/results/b09/b09f15c7b59e972d2180d071804810315d2ee047/
http://autobuild.buildroot.net/results/023/02376cd3dccc98d10a58e5398b9f8db75239f263/
...

Cc: Peter Seiderer <ps.report at gmx.net>
Signed-off-by: Baruch Siach <baruch at tkos.co.il>
Acked-by: Peter Seiderer <ps.report at gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 package/dtc/dtc.mk |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/package/dtc/dtc.mk b/package/dtc/dtc.mk
index c01fe7b..e094f7b 100644
--- a/package/dtc/dtc.mk
+++ b/package/dtc/dtc.mk
@@ -36,7 +36,8 @@ endef
 
 # For staging, only the library is needed
 define DTC_INSTALL_STAGING_CMDS
-	$(MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) PREFIX=/usr install-lib
+	$(MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) PREFIX=/usr install-lib \
+		install-includes
 endef
 
 define DTC_INSTALL_TARGET_CMDS


More information about the buildroot mailing list