mirror of https://github.com/hak5/openwrt-owl.git
config: add a small_flash feature
this causes KALLSYMS to be off by default Signed-off-by: John Crispin <john@phrozen.org>owl
parent
d57990e071
commit
30acacb0af
|
@ -62,7 +62,7 @@ config KERNEL_PROFILING
|
||||||
|
|
||||||
config KERNEL_KALLSYMS
|
config KERNEL_KALLSYMS
|
||||||
bool "Compile the kernel with symbol table information"
|
bool "Compile the kernel with symbol table information"
|
||||||
default y
|
default y if !SMALL_FLASH
|
||||||
help
|
help
|
||||||
This will give you more information in stack traces from kernel oopses.
|
This will give you more information in stack traces from kernel oopses.
|
||||||
|
|
||||||
|
|
|
@ -36,6 +36,7 @@ sub target_config_features(@) {
|
||||||
/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";
|
/low_mem/ and $ret .= "\tselect LOW_MEMORY_FOOTPRINT\n";
|
||||||
|
/small_flash/ and $ret .= "\tselect SMALL_FLASH\n";
|
||||||
/nand/ and $ret .= "\tselect NAND_SUPPORT\n";
|
/nand/ and $ret .= "\tselect NAND_SUPPORT\n";
|
||||||
}
|
}
|
||||||
return $ret;
|
return $ret;
|
||||||
|
|
|
@ -70,6 +70,9 @@ config USES_UBIFS
|
||||||
config LOW_MEMORY_FOOTPRINT
|
config LOW_MEMORY_FOOTPRINT
|
||||||
bool
|
bool
|
||||||
|
|
||||||
|
config SMALL_FLASH
|
||||||
|
bool
|
||||||
|
|
||||||
config NOMMU
|
config NOMMU
|
||||||
bool
|
bool
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue