[OpenWrt-Devel] [PATCH V2 1/2] brcm47xx: image: prepare for using mips74k subtarget

Rafał Miłecki zajec5 at gmail.com
Sun Jul 6 10:01:41 EDT 2014


Signed-off-by: Rafał Miłecki <zajec5 at gmail.com>
---
 target/linux/brcm47xx/image/Makefile | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

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
 #################################################
 
-- 
1.8.4.5
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list