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/linux-dtc ; \
- if [ ! -e $(HOST_DIR)/usr/bin/dtc ]; then \
- ln -sf linux-dtc $(HOST_DIR)/usr/bin/dtc ; \
+ $(INSTALL) -D -m 0755 $(@D)/scripts/dtc/dtc $(HOST_DIR)/bin/linux-dtc ; \
+ if [ ! -e $(HOST_DIR)/bin/dtc ]; then \
+ ln -sf linux-dtc $(HOST_DIR)/bin/dtc ; \
fi \
fi
endef