ramips: move ravpower-wd009-factory recipe to mt76x8.mk
authorAdrian Schmutzler <[email protected]>
Fri, 11 Sep 2020 16:26:38 +0000 (18:26 +0200)
committerAdrian Schmutzler <[email protected]>
Fri, 11 Sep 2020 16:40:44 +0000 (18:40 +0200)
The recipe is only used for a single device, so put it in the
subtarget file.

Signed-off-by: Adrian Schmutzler <[email protected]>
target/linux/ramips/image/Makefile
target/linux/ramips/image/mt76x8.mk

index bcd46d88a811bd9704dbc7788394dcb45df12361..309ccbdf90adf7d7bbdc12cff4506e946ae1c803 100644 (file)
@@ -122,12 +122,6 @@ define Build/poray-header
        mv [email protected] $@
 endef
 
-define Build/ravpower-wd009-factory
-       mkimage -A mips -T standalone -C none -a 0x80010000 -e 0x80010000 -n "OpenWrt Bootloader" -d $(UBOOT_PATH) [email protected]
-       cat $@ >> [email protected]
-       @mv [email protected] $@
-endef
-
 define Build/relocate-kernel
        rm -rf [email protected]
        $(CP) ../../generic/image/relocate [email protected]
index 4e30100c633e2006ce90aed1b33887013524d832..326dcd82bb8b5ab0fe4e4b57ffb93493b610a3df 100644 (file)
@@ -6,6 +6,14 @@ include ./common-tp-link.mk
 
 DEFAULT_SOC := mt7628an
 
+define Build/ravpower-wd009-factory
+       mkimage -A mips -T standalone -C none -a 0x80010000 -e 0x80010000 \
+               -n "OpenWrt Bootloader" -d $(UBOOT_PATH) [email protected]
+       cat $@ >> [email protected]
+       @mv [email protected] $@
+endef
+
+
 define Device/alfa-network_awusfree1
   IMAGE_SIZE := 7872k
   DEVICE_VENDOR := ALFA Network