diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-06-02 17:04:38 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-06-02 17:04:38 +0000 |
commit | b24897ee5c53b6488d1b984b63ab65220e486ed7 (patch) | |
tree | 3393a7c0deebca29987752e0cf9bae86b4283221 | |
parent | 5eecccd75edc9a5adbdf966a6a87f46695aa72a9 (diff) | |
download | upstream-b24897ee5c53b6488d1b984b63ab65220e486ed7.tar.gz upstream-b24897ee5c53b6488d1b984b63ab65220e486ed7.tar.bz2 upstream-b24897ee5c53b6488d1b984b63ab65220e486ed7.zip |
build: add a feature flag for low-memory systems
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40980
-rwxr-xr-x | scripts/metadata.pl | 1 | ||||
-rw-r--r-- | target/Config.in | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/scripts/metadata.pl b/scripts/metadata.pl index 041a250cdb..250a85ed84 100755 --- a/scripts/metadata.pl +++ b/scripts/metadata.pl @@ -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; } diff --git a/target/Config.in b/target/Config.in index bb442025f5..e0320fac49 100644 --- a/target/Config.in +++ b/target/Config.in @@ -69,6 +69,9 @@ config USES_UBIFS config PROFILE_KCONFIG bool +config LOW_MEMORY_FOOTPRINT + bool + config NOMMU bool |