aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/image
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-10-19 10:07:38 +0000
committerJohn Crispin <blogic@openwrt.org>2015-10-19 10:07:38 +0000
commit8d5e529d09bc777828ee65eb3888dd4aea1dc471 (patch)
treef312e3032a825e8dc36535f280bb9f4f6453cd8d /target/linux/ramips/image
parent765d67d621dabbe68dd939476e6777226f96cbd9 (diff)
downloadmaster-187ad058-8d5e529d09bc777828ee65eb3888dd4aea1dc471.tar.gz
master-187ad058-8d5e529d09bc777828ee65eb3888dd4aea1dc471.tar.bz2
master-187ad058-8d5e529d09bc777828ee65eb3888dd4aea1dc471.zip
ramips: add LinkIt Smart7688 support
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47203 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/image')
-rw-r--r--target/linux/ramips/image/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile
index 117e07d4ef..c66409d75f 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
@@ -1014,10 +1018,12 @@ endif
#
Image/Build/Profile/mt7688=$(call BuildFirmware/Default16M/$(1),$(1),mt7688,MT7688)
+Image/Build/Profile/LinkIt7688=$(call BuildFirmware/Default32M/$(1),$(1),LinkIt7688,LINKIT7688)
ifeq ($(SUBTARGET),mt7688)
define Image/Build/Profile/Default
$(call Image/Build/Profile/mt7688,$(1))
+ $(call Image/Build/Profile/LinkIt7688,$(1))
endef
endif