summaryrefslogtreecommitdiff
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
commit9f7ef8d5f0199f12abfd4b1c50d0bfe8484471d7 (patch)
tree61616130c04546b9b2186aa5478544752d45e25b /scripts
parent29464f136704010ab454730a90d28bf72fc65c20 (diff)
downloadmtk-20170518-9f7ef8d5f0199f12abfd4b1c50d0bfe8484471d7.zip
mtk-20170518-9f7ef8d5f0199f12abfd4b1c50d0bfe8484471d7.tar.gz
mtk-20170518-9f7ef8d5f0199f12abfd4b1c50d0bfe8484471d7.tar.bz2
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> SVN-Revision: 36860
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 13abcb2..ade86c8 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";