build: add a feature flag for low-memory systems
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40980 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
b1a6441f0d
commit
27eceb714b
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…
Add table
Add a link
Reference in a new issue