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 041a250cdbe6767f290d046f583bcb5732bb89de..250a85ed84e2e343678bf9c44221bab7cec143e7 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 bb442025f54e71d407ac87499d3e9ffec4a161f6..e0320fac4904e22d83c97d260d46faf6c141d7e0 100644 (file)
@@ -69,6 +69,9 @@ config USES_UBIFS
 config PROFILE_KCONFIG
        bool
 
+config LOW_MEMORY_FOOTPRINT
+       bool
+
 config NOMMU
        bool