search for: klibccross

Displaying 20 results from an estimated 22 matches for "klibccross".

Did you mean: klibcross
2020 Jul 25
2
[PATCH] klcc: Remove the need for bash
...man-page/posix/1p/command/ Signed-off-by: Olliver Schinagl <oliver at schinagl.nl> --- klcc/Kbuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/klcc/Kbuild b/klcc/Kbuild index eae753ff..0e625802 100644 --- a/klcc/Kbuild +++ b/klcc/Kbuild @@ -35,7 +35,7 @@ targets := $(KLIBCCROSS)klcc quiet_cmd_klcc = GEN $@ cmd_klcc = $(PERL) $< $(srctree)/$(src)/klcc.in \ $(obj)/$(KLIBCCROSS)klibc.config \ - $(shell bash -c 'type -p $(PERL)') \ + $(shell command -v $(PERL)) \...
2018 Feb 26
3
[PATCH 1/4] include sys/types.h in more places
Include sys/types.h to avoid compilation warnings: In file included from $LINUX/usr/include/linux/byteorder/little_endian.h:12:0, from $LINUX/usr/include/asm/byteorder.h:5, from $KLIBC/usr/klibc/../include/klibc/endian.h:11, from $KLIBC/usr/klibc/../include/endian.h:8, from $KLIBC/usr/klibc/pread.c:7:
2020 Jul 25
0
[klibc:master] klcc: Remove the need for bash
...lt;oliver at schinagl.nl> 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 eae753ff..0e625802 100644 --- a/klcc/Kbuild +++ b/klcc/Kbuild @@ -35,7 +35,7 @@ targets := $(KLIBCCROSS)klcc quiet_cmd_klcc = GEN $@ cmd_klcc = $(PERL) $< $(srctree)/$(src)/klcc.in \ $(obj)/$(KLIBCCROSS)klibc.config \ - $(shell bash -c 'type -p $(PERL)') \ + $(shell command -v $(PERL)) \...
2020 Jul 25
0
[PATCH] klcc: Remove the need for bash
...at schinagl.nl> Applied, thanks. Ben. > --- > klcc/Kbuild | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/klcc/Kbuild b/klcc/Kbuild > index eae753ff..0e625802 100644 > --- a/klcc/Kbuild > +++ b/klcc/Kbuild > @@ -35,7 +35,7 @@ targets := $(KLIBCCROSS)klcc > quiet_cmd_klcc = GEN $@ > cmd_klcc = $(PERL) $< $(srctree)/$(src)/klcc.in \ > $(obj)/$(KLIBCCROSS)klibc.config \ > - $(shell bash -c 'type -p $(PERL)') \ > + $(shell comma...
2019 Jan 20
0
[klibc:master] Build and install shared binaries only if KLIBCSHAREDFLAGS is defined
...$(INTERP_O) +endif LIBC := $(call objectify,$(LIBC)) SOLIB := $(call objectify,$(SOLIB)) SOHASH := $(call objectify,$(SOHASH)) @@ -181,10 +184,15 @@ $(INTERP_O): $(obj)/interp.S $(SOLIB).hash # Install klibc install-rule: @echo " INSTALL klibc to $(INSTALLROOT)$(INSTALLDIR)/$(KLIBCCROSS)lib" - $(Q)$(foreach f, $(LIBC) $(SOLIB) $(CRT0) $(INTERP_O), \ + $(Q)$(foreach f, $(LIBC) $(CRT0), \ + $(shell $(install-data) $(f) \ + $(INSTALLROOT)$(INSTALLDIR)/$(KLIBCCROSS)lib)) +ifdef KLIBCSHAREDFLAGS + $(Q)$(foreach f, $(SOLIB) $(INTERP_O), \ $(shell $(install-data) $(f...
2020 Sep 08
3
[PATCH] klcc: Remove the need for bash
...en. > >> --- >> klcc/Kbuild | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/klcc/Kbuild b/klcc/Kbuild >> index eae753ff..0e625802 100644 >> --- a/klcc/Kbuild >> +++ b/klcc/Kbuild >> @@ -35,7 +35,7 @@ targets := $(KLIBCCROSS)klcc >> quiet_cmd_klcc = GEN $@ >> cmd_klcc = $(PERL) $< $(srctree)/$(src)/klcc.in \ >> $(obj)/$(KLIBCCROSS)klibc.config \ >> - $(shell bash -c 'type -p $(PERL)') \ >> +...
2019 Jan 18
0
[klibc:master] use more consistent quoting
...l/klibc/2018-February/003978.html 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 48c8b07..ce6e4bb 100644 --- a/klcc/Kbuild +++ b/klcc/Kbuild @@ -7,7 +7,7 @@ always := $(KLIBCCROSS)klcc $(obj)/$(KLIBCCROSS)klibc.config: $(src)/Kbuild \ $(srctree)/Makefile \ $(srctree)/scripts/Kbuild.klibc - @echo " GEN $@" + @echo ' GEN $@' $(Q)rm -f $@ $(Q)echo 'ARCH=$(KLIBCARCH)' >> $@ $(Q)echo 'A...
2019 Jan 18
0
[klibc:master] remove some 'make -s' build spew
...l/klibc/2018-February/003979.html 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 ce6e4bb..e62c3f1 100644 --- a/klcc/Kbuild +++ b/klcc/Kbuild @@ -7,7 +7,7 @@ always := $(KLIBCCROSS)klcc $(obj)/$(KLIBCCROSS)klibc.config: $(src)/Kbuild \ $(srctree)/Makefile \ $(srctree)/scripts/Kbuild.klibc - @echo ' GEN $@' + @$(kecho) ' GEN $@' $(Q)rm -f $@ $(Q)echo 'ARCH=$(KLIBCARCH)' >> $@ $(Q)echo '...
2007 Dec 11
0
[git patch] kinit fix, header install cleanup
...$(Q)mkdir -p $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)include $(Q)mkdir -p $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)lib $(Q)mkdir -p $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)bin - $(Q)set -e ; for d in linux scsi asm-$(KLIBCARCH) asm-generic $(ASMKLIBCARCH); do \ - mkdir -p $(INSTALLROOT)$(INSTALLDIR)/$(KLIBCCROSS)include/$$d ; \ + $(Q)set -e ; for d in linux asm asm-$(KLIBCARCH) asm-generic $(ASMKLIBCARCH); do \ for r in $(KLIBCKERNELSRC)/include $(KLIBCKERNELOBJ)/include \ $(KLIBCKERNELOBJ)/include2 ; do \ - [ ! -d $$r/$$d ] || \ - cp -rfL $$r/$$d/. \ + [ ! -d $$r/$$d ] &...
2008 Mar 25
2
bunch of small fixes
...$(Q)mkdir -p $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)include $(Q)mkdir -p $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)lib $(Q)mkdir -p $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)bin - $(Q)set -e ; for d in linux scsi asm-$(KLIBCARCH) asm-generic $(ASMKLIBCARCH); do \ - mkdir -p $(INSTALLROOT)$(INSTALLDIR)/$(KLIBCCROSS)include/$$d ; \ + $(Q)set -e ; for d in linux asm asm-$(KLIBCARCH) asm-generic $(ASMKLIBCARCH); do \ for r in $(KLIBCKERNELSRC)/include $(KLIBCKERNELOBJ)/include \ $(KLIBCKERNELOBJ)/include2 ; do \ - [ ! -d $$r/$$d ] || \ - cp -rfL $$r/$$d/. \ + [ ! -d $$r/$$d ] &...
2019 Feb 19
0
[klibc:master] klcc: Enable stripping even if CONFIG_DEBUG_INFO is enabled
...IBCSTRIP) 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)/$(KLIBCCROSS)klibc.config: $(src)/Kbuild \ $(Q)echo 'REQFLAGS=$(filter-out -I%,$(KLIBCDEFS) $(KLIBCREQFLAGS) $(KLIBCARCHREQFLAGS) $(KLIBCCPPFLAGS))' >> $@ $(Q)echo 'OPTFLAGS=$(KLIBCOPTFLAGS)' >> $@ $(Q)echo 'LDFLAGS=$(KLIBCLDFLAGS)' >> $@ - $(Q)echo 'STRIP=$(K...
2009 Jul 17
0
[PATCH] Use headers_install to install headers
...CROSS)bin - $(Q)set -e ; for d in linux asm asm-$(KLIBCARCH) asm-generic $(ASMKLIBCARCH); do \ - for r in $(KLIBCKERNELSRC)/include $(KLIBCKERNELOBJ)/include \ - $(KLIBCKERNELOBJ)/include2 ; do \ - [ ! -d $$r/$$d ] && continue; \ - mkdir -p $(INSTALLROOT)$(INSTALLDIR)/$(KLIBCCROSS)include/$$d ; \ - cp -rfL $$r/$$d/. \ - $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)include/$$d/. ; \ - done ; \ - done - $(Q)cd $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)include && ln -sf asm-$(KLIBCARCH) asm + $(Q)make -C $(KLIBCKERNELSRC) ARCH=$(KLIBCARCH) INSTALL_HDR_PATH=$(INSTALLR...
2012 Feb 23
0
Bug#653790: klibc/s390x: searches for include in the wrong path
...es = ("-I${prefix}/${KCROSS}include/arch/${ARCHDIR}", > "-I${prefix}/${KCROSS}include/bits${BITSIZE}", > "-I${prefix}/${KCROSS}include"); > > --- klibc-1.5.25.orig/klcc/Kbuild > +++ klibc-1.5.25/klcc/Kbuild > @@ -10,6 +10,7 @@ $(obj)/$(KLIBCCROSS)klibc.config: $(src) > @echo " GEN $@" > $(Q)rm -f $@ > $(Q)echo 'ARCH=$(KLIBCARCH)' >> $@ > + $(Q)echo 'ARCHDIR=$(KLIBCARCHDIR)' >> $@ > $(Q)echo 'CROSS=$(KLIBCROSS)' >> $@ > $(Q)echo 'KCROSS=$(KCROSS)' &g...
2013 Aug 21
2
Build problems: klibc with Linux 3.10.7
leroy christophe dixit: > Also you can see that it does try to create /lib instead of > /tmp/klibc-install/lib hence my second patch. That actually seems to be by design. I always set SHLIBDIR on the make command line, so it overrides that. bye, //mirabilos -- > Wish I had pine to hand :-( I'll give lynx a try, thanks. Michael Schmitz on
2020 Aug 29
0
[klibc:riscv64-enable-relax] Kbuild, klcc: Support multiple objects in KLIBCCRTSHARED
...klcc/Kbuild | 1 + klcc/klcc.in | 2 +- scripts/Kbuild.klibc | 2 +- usr/klibc/Kbuild | 3 +++ 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/klcc/Kbuild b/klcc/Kbuild index 0e625802..ca46c6ce 100644 --- a/klcc/Kbuild +++ b/klcc/Kbuild @@ -21,6 +21,7 @@ $(obj)/$(KLIBCCROSS)klibc.config: $(src)/Kbuild \ $(Q)echo 'STRIP=$(STRIP)' >> $@ $(Q)echo 'STRIPFLAGS=$(KLIBCSTRIPFLAGS)' >> $@ $(Q)echo 'EMAIN=$(KLIBCEMAIN)' >> $@ + $(Q)echo 'CRTSHARED=$(notdir $(KLIBCCRTSHARED))' >> $@ $(Q)echo 'BITSIZE=$(KLIBCBIT...
2020 Aug 29
0
[klibc:riscv64-enable-relax] riscv64: Make linker relaxation work and enable it
...64/Kbuild @@ -2,7 +2,11 @@ # # klibc files for riscv64 -always := crt0.o -targets := crt0.o +always := crt0.o _main.o +targets := crt0.o _main.o klib-y := setjmp.o syscall.o + +install-rule: + $(Q)$(shell $(install-data) $(call objectify,_main.o) \ + $(INSTALLROOT)$(INSTALLDIR)/$(KLIBCCROSS)lib) diff --git a/usr/klibc/arch/riscv64/MCONFIG b/usr/klibc/arch/riscv64/MCONFIG index 9bc7bd24..fdd6c92c 100644 --- a/usr/klibc/arch/riscv64/MCONFIG +++ b/usr/klibc/arch/riscv64/MCONFIG @@ -7,9 +7,6 @@ # accordingly. # -# We should get klibc.so and the executables to agree on what gp -# shoul...
2020 Aug 29
0
[klibc:riscv64-enable-relax] riscv64: Make linker relaxation work and enable it
...64/Kbuild @@ -2,7 +2,11 @@ # # klibc files for riscv64 -always := crt0.o -targets := crt0.o +always := crt0.o _main.o +targets := crt0.o _main.o klib-y := setjmp.o syscall.o + +install-rule: + $(Q)$(shell $(install-data) $(call objectify,_main.o) \ + $(INSTALLROOT)$(INSTALLDIR)/$(KLIBCCROSS)lib) diff --git a/usr/klibc/arch/riscv64/MCONFIG b/usr/klibc/arch/riscv64/MCONFIG index 9bc7bd24..34061086 100644 --- a/usr/klibc/arch/riscv64/MCONFIG +++ b/usr/klibc/arch/riscv64/MCONFIG @@ -7,9 +7,6 @@ # accordingly. # -# We should get klibc.so and the executables to agree on what gp -# shoul...
2013 Aug 20
0
Build problems: klibc with Linux 3.10.7
...nel 3.7 Hope it helps. Christophe -------------- next part -------------- --- Kbuild.orig 2011-08-22 22:16:56.000000000 +0200 +++ Kbuild 2012-04-27 10:03:04.000000000 +0200 @@ -178,4 +178,4 @@ $(Q)$(install-lib) $(obj)/klibc-$(SOLIBHASH).so \ $(INSTALLROOT)$(INSTALLDIR)/$(KLIBCCROSS)lib $(Q)$(install-lib) $(obj)/klibc-$(SOLIBHASH).so \ - $(INSTALLROOT)$(SHLIBDIR) + $(INSTALLROOT)$(INSTALLDIR)/$(SHLIBDIR) -------------- next part -------------- diff -ur klibc-2.0.2/scripts/Kbuild.install klibc-2.0.2.new/scripts/Kbuild.install --- kl...
2013 Aug 22
2
Build problems: klibc with Linux 3.10.7
...Q)mkdir -p $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)include --- a/usr/klibc/Kbuild 2011-08-22 22:16:56.000000000 +0200 +++ b/usr/klibc/Kbuild 2012-04-27 10:03:04.000000000 +0200 @@ -178,4 +178,4 @@ $(Q)$(install-lib) $(obj)/klibc-$(SOLIBHASH).so \ $(INSTALLROOT)$(INSTALLDIR)/$(KLIBCCROSS)lib $(Q)$(install-lib) $(obj)/klibc-$(SOLIBHASH).so \ - $(INSTALLROOT)$(SHLIBDIR) + $(INSTALLROOT)$(INSTALLDIR)/$(SHLIBDIR)
2013 Aug 19
3
Build problems: klibc with Linux 3.10.7
Gauche as it may be, I am reviving an old thread from January: http://www.zytor.com/pipermail/klibc/2013-January/003402.html. Building Smoothwall Express 3.1 in a chroot jail works well. (gcc 4.7.2, linux 3.4.58, klibc 2.0.1, et alia). I'm now working on 'express-next' to prepare for a future release (linux 3.10.7, klibc 2.0.2, et alia). Same build system, worked through some