summaryrefslogtreecommitdiffstats
path: root/Config.in
diff options
context:
space:
mode:
authorThomas De Schampheleire <patrickdepinguin+buildroot@gmail.com>2012-06-21 19:34:50 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-06-23 23:14:59 +0200
commit2a97045d5daeb7cb7222f1ffe0532930d5b3140d (patch)
treef4d8dcdba91dbff98aef7a2f93b0fd10d703e660 /Config.in
parent75f18de67e7bc7f1feb360eb4201a3c6d6773698 (diff)
downloadbuildroot-novena-2a97045d5daeb7cb7222f1ffe0532930d5b3140d.tar.gz
buildroot-novena-2a97045d5daeb7cb7222f1ffe0532930d5b3140d.zip
build: add option to exclude executables/dirs from being stripped
Sometimes it may be desirable to keep debug symbols for some binaries and libraries on the target. This commit introduces the config option BR2_STRIP_EXCLUDE_FILES, which is interpreted as a list of such binaries and libraries, and the option BR2_STRIP_EXCLUDE_DIRS, which indicates directories excluded from stripping entirely. These exclusions are passed to the find command in the target-finalize step. Signed-off-by: Sven Neumann <s.neumann@raumfeld.com> Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'Config.in')
-rw-r--r--Config.in19
1 files changed, 19 insertions, 0 deletions
diff --git a/Config.in b/Config.in
index 95c2e8ca3..83f64bb67 100644
--- a/Config.in
+++ b/Config.in
@@ -283,6 +283,25 @@ config BR2_STRIP_none
filesystem.
endchoice
+config BR2_STRIP_EXCLUDE_FILES
+ string "executables that should not be stripped"
+ depends on !BR2_STRIP_none
+ default ""
+ help
+ You may specify a space-separated list of binaries and libraries
+ here that should not be stripped on the target.
+
+config BR2_STRIP_EXCLUDE_DIRS
+ string "directories that should be skipped when stripping"
+ depends on !BR2_STRIP_none
+ default ""
+ help
+ You may specify a space-separated list of directories that should
+ be skipped when stripping. Binaries and libraries in these
+ directories will not be touched.
+ The directories should be specified relative to the target directory,
+ without leading slash.
+
choice
prompt "gcc optimization level"
default BR2_OPTIMIZE_S