diff options
author | Andre Heider <a.heider@gmail.com> | 2023-01-28 21:16:16 +0100 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2023-07-04 20:25:40 +0200 |
commit | d026b19cdcda50766e1ecc350fdc7c542e0f1c73 (patch) | |
tree | cd11666a1af9c72519106c663277b53a5643adbd /config | |
parent | ca788d615fbf780b1a1665475ed304de4276f512 (diff) | |
download | openwrt-d026b19cdcda50766e1ecc350fdc7c542e0f1c73.tar.gz openwrt-d026b19cdcda50766e1ecc350fdc7c542e0f1c73.tar.bz2 openwrt-d026b19cdcda50766e1ecc350fdc7c542e0f1c73.zip |
build: replace SSTRIP_ARGS with SSTRIP_DISCARD_TRAILING_ZEROES
sstrip only has one functional arg. Make that a bool option, which can
easily depend on other knobs then.
This is required to be disabled for the mold linker.
Signed-off-by: Andre Heider <a.heider@gmail.com>
Diffstat (limited to 'config')
-rw-r--r-- | config/Config-build.in | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/config/Config-build.in b/config/Config-build.in index df2d9101ca..f8d0f8e0bd 100644 --- a/config/Config-build.in +++ b/config/Config-build.in @@ -182,7 +182,6 @@ menu "Global build settings" help This will install binaries stripped using strip from binutils. - config USE_SSTRIP bool "sstrip" depends on !USE_GLIBC @@ -199,13 +198,12 @@ menu "Global build settings" help Specifies arguments passed to the strip command when stripping binaries. - config SSTRIP_ARGS - string - prompt "Sstrip arguments" + config SSTRIP_DISCARD_TRAILING_ZEROES + bool "Strip trailing zero bytes" depends on USE_SSTRIP - default "-z" + default y help - Specifies arguments passed to the sstrip command when stripping binaries. + Use sstrip's -z option to discard trailing zero bytes config STRIP_KERNEL_EXPORTS bool "Strip unnecessary exports from the kernel image" |