diff options
author | John Crispin <blogic@openwrt.org> | 2016-04-01 07:11:48 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2016-04-01 07:11:48 +0000 |
commit | 04c82ebd6162aa44c20bfc95fe651021c451870a (patch) | |
tree | 949994aee62a0ccbeb0aced96cb8db38a8a9fdd9 /target/linux/ramips/image/mt7628.mk | |
parent | 051ccad5d032beaa857edbb83190db89ff118abb (diff) | |
download | master-187ad058-04c82ebd6162aa44c20bfc95fe651021c451870a.tar.gz master-187ad058-04c82ebd6162aa44c20bfc95fe651021c451870a.tar.bz2 master-187ad058-04c82ebd6162aa44c20bfc95fe651021c451870a.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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49104 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/image/mt7628.mk')
-rw-r--r-- | target/linux/ramips/image/mt7628.mk | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/target/linux/ramips/image/mt7628.mk b/target/linux/ramips/image/mt7628.mk new file mode 100644 index 0000000000..1e6b06c82c --- /dev/null +++ b/target/linux/ramips/image/mt7628.mk @@ -0,0 +1,17 @@ +# +# MT7628 Profiles +# + +Image/Build/Profile/MIWIFI-NANO=$(call BuildFirmware/Default16M/$(1),$(1),miwifi-nano,MIWIFI-NANO) +Image/Build/Profile/MT7628=$(call BuildFirmware/Default4M/$(1),$(1),mt7628,MT7628) +Image/Build/Profile/WRTNODE2P=$(call BuildFirmware/Default16M/$(1),$(1),wrtnode2p,WRTNODE2P) + +define Image/Build/Profile/Default + $(call Image/Build/Profile/MIWIFI-NANO,$(1)) + $(call Image/Build/Profile/MT7628,$(1)) + $(call Image/Build/Profile/WRTNODE2P,$(1)) +endef + +define Image/Build/Profile/MiwifiNano + $(call Image/Build/Profile/MIWIFI-NANO,$(1)) +endef |