dtc: install libfdt headers to staging
authorBaruch Siach <baruch@tkos.co.il>
Fri, 16 Jan 2015 06:37:35 +0000 (08:37 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 16 Jan 2015 21:36:09 +0000 (22:36 +0100)
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@gmx.net>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Acked-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/dtc/dtc.mk

index c01fe7b40078fd5f54b0d486caf66831452c00ad..e094f7bf782fbca9ceeb689c8e1e18c919de8b02 100644 (file)
@@ -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