aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/image
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-10-19 10:19:22 +0000
committerJohn Crispin <blogic@openwrt.org>2015-10-19 10:19:22 +0000
commitebff32ce9e793005ff6a54037bf02ea067a41569 (patch)
tree4d65207171a171f6bcc6cf814537b9baa6f3103a /target/linux/ramips/image
parent563f3a4cb7cdc56f3134144bdd59e24adcdd5e21 (diff)
downloadupstream-ebff32ce9e793005ff6a54037bf02ea067a41569.tar.gz
upstream-ebff32ce9e793005ff6a54037bf02ea067a41569.tar.bz2
upstream-ebff32ce9e793005ff6a54037bf02ea067a41569.zip
ramips: add LinkIt Smart7688 support
Signed-off-by: John Crispin <blogic@openwrt.org> Backport of r47203 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47227 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/image')
-rw-r--r--target/linux/ramips/image/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile
index 3bfbcd0b6d..b4d0897780 100644
--- a/target/linux/ramips/image/Makefile
+++ b/target/linux/ramips/image/Makefile
@@ -201,6 +201,10 @@ ralink_default_fw_size_16M=16121856
BuildFirmware/Default16M/squashfs=$(call BuildFirmware/OF,$(1),$(2),$(3),$(ralink_default_fw_size_16M),$(4))
BuildFirmware/Default16M/initramfs=$(call BuildFirmware/OF/initramfs,$(1),$(2),$(3),$(4))
+ralink_default_fw_size_32M=33226752
+BuildFirmware/Default32M/squashfs=$(call BuildFirmware/OF,$(1),$(2),$(3),$(ralink_default_fw_size_32M),$(4))
+BuildFirmware/Default32M/initramfs=$(call BuildFirmware/OF/initramfs,$(1),$(2),$(3),$(4))
+
# Build images for a custom sized flash layout
# $(1) = squashfs/initramfs
# $(2) = lowercase board name
@@ -982,6 +986,21 @@ define Image/Build/Profile/Default
endef
endif
+
+#
+# MT7688 Profiles
+#
+
+Image/Build/Profile/MT7688=$(call BuildFirmware/Default4M/$(1),$(1),mt7628,MT7628)
+Image/Build/Profile/LinkIt7688=$(call BuildFirmware/Default32M/$(1),$(1),LinkIt7688,LINKIT7688)
+
+ifeq ($(SUBTARGET),mt7628)
+define Image/Build/Profile/Default
+ $(call Image/Build/Profile/MT7688,$(1))
+ $(call Image/Build/Profile/LinkIt7688,$(1))
+endef
+endif
+
ifndef TARGET_DEVICES
#
# Generic Targets - only needed for legacy image building code