@@ -536,14 +536,6 @@ define LINUX_INSTALL_KERNEL_IMAGE_TO_TARGET
endef
endif
-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)/bin/linux-dtc ; \
- $(if $(BR2_PACKAGE_HOST_DTC),,ln -sf linux-dtc $(HOST_DIR)/bin/dtc;) \
- fi
-endef
-
define LINUX_INSTALL_IMAGES_CMDS
$(call LINUX_INSTALL_IMAGE,$(BINARIES_DIR))
$(call LINUX_INSTALL_DTB,$(BINARIES_DIR))
@@ -562,7 +554,6 @@ define LINUX_INSTALL_TARGET_CMDS
rm -f $(TARGET_DIR)/lib/modules/$(LINUX_VERSION_PROBED)/build ; \
rm -f $(TARGET_DIR)/lib/modules/$(LINUX_VERSION_PROBED)/source ; \
fi
- $(LINUX_INSTALL_HOST_TOOLS)
endef
# Run depmod in a target-finalize hook, to encompass modules installed by
This reverts commit 707d44d0a28906ebda49584dd5f55985406f0bde. Now that we have a proper host-dtc package, it is no longer needed for the linux package to install the host dtc compiler. Signed-off-by: TIAN Yuanhao <tianyuanhao3@163.com> Cc: Peter Seiderer <ps.report@gmx.net> --- I tried to make the upstream Linux use the host dtc, but failed. [1] [1]: https://patchwork.kernel.org/comment/25979556/ --- linux/linux.mk | 9 --------- 1 file changed, 9 deletions(-) base-commit: 2a8c58b5849ed2c9908cf08b596f370454c251b6