aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2016-06-13 21:35:03 +0200
committerJohn Crispin <john@phrozen.org>2016-06-13 22:51:43 +0200
commit30acacb0afc6255ae68bc4f3ae4365a8ec46f353 (patch)
tree2ca7c65a2a9222b2eb648746b72cf05e319de678
parentd57990e071d818f84906e314bbf26b6225c2d70c (diff)
downloadupstream-30acacb0afc6255ae68bc4f3ae4365a8ec46f353.tar.gz
upstream-30acacb0afc6255ae68bc4f3ae4365a8ec46f353.tar.bz2
upstream-30acacb0afc6255ae68bc4f3ae4365a8ec46f353.zip
config: add a small_flash feature
this causes KALLSYMS to be off by default Signed-off-by: John Crispin <john@phrozen.org>
-rw-r--r--config/Config-kernel.in2
-rwxr-xr-xscripts/target-metadata.pl1
-rw-r--r--target/Config.in3
3 files changed, 5 insertions, 1 deletions
diff --git a/config/Config-kernel.in b/config/Config-kernel.in
index 4c191f0955..b05ff23694 100644
--- a/config/Config-kernel.in
+++ b/config/Config-kernel.in
@@ -62,7 +62,7 @@ config KERNEL_PROFILING
config KERNEL_KALLSYMS
bool "Compile the kernel with symbol table information"
- default y
+ default y if !SMALL_FLASH
help
This will give you more information in stack traces from kernel oopses.
diff --git a/scripts/target-metadata.pl b/scripts/target-metadata.pl
index 34a7c22ce6..ea6462c94f 100755
--- a/scripts/target-metadata.pl
+++ b/scripts/target-metadata.pl
@@ -36,6 +36,7 @@ sub target_config_features(@) {
/mips16/ and $ret .= "\tselect HAS_MIPS16\n";
/rfkill/ and $ret .= "\tselect RFKILL_SUPPORT\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";
}
return $ret;
diff --git a/target/Config.in b/target/Config.in
index 3dc8655252..843fbeeb88 100644
--- a/target/Config.in
+++ b/target/Config.in
@@ -70,6 +70,9 @@ config USES_UBIFS
config LOW_MEMORY_FOOTPRINT
bool
+config SMALL_FLASH
+ bool
+
config NOMMU
bool