The recipe is only used for a single device, so put it in the
subtarget file.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
mv $@.new $@
endef
-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 Build/relocate-kernel
rm -rf $@.relocate
$(CP) ../../generic/image/relocate $@.relocate
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