summaryrefslogtreecommitdiff
path: root/target/linux/ramips/image
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2016-05-11 12:54:41 +0200
committerJohn Crispin <john@phrozen.org>2016-05-12 03:29:36 +0200
commitecbaaa401a98c7bf94e3e06373fea414c7a27d3e (patch)
tree8fe14ad55d187667305ddd5f1d99ec8e3f78cb28 /target/linux/ramips/image
parent0f12f329966e064bd0eda38f36d1a1c0bf25693f (diff)
downloadmtk-20170518-ecbaaa401a98c7bf94e3e06373fea414c7a27d3e.zip
mtk-20170518-ecbaaa401a98c7bf94e3e06373fea414c7a27d3e.tar.gz
mtk-20170518-ecbaaa401a98c7bf94e3e06373fea414c7a27d3e.tar.bz2
ramips: convert mt7688 to new image building code
Signed-off-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'target/linux/ramips/image')
-rw-r--r--target/linux/ramips/image/mt7688.mk18
1 files changed, 13 insertions, 5 deletions
diff --git a/target/linux/ramips/image/mt7688.mk b/target/linux/ramips/image/mt7688.mk
index 45991d0..b3860ef 100644
--- a/target/linux/ramips/image/mt7688.mk
+++ b/target/linux/ramips/image/mt7688.mk
@@ -2,10 +2,18 @@
# MT7688 Profiles
#
-Image/Build/Profile/LinkIt7688=$(call BuildFirmware/Default32M/$(1),$(1),LinkIt7688,LINKIT7688)
-Image/Build/Profile/WRTNODE2R=$(call BuildFirmware/Default16M/$(1),$(1),wrtnode2r,WRTNODE2R)
+define Device/LinkIt7688
+ DTS := LINKIT7688
+ IMAGE_SIZE := $(ralink_default_fw_size_32M)
+ DEVICE_TITLE := MediaTek LinkIt Smart 7688
+ DEVICE_PACKAGES:= kmod-usb2 kmod-usb-ohci uboot-envtools
+endef
+TARGET_DEVICES += LinkIt7688
-define Image/Build/Profile/Default
- $(call Image/Build/Profile/LinkIt7688,$(1))
- $(call Image/Build/Profile/WRTNODE2R,$(1))
+define Device/wrtnode2r
+ DTS := WRTNODE2R
+ IMAGE_SIZE := $(ralink_default_fw_size_16M)
+ DEVICE_TITLE := WRTnode 2R
+ DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
endef
+TARGET_DEVICES += wrtnode2r