Message ID | 1421178007-11877-8-git-send-email-ps.report@gmx.net |
---|---|
State | Superseded |
Headers | show |
diff --git a/linux/linux.mk b/linux/linux.mk index 8256641..de15650 100644 --- a/linux/linux.mk +++ b/linux/linux.mk @@ -284,13 +284,14 @@ endef endif +ifeq ($BR2_PACKAGE_HOST_DTC,) define LINUX_INSTALL_HOST_TOOLS # Installing dtc (device tree compiler) as host tool, if selected if grep -q "CONFIG_DTC=y" $(@D)/.config; then \ $(INSTALL) -D -m 0755 $(@D)/scripts/dtc/dtc $(HOST_DIR)/usr/bin/dtc ; \ fi endef - +endif define LINUX_INSTALL_IMAGES_CMDS cp $(LINUX_IMAGE_PATH) $(BINARIES_DIR)
Suggested by Matthew Weber (see [1]) to avoid double installation of host dtc. [1] http://lists.busybox.net/pipermail/buildroot/2015-January/117121.html Signed-off-by: Peter Seiderer <ps.report@gmx.net> --- linux/linux.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)