diff options
author | Rui Salvaterra <rsalvaterra@gmail.com> | 2020-11-25 21:28:17 +0000 |
---|---|---|
committer | Paul Spooren <mail@aparcar.org> | 2020-11-26 12:44:25 -1000 |
commit | 3f567d8452644dc5349addabbb8f0bff9d0bc2c0 (patch) | |
tree | 2c79a050bbe2089e699c61f4bef093b522ed7ae2 /config/Config-build.in | |
parent | 6429307a3d6ba4c88d477cc7a3995be314e3dd15 (diff) | |
download | upstream-3f567d8452644dc5349addabbb8f0bff9d0bc2c0.tar.gz upstream-3f567d8452644dc5349addabbb8f0bff9d0bc2c0.tar.bz2 upstream-3f567d8452644dc5349addabbb8f0bff9d0bc2c0.zip |
tools/sstrip: update to latest version
Drop our local sstrip copy and use the current ELFKickers upstream
version.
Patch the original makefile in order to avoid building elftoc, since it
fails with musl's elf.h. This is fine, since we only need sstrip anyway.
Finally, add the possibility to pass additional arguments to sstrip and
pass -z (remove trailing zeros) by default, which matches the behaviour
of the previous version.
Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
[shorten long commit msg lines]
Signed-off-by: Paul Spooren <mail@aparcar.org>
Diffstat (limited to 'config/Config-build.in')
-rw-r--r-- | config/Config-build.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/config/Config-build.in b/config/Config-build.in index bae1552096..a54df11566 100644 --- a/config/Config-build.in +++ b/config/Config-build.in @@ -182,6 +182,14 @@ menu "Global build settings" help Specifies arguments passed to the strip command when stripping binaries. + config SSTRIP_ARGS + string + prompt "Sstrip arguments" + depends on USE_SSTRIP + default "-z" + help + Specifies arguments passed to the sstrip command when stripping binaries. + config STRIP_KERNEL_EXPORTS bool "Strip unnecessary exports from the kernel image" help |