summaryrefslogtreecommitdiffstats
path: root/linux
diff options
context:
space:
mode:
Diffstat (limited to 'linux')
-rw-r--r--linux/linux.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/linux/linux.mk b/linux/linux.mk
index d06f74f9f7..b0e974774a 100644
--- a/linux/linux.mk
+++ b/linux/linux.mk
@@ -383,9 +383,9 @@ 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)/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
OpenPOWER on IntegriCloud