Sfoglia il codice sorgente

ramips: move ravpower-wd009-factory recipe to mt76x8.mk

The recipe is only used for a single device, so put it in the
subtarget file.

Signed-off-by: Adrian Schmutzler <[email protected]>
Adrian Schmutzler 5 anni fa
parent
commit
4527f59428

+ 0 - 6
target/linux/ramips/image/Makefile

@@ -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]

+ 8 - 0
target/linux/ramips/image/mt76x8.mk

@@ -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