[openwrt/openwrt] toolchain: Select USE_SSTRIP with external musl toolchain

LEDE Commits lede-commits at lists.infradead.org
Mon Sep 12 14:35:45 PDT 2022


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/9403810c020cca136149973a3929bf77a1f501aa

commit 9403810c020cca136149973a3929bf77a1f501aa
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Mon Sep 12 00:29:00 2022 +0200

    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 at hauke-m.de>
---
 config/Config-build.in     | 1 -
 target/sdk/files/Config.in | 1 -
 2 files changed, 2 deletions(-)

diff --git a/config/Config-build.in b/config/Config-build.in
index 2eded2b288..c2303637cb 100644
--- a/config/Config-build.in
+++ b/config/Config-build.in
@@ -160,7 +160,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




More information about the lede-commits mailing list