From 2fc87f5bc60bd70083663cc5006f913fe944f8a2 Mon Sep 17 00:00:00 2001 From: Baruch Siach Date: Fri, 16 Jan 2015 08:37:35 +0200 Subject: [PATCH] dtc: install libfdt headers to staging 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 Signed-off-by: Baruch Siach Acked-by: Peter Seiderer Signed-off-by: Thomas Petazzoni --- package/dtc/dtc.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/dtc/dtc.mk b/package/dtc/dtc.mk index c01fe7b400..e094f7bf78 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