From d0c5408f5d7d9a25c9114e0fa4262326e3b941e2 Mon Sep 17 00:00:00 2001 From: hauke Date: Sun, 6 Jul 2014 17:14:06 +0000 Subject: [PATCH] brcm47xx: image: prepare for using mips74k subtarget MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Rafał Miłecki git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41528 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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 9f06e0f541..a5c7240c97 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 ################################################# -- 2.11.0