uboot-at91: fix -Wformat-security
[openwrt/staging/rmilecki.git] / package / boot / uboot-at91 / Makefile
index c17f1e04bf72b7715672d200fe3fae4abc3b928e..547b72f8d9b2c6e67636ebe4f5e99ab7f2f871f6 100644 (file)
@@ -131,7 +131,7 @@ UBOOT_TARGETS := \
 define Build/Compile
   +$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
      CROSS_COMPILE=$(TARGET_CROSS) \
-        DTC=$(LINUX_DIR)/scripts/dtc/dtc \
+        DTC=$(PKG_BUILD_DIR)/scripts/dtc/dtc \
      KCFLAGS="$(filter-out -fstack-protector \
       -mfloat-abi=hard, $(TARGET_CFLAGS)) -mfloat-abi=soft"
 endef