search for: klibcar

Displaying 10 results from an estimated 10 matches for "klibcar".

2010 Oct 20
2
[PATCH] klibc: reproducible builds
...eletions(-) diff --git a/scripts/Kbuild.klibc b/scripts/Kbuild.klibc index 79d196f..6427be0 100644 --- a/scripts/Kbuild.klibc +++ b/scripts/Kbuild.klibc @@ -93,11 +93,15 @@ KLIBCMINOR := $(shell cut -d. -f2 $(srctree)/usr/klibc/version) KLIBCLD := $(LD) KLIBCCC := $(CC) KLIBCAR := $(AR) -KLIBCRANLIB := $(RANLIB) +KLIBCAR_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 $(KBUI...
2019 Jan 20
0
[klibc:master] Kbuild: Add option to install unstripped binaries
...@ -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,$(STRIP)) KLIBCNM := $(NM) KLIBCOBJCOPY := $(OBJCOPY) KLIBCOBJDUMP := $(...
2019 Oct 07
0
[klibc:master] Kbuild: Work around broken "ar s" in binutils 2.32
...d-off-by: Ben Hutchings <ben at decadent.org.uk> --- scripts/Kbuild.klibc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Kbuild.klibc b/scripts/Kbuild.klibc index c32bc632..b7e99b56 100644 --- a/scripts/Kbuild.klibc +++ b/scripts/Kbuild.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_DEB...
2006 Jan 31
1
[patch] Kbuild.klibc don't hardcode gcc version
...uild.klibc b/scripts/Kbuild.klibc index 66e16e7..70e4071 100644 --- a/scripts/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 Jun 26
0
[klibc 19/43] klibc basic build infrastructure
...d .config if it exist, otherwise ignore +-include .config + +# Generic Kbuild routines +include $(srctree)/scripts/Kbuild.include + +# Defines used when compiling early userspace (klibc programs) +# --------------------------------------------------------------------------- + +KLIBCREQFLAGS := +KLIBCARCHREQFLAGS := +KLIBCOPTFLAGS := +KLIBCWARNFLAGS := -W -Wall -Wno-sign-compare -Wno-unused-parameter +KLIBCSHAREDFLAGS := +KLIBCBITSIZE := +KLIBCLDFLAGS := +KLIBCCFLAGS := + +# Arch specific definitions for klibc +include $(KLIBCSRC)/arch/$(KLIBCARCHDIR)/MCONFIG + +# include/a...
2008 Oct 20
1
compile klibc problem (EABI version error)
...know klibc. So i decide to use it. We are working on marvell pxa310 (bought from Intel), and with the tools chain from marvell, I comple klibc as follows: klibc-1.5> ln -s /home/zjujoe/svn/mhlv_2.6/working/songlixin/20081007_kernel_tflashupdate/ linux klibc-1.5>cat 1.sh export KLIBCARCH=arm export CROSS_COMPILE=arm-iwmmxt-linux-gnueabi- klibc-1.5>. ./1.sh klibc-1.5>make KLIBCCC usr/klibc/__static_init.o KLIBCCC usr/klibc/vsnprintf.o ? LIST usr/klibc/syscalls/klib.list LIST usr/klibc/klib.list KLIBCAR usr/klibc/libc.a KLIBCLD usr/klibc/libc.so a...
2006 Jul 09
6
[PATCH/RFC] klibc/kbuild: use separate kbuild files for each klibc subdirectory
...ompress.o zlib/crc32.o zlib/gzio.o \ - zlib/uncompr.o zlib/deflate.o zlib/trees.o zlib/zutil.o \ - zlib/inflate.o zlib/infback.o zlib/inftrees.o zlib/inffast.o - -# zlib specific flag -KLIBCCFLAGS += -DDYNAMIC_CRC_TABLE +klib-$(CONFIG_KLIBC_ZLIB) += zlib/ +# arch specific .o files +klib-y += arch/$(KLIBCARCHDIR)/ ##### # Add any architecture-specific rules @@ -72,14 +68,14 @@ include $(obj)/arch/$(KLIBCARCHDIR)/Make ##### # Shared definitions -LIB := libc.a +LIBC := libc.a SOLIB := libc.so SOHASH := klibc.so CRT0 := arch/$(KLIBCARCHDIR)/crt0.o INTERP_O := interp.o -alw...
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: