From: Felix Fietkau Date: Mon, 2 Jun 2014 17:04:38 +0000 (+0000) Subject: build: add a feature flag for low-memory systems X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b24897ee5c53b6488d1b984b63ab65220e486ed7;p=openwrt%2Fstaging%2Fmkresin.git build: add a feature flag for low-memory systems Signed-off-by: Felix Fietkau SVN-Revision: 40980 --- 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