diff --git a/target/linux/ramips/image/relocate/Makefile b/target/linux/generic/image/relocate/Makefile similarity index 100% rename from target/linux/ramips/image/relocate/Makefile rename to target/linux/generic/image/relocate/Makefile diff --git a/target/linux/ramips/image/relocate/cacheops.h b/target/linux/generic/image/relocate/cacheops.h similarity index 100% rename from target/linux/ramips/image/relocate/cacheops.h rename to target/linux/generic/image/relocate/cacheops.h diff --git a/target/linux/ramips/image/relocate/cp0regdef.h b/target/linux/generic/image/relocate/cp0regdef.h similarity index 100% rename from target/linux/ramips/image/relocate/cp0regdef.h rename to target/linux/generic/image/relocate/cp0regdef.h diff --git a/target/linux/ramips/image/relocate/head.S b/target/linux/generic/image/relocate/head.S similarity index 100% rename from target/linux/ramips/image/relocate/head.S rename to target/linux/generic/image/relocate/head.S diff --git a/target/linux/ramips/image/relocate/loader.lds b/target/linux/generic/image/relocate/loader.lds similarity index 100% rename from target/linux/ramips/image/relocate/loader.lds rename to target/linux/generic/image/relocate/loader.lds diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile index 45ae3a585a..14f6f1ef7e 100644 --- a/target/linux/ramips/image/Makefile +++ b/target/linux/ramips/image/Makefile @@ -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