build: add a feature flag for low-memory systems
authorFelix Fietkau <nbd@openwrt.org>
Mon, 2 Jun 2014 17:04:38 +0000 (17:04 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 2 Jun 2014 17:04:38 +0000 (17:04 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40980

scripts/metadata.pl
target/Config.in

index 041a250..250a85e 100755 (executable)
@@ -183,6 +183,7 @@ sub target_config_features(@) {
                /nommu/ and $ret .= "\tselect NOMMU\n";
                /mips16/ and $ret .= "\tselect HAS_MIPS16\n";
                /rfkill/ and $ret .= "\tselect RFKILL_SUPPORT\n";
+               /low_mem/ and $ret .= "\tselect LOW_MEMORY_FOOTPRINT\n";
        }
        return $ret;
 }
index bb44202..e0320fa 100644 (file)
@@ -69,6 +69,9 @@ config USES_UBIFS
 config PROFILE_KCONFIG
        bool
 
+config LOW_MEMORY_FOOTPRINT
+       bool
+
 config NOMMU
        bool