From 703c41cf01f9ab00dc63d400bdfec45a7f4d4c6f Mon Sep 17 00:00:00 2001 From: Jonas Gorski Date: Mon, 30 Mar 2015 20:20:08 +0000 Subject: [PATCH] ramips: move relocating loader to common location Allow other targets to use it, too. Signed-off-by: Jonas Gorski SVN-Revision: 45162 --- target/linux/{ramips => generic}/image/relocate/Makefile | 0 target/linux/{ramips => generic}/image/relocate/cacheops.h | 0 target/linux/{ramips => generic}/image/relocate/cp0regdef.h | 0 target/linux/{ramips => generic}/image/relocate/head.S | 0 target/linux/{ramips => generic}/image/relocate/loader.lds | 0 target/linux/ramips/image/Makefile | 2 +- 6 files changed, 1 insertion(+), 1 deletion(-) rename target/linux/{ramips => generic}/image/relocate/Makefile (100%) rename target/linux/{ramips => generic}/image/relocate/cacheops.h (100%) rename target/linux/{ramips => generic}/image/relocate/cp0regdef.h (100%) rename target/linux/{ramips => generic}/image/relocate/head.S (100%) rename target/linux/{ramips => generic}/image/relocate/loader.lds (100%) 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 -- 2.30.2