ramips: move relocating loader to common location
[openwrt/.git] / target / linux / ramips / image / Makefile
index 45ae3a585a8a01fb99ceab339dd573252df4986b..14f6f1ef7e6bcafde7a1aa134d70b2a8adf0551d 100644 (file)
@@ -981,7 +981,7 @@ endif
 ifeq ($(SUBTARGET),mt7621)
 define Build/Compile
        rm -rf $(KDIR)/relocate
-       $(CP) ./relocate $(KDIR)
+       $(CP) ../../generic/image/relocate $(KDIR)
        $(MAKE) -C $(KDIR)/relocate KERNEL_ADDR=$(KERNEL_LOADADDR) CROSS_COMPILE=$(TARGET_CROSS)
 endef
 endif