Browse Source

dtc: install libfdt library and headers for host variant

The dtc package currently does not install libfdt for the host install.
It can be useful to have libfdt on the host, such as for building QEMU
with the --enable-fdt configure switch.

Signed-off-by: David Raeman <draeman@bbn.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
David Raeman 9 năm trước cách đây
mục cha
commit
5ca9b7cf66
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      package/dtc/dtc.mk

+ 3 - 1
package/dtc/dtc.mk

@@ -51,7 +51,9 @@ define HOST_DTC_BUILD_CMDS
 endef
 
 define HOST_DTC_INSTALL_CMDS
-	$(MAKE) -C $(@D) PREFIX=$(HOST_DIR)/usr install-bin
+	$(MAKE) -C $(@D) PREFIX=$(HOST_DIR)/usr install-bin install-lib \
+		install-includes
+
 endef
 
 $(eval $(generic-package))