Skip to contentSkip to conversation

dtc: install libfdt headers to staging

PATCH New Baruch Siach 3 participants 3 messages Jan 16, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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 <[email protected]>
---
 package/dtc/dtc.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
package/dtc/dtc.mk +2 -1
index c01fe7b40078..e094f7bf782f 100644
@@ -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
Signature · 1 line
2.1.4
#1 lore raw

PATCH 1/1 dtc: install libfdt headers to staging

Hello Baruch,

Quoted 40 lines

Gesendet: Freitag, 16. Januar 2015 um 07:37 Uhr
Von: "Baruch Siach" <[email protected]>
An: buildroot at busybox.net
Cc: "Baruch Siach" <[email protected]>, "Peter Seiderer" <[email protected]>
Betreff: [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 <[email protected]>
---
 package/dtc/dtc.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
package/dtc/dtc.mk +2 -1
index c01fe7b40078..e094f7bf782f 100644
@@ -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
Signature · 1 line
2.1.4

Thanks for the fix...

Regards,
Peter

#2 lore raw

PATCH 1/1 dtc: install libfdt headers to staging

In reply to Baruch Siach

Dear Baruch Siach,

Quoted 4 lines · Baruch Siach

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.

Quoted 8 lines

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 <[email protected]>

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com