From 78ca6a5578d6c7b06ca520b0aac965a1babf5417 Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Fri, 30 Nov 2018 08:57:03 +0100 Subject: ramips: merge relocate compile into build recipe Compile the loader if the relocate-kernel image recipe is used and get rid of the legacy build code to do so. Signed-off-by: Mathias Kresin --- target/linux/ramips/image/mt7621.mk | 9 --------- 1 file changed, 9 deletions(-) (limited to 'target/linux/ramips/image/mt7621.mk') diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk index 6a04cd0e38..92bdbcf743 100644 --- a/target/linux/ramips/image/mt7621.mk +++ b/target/linux/ramips/image/mt7621.mk @@ -558,12 +558,3 @@ define Device/zbt-wg3526-32M kmod-usb3 kmod-usb-ledtrig-usbport wpad-basic endef TARGET_DEVICES += zbt-wg3526-32M - -# FIXME: is this still needed? -define Image/Prepare -#define Build/Compile - rm -rf $(KDIR)/relocate - $(CP) ../../generic/image/relocate $(KDIR) - $(MAKE) -C $(KDIR)/relocate KERNEL_ADDR=$(KERNEL_LOADADDR) CROSS_COMPILE=$(TARGET_CROSS) - $(CP) $(KDIR)/relocate/loader.bin $(KDIR)/loader.bin -endef -- cgit v1.2.3