aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2022-09-12 00:29:00 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2022-10-03 19:51:49 +0200
commit8f72f5e4c0c368902087cc26f7d16ff4f012ed1b (patch)
treedc5e71ecb9c3d35fbda46a3e6a747c00473a8880
parent4ad6925a9e6685ecb1931cd76431d1339f47e8c2 (diff)
downloadupstream-8f72f5e4c0c368902087cc26f7d16ff4f012ed1b.tar.gz
upstream-8f72f5e4c0c368902087cc26f7d16ff4f012ed1b.tar.bz2
upstream-8f72f5e4c0c368902087cc26f7d16ff4f012ed1b.zip
toolchain: Select USE_SSTRIP with external musl toolchain
When we use the internal toolchain USE_SSTRIP will be selected by default for musl libc and USE_STRIP when glibc is used. Do the same when an external toolchain is used. USE_GLIBC will also be set for external toolchain builds based on the EXTERNAL_TOOLCHAIN_LIBC_USE_GLIBC setting. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit 9403810c020cca136149973a3929bf77a1f501aa)
-rw-r--r--config/Config-build.in1
-rw-r--r--target/sdk/files/Config.in1
2 files changed, 0 insertions, 2 deletions
diff --git a/config/Config-build.in b/config/Config-build.in
index e682277964..d45edca3f1 100644
--- a/config/Config-build.in
+++ b/config/Config-build.in
@@ -164,7 +164,6 @@ menu "Global build settings"
choice
prompt "Binary stripping method"
- default USE_STRIP if EXTERNAL_TOOLCHAIN
default USE_STRIP if USE_GLIBC
default USE_SSTRIP
help
diff --git a/target/sdk/files/Config.in b/target/sdk/files/Config.in
index aab6352118..12c0f6a624 100644
--- a/target/sdk/files/Config.in
+++ b/target/sdk/files/Config.in
@@ -31,7 +31,6 @@ menu "Global build settings"
choice
prompt "Binary stripping method"
- default USE_STRIP if EXTERNAL_TOOLCHAIN
default USE_STRIP if USE_GLIBC
default USE_SSTRIP
help