aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/image/mt7688.mk
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2016-04-01 07:11:48 +0000
committerJohn Crispin <john@openwrt.org>2016-04-01 07:11:48 +0000
commit79d02229cc12c415007ec4346425016622ec449b (patch)
tree15f41cd0e3d0073858f4e4f4d971ae7ab3dd0f46 /target/linux/ramips/image/mt7688.mk
parent12334f58fe6370441fcfe90b9dd917b33bb127dc (diff)
downloadupstream-79d02229cc12c415007ec4346425016622ec449b.tar.gz
upstream-79d02229cc12c415007ec4346425016622ec449b.tar.bz2
upstream-79d02229cc12c415007ec4346425016622ec449b.zip
ramips: move different subtarget image generation to separate makefiles to improve maintainability
- all subtarget specific defines are in their own files - common defines left in main Makefile - each subtarget makefile idefed with SUBTARGET - all subtargets compile tested - few seems to be broken/unneeded things marked with FIXME Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 49104
Diffstat (limited to 'target/linux/ramips/image/mt7688.mk')
-rw-r--r--target/linux/ramips/image/mt7688.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/ramips/image/mt7688.mk b/target/linux/ramips/image/mt7688.mk
new file mode 100644
index 0000000000..45991d0874
--- /dev/null
+++ b/target/linux/ramips/image/mt7688.mk
@@ -0,0 +1,11 @@
+#
+# 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 Image/Build/Profile/Default
+ $(call Image/Build/Profile/LinkIt7688,$(1))
+ $(call Image/Build/Profile/WRTNODE2R,$(1))
+endef