toolchain: Select USE_SSTRIP with external musl toolchain
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 11 Sep 2022 22:29:00 +0000 (00:29 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 12 Sep 2022 21:16:22 +0000 (23:16 +0200)
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>
config/Config-build.in
target/sdk/files/Config.in

index 2eded2b288424be38a7035dda6b85cf4a1265d2d..c2303637cb1eb5f6227880599cc9629592748b50 100644 (file)
@@ -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
index aab6352118242bb31d2ff8dae2592002ec3d34f9..12c0f6a6246cfecc4f6c03c4d1d1c5d049db0813 100644 (file)
@@ -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