-
Committer:
Ben Hutchings
-
Date:
2019-01-20 00:14:40 UTC
-
Revision ID:
git-v1:908fca5066fa8e8934df21cbde84b8eccab8a5c9
[klibc] Kbuild: Add option to install unstripped binaries
The .deb and RPM packaging tools can automatically split
debugging symbols into a separate package. This requires
that binaries and shared libaries are initially installed
unstripped, and that they are given build IDs.
If CONFIG_DEBUG_INFO is defined:
* Add --build-id=sha1 to the linker options
* Don't strip binaries after linking them
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>