Displaying 2 results from an estimated 2 matches for "5a4b71e".
Did you mean:
2a4c71e
2019 Jan 20
0
[klibc:master] Kbuild: Add option to install unstripped binaries
...t a/defconfig b/defconfig
index 04b98e9..9938e0a 100644
--- a/defconfig
+++ b/defconfig
@@ -7,3 +7,4 @@ CONFIG_REGPARM=y
# ARM options
# CONFIG_KLIBC_THUMB is not set
# CONFIG_AEABI is not set
+# CONFIG_DEBUG_INFO is not set
diff --git a/scripts/Kbuild.klibc b/scripts/Kbuild.klibc
index 7a8ad2a..5a4b71e 100644
--- a/scripts/Kbuild.klibc
+++ b/scripts/Kbuild.klibc
@@ -100,7 +100,7 @@ KLIBCAR := $(AR)
klibc-ar = $(KLIBCAR) $(if $(KBUILD_REPRODUCIBLE),$(2),$(1))
KLIBCRANLIB := $(call klibc-ar,s,Ds)
-KLIBCSTRIP := $(STRIP)
+KLIBCSTRIP := $(if $(CONFIG_DEBUG_INFO),true,$(S...
2019 Jan 20
0
[klibc:master] Kbuild: Enable full debug information
...with full debug information (-ggdb). We still
strip it away before installing by default.
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
---
scripts/Kbuild.klibc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/scripts/Kbuild.klibc b/scripts/Kbuild.klibc
index 5a4b71e..c32bc63 100644
--- a/scripts/Kbuild.klibc
+++ b/scripts/Kbuild.klibc
@@ -68,7 +68,8 @@ include $(srctree)/scripts/Kbuild.include
KLIBCREQFLAGS := $(call cc-option, -fno-stack-protector, ) \
$(call cc-option, -fwrapv, ) \
- $(call cc-option, -fno-PIE...