ramips: move relocating loader to common location

Allow other targets to use it, too.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45162 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Jonas Gorski 2015-03-30 20:20:08 +00:00
parent 0d349dc5fe
commit 5c7193d17b
6 changed files with 1 additions and 1 deletions

View 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