aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/image/mt76x8.mk
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-09-11 18:26:38 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-09-11 18:40:44 +0200
commit4527f59428954ca07bebbfd339de504e5babf8e5 (patch)
tree98d9ae66e583c6f648154bdeac6e84a85b5c6fd1 /target/linux/ramips/image/mt76x8.mk
parent2e6c236abd0bebe82bf9020941f34344acb3ae1f (diff)
downloadupstream-4527f59428954ca07bebbfd339de504e5babf8e5.tar.gz
upstream-4527f59428954ca07bebbfd339de504e5babf8e5.tar.bz2
upstream-4527f59428954ca07bebbfd339de504e5babf8e5.zip
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 <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ramips/image/mt76x8.mk')
-rw-r--r--target/linux/ramips/image/mt76x8.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/ramips/image/mt76x8.mk b/target/linux/ramips/image/mt76x8.mk
index 4e30100c63..326dcd82bb 100644
--- a/target/linux/ramips/image/mt76x8.mk
+++ b/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) $@.new
+ cat $@ >> $@.new
+ @mv $@.new $@
+endef
+
+
define Device/alfa-network_awusfree1
IMAGE_SIZE := 7872k
DEVICE_VENDOR := ALFA Network