build: add a feature flag for low-memory systems
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 2 Jun 2014 17:04:38 +0000 (17:04 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 2 Jun 2014 17:04:38 +0000 (17:04 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40980 3c298f89-4303-0410-b956-a3cf2f4a3e73

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