From b24897ee5c53b6488d1b984b63ab65220e486ed7 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 2 Jun 2014 17:04:38 +0000 Subject: [PATCH] build: add a feature flag for low-memory systems Signed-off-by: Felix Fietkau SVN-Revision: 40980 --- scripts/metadata.pl | 1 + target/Config.in | 3 +++ 2 files changed, 4 insertions(+) diff --git a/scripts/metadata.pl b/scripts/metadata.pl index 041a250cdbe..250a85ed84e 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 bb442025f54..e0320fac490 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 -- 2.30.2