summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-06-11 12:59:22 +0000
committerJohn Crispin <john@openwrt.org>2014-06-11 12:59:22 +0000
commitac5d5cbc795bc618dc426ac3631c88f4e73eaff5 (patch)
treebf670156337e54f3463fe1a3aed50a695d30f7dd
parent28a563dec3e8106022535c85537f955b6f2c8161 (diff)
downloadmtk-20170518-ac5d5cbc795bc618dc426ac3631c88f4e73eaff5.zip
mtk-20170518-ac5d5cbc795bc618dc426ac3631c88f4e73eaff5.tar.gz
mtk-20170518-ac5d5cbc795bc618dc426ac3631c88f4e73eaff5.tar.bz2
kernel: add a NAND_SUPPORT symbol
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41122
-rwxr-xr-xscripts/metadata.pl1
-rw-r--r--target/Config.in4
-rw-r--r--target/linux/imx6/Makefile2
-rw-r--r--target/linux/kirkwood/Makefile2
-rw-r--r--target/linux/lantiq/Makefile2
-rw-r--r--target/linux/lantiq/xrx200/target.mk2
-rw-r--r--target/linux/lantiq/xway/target.mk2
-rw-r--r--target/linux/omap/Makefile2
-rw-r--r--target/linux/xburst/Makefile2
9 files changed, 12 insertions, 7 deletions
diff --git a/scripts/metadata.pl b/scripts/metadata.pl
index 250a85e..eed1998 100755
--- a/scripts/metadata.pl
+++ b/scripts/metadata.pl
@@ -184,6 +184,7 @@ sub target_config_features(@) {
/mips16/ and $ret .= "\tselect HAS_MIPS16\n";
/rfkill/ and $ret .= "\tselect RFKILL_SUPPORT\n";
/low_mem/ and $ret .= "\tselect LOW_MEMORY_FOOTPRINT\n";
+ /nand/ and $ret .= "\tselect NAND_SUPPORT\n";
}
return $ret;
}
diff --git a/target/Config.in b/target/Config.in
index e0320fa..14dec6d 100644
--- a/target/Config.in
+++ b/target/Config.in
@@ -65,6 +65,7 @@ config USES_CPIOGZ
config USES_UBIFS
bool
+ select NAND_SUPPORT
config PROFILE_KCONFIG
bool
@@ -82,6 +83,9 @@ config HAS_MIPS16
config RFKILL_SUPPORT
bool
+config NAND_SUPPORT
+ bool
+
config ARCH_64BIT
bool
diff --git a/target/linux/imx6/Makefile b/target/linux/imx6/Makefile
index 526ed2b..a4660c5 100644
--- a/target/linux/imx6/Makefile
+++ b/target/linux/imx6/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
ARCH:=arm
BOARD:=imx6
BOARDNAME:=Freescale i.MX 6
-FEATURES:=audio display fpu gpio pcie rtc usb usbgadget squashfs targz ubifs
+FEATURES:=audio display fpu gpio pcie rtc usb usbgadget squashfs targz nand ubifs
CPU_TYPE:=cortex-a9
CPU_SUBTYPE:=neon
MAINTAINER:=Luka Perkov <luka@openwrt.org>
diff --git a/target/linux/kirkwood/Makefile b/target/linux/kirkwood/Makefile
index a14cf77..aeceb13 100644
--- a/target/linux/kirkwood/Makefile
+++ b/target/linux/kirkwood/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
ARCH:=arm
BOARD:=kirkwood
BOARDNAME:=Marvell Kirkwood
-FEATURES:=targz usb jffs2_nand ubifs
+FEATURES:=targz usb jffs2_nand nand ubifs
CPU_TYPE:=xscale
MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
diff --git a/target/linux/lantiq/Makefile b/target/linux/lantiq/Makefile
index 65839eb..c59e906 100644
--- a/target/linux/lantiq/Makefile
+++ b/target/linux/lantiq/Makefile
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
BOARD:=lantiq
BOARDNAME:=Lantiq
-FEATURES:=squashfs ubifs
+FEATURES:=squashfs
SUBTARGETS=xway xrx200
LINUX_VERSION:=3.10.36
diff --git a/target/linux/lantiq/xrx200/target.mk b/target/linux/lantiq/xrx200/target.mk
index 0c64668..726f79b 100644
--- a/target/linux/lantiq/xrx200/target.mk
+++ b/target/linux/lantiq/xrx200/target.mk
@@ -1,7 +1,7 @@
ARCH:=mips
SUBTARGET:=xrx200
BOARDNAME:=XRX200
-FEATURES:=squashfs atm mips16 jffs2 ubifs
+FEATURES:=squashfs atm mips16 jffs2 nand ubifs
CPU_TYPE:=34kc
CPU_SUBTYPE:=dsp
diff --git a/target/linux/lantiq/xway/target.mk b/target/linux/lantiq/xway/target.mk
index 390eb2a..e8a2874 100644
--- a/target/linux/lantiq/xway/target.mk
+++ b/target/linux/lantiq/xway/target.mk
@@ -1,7 +1,7 @@
ARCH:=mips
SUBTARGET:=xway
BOARDNAME:=XWAY
-FEATURES:=squashfs atm mips16 jffs2_nand ubifs
+FEATURES:=squashfs atm mips16 jffs2_nand nand ubifs
CPU_TYPE:=34kc
CPU_SUBTYPE:=dsp
diff --git a/target/linux/omap/Makefile b/target/linux/omap/Makefile
index 3d0297e..5795c00 100644
--- a/target/linux/omap/Makefile
+++ b/target/linux/omap/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
ARCH:=arm
BOARD:=omap
BOARDNAME:=TI OMAP3/4/AM33xx
-FEATURES:=usb usbgadget ext4 targz fpu audio display ubifs
+FEATURES:=usb usbgadget ext4 targz fpu audio display nand ubifs
CPU_TYPE:=cortex-a9
CPU_SUBTYPE:=vfpv3
diff --git a/target/linux/xburst/Makefile b/target/linux/xburst/Makefile
index 12ae873..259ffb9 100644
--- a/target/linux/xburst/Makefile
+++ b/target/linux/xburst/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
ARCH:=mipsel
BOARD:=xburst
BOARDNAME:=Ingenic XBurst
-FEATURES:=targz ubifs audio
+FEATURES:=targz nand ubifs audio
SUBTARGETS:=qi_lb60 n516 n526 id800wt
LINUX_VERSION:=3.10.36