ramips: move relocating loader to common location

Allow other targets to use it, too.

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

SVN-Revision: 45162
v19.07.3_mercusys_ac12_duma
Jonas Gorski 9 years ago
parent 3129f0c6f2
commit 703c41cf01

@ -981,7 +981,7 @@ endif
ifeq ($(SUBTARGET),mt7621) ifeq ($(SUBTARGET),mt7621)
define Build/Compile define Build/Compile
rm -rf $(KDIR)/relocate rm -rf $(KDIR)/relocate
$(CP) ./relocate $(KDIR) $(CP) ../../generic/image/relocate $(KDIR)
$(MAKE) -C $(KDIR)/relocate KERNEL_ADDR=$(KERNEL_LOADADDR) CROSS_COMPILE=$(TARGET_CROSS) $(MAKE) -C $(KDIR)/relocate KERNEL_ADDR=$(KERNEL_LOADADDR) CROSS_COMPILE=$(TARGET_CROSS)
endef endef
endif endif

Loading…
Cancel
Save