aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-06-02 17:04:38 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-06-02 17:04:38 +0000
commitb24897ee5c53b6488d1b984b63ab65220e486ed7 (patch)
tree3393a7c0deebca29987752e0cf9bae86b4283221
parent5eecccd75edc9a5adbdf966a6a87f46695aa72a9 (diff)
downloadupstream-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-xscripts/metadata.pl1
-rw-r--r--target/Config.in3
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