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>
This commit is contained in:
David Raeman 2016-07-25 15:52:27 -04:00 committed by Thomas Petazzoni
parent 6f8162cf8c
commit 5ca9b7cf66

View File

@ -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))