aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2013-06-05 20:58:03 +0000
committerJonas Gorski <jogo@openwrt.org>2013-06-05 20:58:03 +0000
commit982f0f338647610336671a268190ea7d98410bcd (patch)
tree13e60add6dc6841d2c73fc7642f002f26d07e830 /scripts
parente14fd898ae542b711502b25033e3b7746dc5ad53 (diff)
downloadmaster-187ad058-982f0f338647610336671a268190ea7d98410bcd.tar.gz
master-187ad058-982f0f338647610336671a268190ea7d98410bcd.tar.bz2
master-187ad058-982f0f338647610336671a268190ea7d98410bcd.zip
target: split jffs2 NAND out of jffs2
Make jffs2_nand a separate option so this can be triggered without forcing jffs2 images for nor targets. Adds a new NAND_BLOCKSIZE variable that allows setting the generated layout in <page_size>:<block_size> pairs. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36860 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/metadata.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/metadata.pl b/scripts/metadata.pl
index 13abcb2937..ade86c867c 100755
--- a/scripts/metadata.pl
+++ b/scripts/metadata.pl
@@ -165,7 +165,8 @@ sub target_config_features(@) {
/pcmcia/ and $ret .= "\tselect PCMCIA_SUPPORT\n";
/rtc/ and $ret .= "\tselect RTC_SUPPORT\n";
/squashfs/ and $ret .= "\tselect USES_SQUASHFS\n";
- /jffs2/ and $ret .= "\tselect USES_JFFS2\n";
+ /jffs2$/ and $ret .= "\tselect USES_JFFS2\n";
+ /jffs2_nand/ and $ret .= "\tselect USES_JFFS2_NAND\n";
/ext4/ and $ret .= "\tselect USES_EXT4\n";
/targz/ and $ret .= "\tselect USES_TARGZ\n";
/cpiogz/ and $ret .= "\tselect USES_CPIOGZ\n";