Displaying 10 results from an estimated 10 matches for "klibcstrip".
2006 Jun 26
0
[klibc 19/43] klibc basic build infrastructure
...LIBCARCH)
+
+# klibc version
+KLIBCMAJOR := $(shell cut -d. -f1 $(srctree)/usr/klibc/version)
+KLIBCMINOR := $(shell cut -d. -f2 $(srctree)/usr/klibc/version)
+
+# binutils
+KLIBCLD := $(LD)
+KLIBCCC := $(CC)
+KLIBCAR := $(AR)
+KLIBCRANLIB := $(RANLIB)
+KLIBCSTRIP := $(STRIP)
+KLIBCNM := $(NM)
+KLIBCOBJCOPY := $(OBJCOPY)
+KLIBCOBJDUMP := $(OBJDUMP)
+
+# klibc include paths
+KLIBCCPPFLAGS := -I$(KLIBCINC)/arch/$(KLIBCARCHDIR) \
+ -I$(KLIBCINC)/bits$(KLIBCBITSIZE) \
+ -I$(KLIBCOBJ)/../include \
+...
2019 Jan 20
0
[klibc:master] Kbuild: Add option to install unstripped binaries
...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,$(STRIP))
KLIBCNM := $(NM)
KLIBCOBJCOPY := $(OBJCOPY)
KLIBCOBJDUMP := $(OBJDUMP)
@@ -136,6 +136,10 @@ KLIBCLIBCSHARED := $(KLIBCOBJ)/libc.so
# How to tell the linker main() is the entrypoint
KLIBCEMAIN ?=...
2019 Feb 19
0
[klibc:master] klcc: Enable stripping even if CONFIG_DEBUG_INFO is enabled
...er: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Tue, 19 Feb 2019 02:31:39 +0000
[klibc] klcc: Enable stripping even if CONFIG_DEBUG_INFO is enabled
klcc should strip its output if the -s option is used, regardless of
whether klibc is stripped. Use the standard $(STRIP) instead of
$(KLIBCSTRIP) as the strip command.
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
---
klcc/Kbuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/klcc/Kbuild b/klcc/Kbuild
index e62c3f12..eae753ff 100644
--- a/klcc/Kbuild
+++ b/klcc/Kbuild
@@ -18,7 +18,7 @@ $(obj)/$(KLIBCCRO...
2006 Jan 31
1
[patch] Kbuild.klibc don't hardcode gcc version
...s/Kbuild.klibc
+++ b/scripts/Kbuild.klibc
@@ -72,7 +72,7 @@ KLIBCROSS := $(CROSS_COMPILE)
# binutils
KLIBCLD := $(KLIBCROSS)ld
-KLIBCCC := $(KLIBCROSS)gcc
+KLIBCCC := $(KLIBCROSS)$(CC)
KLIBCAR := $(KLIBCROSS)ar
KLIBCRANLIB := $(KLIBCROSS)ranlib
KLIBCSTRIP := $(KLIBCROSS)strip
2006 Apr 11
6
klibc kbuild status
Hi hpa & others.
Following is a list of issues that I hope to be addressed soon so
we are in even better shape for -mm inclusion.
1) rebuild initramfs when content changes.
> It is a simple matter of copying in usr/Makefile from the latest
> -linus kernel and replace the 10 first lines with the content from
> klibc Kbuild file.
2) havesyscalls.h is not deleted after make
2019 Oct 07
0
[klibc:master] Kbuild: Work around broken "ar s" in binutils 2.32
...ild.klibc
@@ -100,7 +100,7 @@ KLIBCAR := $(AR)
# The second will be used for reproducible builds, the first otherwise.
klibc-ar = $(KLIBCAR) $(if $(KBUILD_REPRODUCIBLE),$(2),$(1))
-KLIBCRANLIB := $(call klibc-ar,s,Ds)
+KLIBCRANLIB := $(RANLIB) $(if $(KBUILD_REPRODUCIBLE),-D)
KLIBCSTRIP := $(if $(CONFIG_DEBUG_INFO),true,$(STRIP))
KLIBCNM := $(NM)
KLIBCOBJCOPY := $(OBJCOPY)
2010 Oct 20
2
[PATCH] klibc: reproducible builds
..._cq := $(KLIBCAR) $(if $(KBUILD_REPRODUCIBLE),Dcq,cq)
+KLIBCAR_crs := $(KLIBCAR) $(if $(KBUILD_REPRODUCIBLE),Dcrs,crs)
+KLIBCAR_cru := $(KLIBCAR) $(if $(KBUILD_REPRODUCIBLE),Dcr,cru)
+KLIBCAR_s := $(KLIBCAR) $(if $(KBUILD_REPRODUCIBLE),Ds,s)
+KLIBCRANLIB := $(KLIBCAR_s)
KLIBCSTRIP := $(STRIP)
KLIBCNM := $(NM)
-KLIBCOBJCOPY := $(OBJCOPY)
-KLIBCOBJDUMP := $(OBJDUMP)
+KLIBCOBJCOPY := $(OBJCOPY)
+KLIBCOBJDUMP := $(OBJDUMP)
# klibc include paths
KLIBCCPPFLAGS := -nostdinc -iwithprefix include \
@@ -265,8 +269,8 @@ ifdef lib-target
quiet_cmd_link_...
2017 Dec 30
6
building debug version of klibc
Hello!
Can someone please help me in building debug version of klibc ?
I've cloned git://git.kernel.org/pub/scm/libs/klibc/klibc.git , but
failed to build it with debug info
added "-g" to HOSTCFLAGS in Makefile, but
$ make -j KLIBCKERNELSRC=`pwd`/../linux-2.6/usr
still strips every debug symbol , and i'm failed to change
scripts/Kbuild.klibc and Makefile to remove strip
2010 Mar 02
17
[PATCH 00/16] External building, update for 2.6.33 and multiple root devices.
The following patchset implements 3 seperate series of changes.
External Building
=================
Patches 1 through 8 enable to use of klibc's build system while leaving the src
tree pristine (and potentially read only). Specifically:
- srctree=<Sources for klibc>
- objtree=<Ouput directory for klibc>
- KLIBCKERNELSRC=<Kernel sources>
- KLIBCKERNELOBJ=<Kernel
2006 Jun 28
35
[klibc 00/31] klibc as a historyless patchset (updated and reorganized)
I have updated the klibc patchset based on feedback received. In
particular, the patchset has been reorganized so as not to break
git-bisect.
Additionally, this updates the patch base to 2.6.17-git12
(d38b69689c349f35502b92e20dafb30c62d49d63) and klibc 1.4.8; the main
difference on the klibc side is removal of obsolete code.
This is also available as a git tree at: