build: add a feature flag for low-memory systems
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40980
This commit is contained in:
parent
5eecccd75e
commit
b24897ee5c
2 changed files with 4 additions and 0 deletions
|
@ -183,6 +183,7 @@ sub target_config_features(@) {
|
||||||
/nommu/ and $ret .= "\tselect NOMMU\n";
|
/nommu/ and $ret .= "\tselect NOMMU\n";
|
||||||
/mips16/ and $ret .= "\tselect HAS_MIPS16\n";
|
/mips16/ and $ret .= "\tselect HAS_MIPS16\n";
|
||||||
/rfkill/ and $ret .= "\tselect RFKILL_SUPPORT\n";
|
/rfkill/ and $ret .= "\tselect RFKILL_SUPPORT\n";
|
||||||
|
/low_mem/ and $ret .= "\tselect LOW_MEMORY_FOOTPRINT\n";
|
||||||
}
|
}
|
||||||
return $ret;
|
return $ret;
|
||||||
}
|
}
|
||||||
|
|
|
@ -69,6 +69,9 @@ config USES_UBIFS
|
||||||
config PROFILE_KCONFIG
|
config PROFILE_KCONFIG
|
||||||
bool
|
bool
|
||||||
|
|
||||||
|
config LOW_MEMORY_FOOTPRINT
|
||||||
|
bool
|
||||||
|
|
||||||
config NOMMU
|
config NOMMU
|
||||||
bool
|
bool
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue