summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/image/nand.mk
diff options
context:
space:
mode:
authorPiotr Dymacz <pepe2k@gmail.com>2017-05-31 11:16:22 +0200
committerPiotr Dymacz <pepe2k@gmail.com>2017-06-11 21:21:45 +0200
commit3a3cd0ac4376657eccfe30fc2fdcc91acddb8f1d (patch)
tree3eb564a03e3fa94d8e94e75167f0ea90b1290f8a /target/linux/ar71xx/image/nand.mk
parentaf27dd1a51d0aa093e36971eafef4cbc9e1e01c3 (diff)
downloadmtk-20170518-3a3cd0ac4376657eccfe30fc2fdcc91acddb8f1d.zip
mtk-20170518-3a3cd0ac4376657eccfe30fc2fdcc91acddb8f1d.tar.gz
mtk-20170518-3a3cd0ac4376657eccfe30fc2fdcc91acddb8f1d.tar.bz2
ar71xx: image: keep DEVICE_VARS and Build/* at the beginning
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
Diffstat (limited to 'target/linux/ar71xx/image/nand.mk')
-rw-r--r--target/linux/ar71xx/image/nand.mk33
1 files changed, 17 insertions, 16 deletions
diff --git a/target/linux/ar71xx/image/nand.mk b/target/linux/ar71xx/image/nand.mk
index 3b8ce61..05e043f 100644
--- a/target/linux/ar71xx/image/nand.mk
+++ b/target/linux/ar71xx/image/nand.mk
@@ -1,3 +1,20 @@
+define Build/MerakiNAND
+ -$(STAGING_DIR_HOST)/bin/mkmerakifw \
+ -B $(BOARDNAME) -s \
+ -i $@ \
+ -o $@.new
+ @mv $@.new $@
+endef
+
+define Build/MerakiNAND-old
+ -$(STAGING_DIR_HOST)/bin/mkmerakifw-old \
+ -B $(BOARDNAME) -s \
+ -i $@ \
+ -o $@.new
+ @mv $@.new $@
+endef
+
+
define Device/c-60
DEVICE_TITLE := AirTight C-60
DEVICE_PACKAGES := kmod-spi-gpio kmod-usb-core kmod-usb2 kmod-ath9k
@@ -41,14 +58,6 @@ define Device/hiveap-121
endef
TARGET_DEVICES += hiveap-121
-define Build/MerakiNAND
- -$(STAGING_DIR_HOST)/bin/mkmerakifw \
- -B $(BOARDNAME) -s \
- -i $@ \
- -o $@.new
- @mv $@.new $@
-endef
-
define Device/mr18
DEVICE_TITLE := Meraki MR18
DEVICE_PACKAGES := kmod-spi-gpio kmod-ath9k
@@ -62,14 +71,6 @@ define Device/mr18
endef
TARGET_DEVICES += mr18
-define Build/MerakiNAND-old
- -$(STAGING_DIR_HOST)/bin/mkmerakifw-old \
- -B $(BOARDNAME) -s \
- -i $@ \
- -o $@.new
- @mv $@.new $@
-endef
-
define Device/rambutan
DEVICE_TITLE := 8devices Rambutan
DEVICE_PACKAGES := kmod-usb-core kmod-usb2