]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blobdiff - linux/linux.mk
Globally replace $(HOST_DIR)/usr/bin with $(HOST_DIR)/bin
[coffee/buildroot.git] / linux / linux.mk
index d06f74f9f788cb1d5cf1a49e422a0cb828c8cbcd..b0e974774af92f632253cc5cf52f169290135544 100644 (file)
@@ -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