summaryrefslogtreecommitdiff
path: root/target/linux/brcm47xx/image/Makefile
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2014-07-06 17:14:06 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2014-07-06 17:14:06 +0000
commitc3b3df1da810cdb361acf5e87b56413df81f4fe7 (patch)
tree1028375d208a687ac363488a54b32261c4d1f001 /target/linux/brcm47xx/image/Makefile
parentdf8741f92b5e5520d3335eb7e2fea4942a924e81 (diff)
downloadmtk-20170518-c3b3df1da810cdb361acf5e87b56413df81f4fe7.zip
mtk-20170518-c3b3df1da810cdb361acf5e87b56413df81f4fe7.tar.gz
mtk-20170518-c3b3df1da810cdb361acf5e87b56413df81f4fe7.tar.bz2
brcm47xx: image: prepare for using mips74k subtarget
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 41528
Diffstat (limited to 'target/linux/brcm47xx/image/Makefile')
-rw-r--r--target/linux/brcm47xx/image/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/target/linux/brcm47xx/image/Makefile b/target/linux/brcm47xx/image/Makefile
index 9f06e0f..a5c7240 100644
--- a/target/linux/brcm47xx/image/Makefile
+++ b/target/linux/brcm47xx/image/Makefile
@@ -164,6 +164,26 @@ define Image/Build/generic/squashfs
endef
#################################################
+# Subtarget mips74k
+#################################################
+
+# $(1): filesystem type.
+define Image/Build/mips74k/jffs2-64k
+ $(call Image/Build/mips74k/devices-with-64k-blocks,$(1))
+endef
+
+# $(1): filesystem type.
+define Image/Build/mips74k/jffs2-128k
+ $(call Image/Build/mips74k/devices-with-128k-blocks,$(1))
+endef
+
+# $(1): filesystem type.
+define Image/Build/mips74k/squashfs
+ $(call Image/Build/mips74k/devices-with-64k-blocks,$(1))
+ $(call Image/Build/mips74k/devices-with-128k-blocks,$(1))
+endef
+
+#################################################
# Shared BuildImage defines
#################################################