search for: usercflags

Displaying 6 results from an estimated 6 matches for "usercflags".

2003 Oct 04
0
klibc: kbuild improvements
...=== Makefile 1.415 vs edited ===== --- 1.415/Makefile Thu Jul 31 22:15:44 2003 +++ edited/Makefile Sat Oct 4 06:51:19 2003 @@ -255,7 +255,7 @@ include $(KLIBSRC)/arch/$(ARCH)/MCONFIG -export USERLD USERCC USERAR USERSTRIP USERNM \ +export KLIBSRC USERLD USERCC USERAR USERSTRIP USERNM \ USERCFLAGS USERAFLAGS USERLIBGCC USERSHAREDFLAGS USERSTRIPFLAGS \ USERCRT0 USERLIBC ===== scripts/Makefile.user 1.3 vs edited ===== --- 1.3/scripts/Makefile.user Tue Jun 10 05:56:56 2003 +++ edited/scripts/Makefile.user Sat Oct 4 22:47:02 2003 @@ -13,7 +13,7 @@ objectify = $(foreach o,$(1),$(if $(fil...
2005 Jul 29
1
move kbuild files to reflect dir structure in kernel
.../usr/include \ - -Iinclude \ - $(if $(KBUILD_SRC),-Iinclude2 -I$(srctree)/include) \ - -D__KLIBC__=1 -D__KLIBC_MINOR__=0 \ - -DBITSIZE=$(BITSIZE) -USERCFLAGS := $(USERCPPFLAGS) $(REQFLAGS) $(ARCHREQFLAGS) \ - $(OPTFLAGS) $(USERWARNFLAGS) -USERAFLAGS := -D__ASSEMBLY__ $(USERCPPFLAGS) -USERSTRIPFLAGS := --strip-all -R .comment -R .note - -USERLIBGCC := $(shell $(USERCC) --print-libgcc) -USERSHAREDFLAGS := $(SHAR...
2005 Jul 30
3
kbuild updates to klibc
Hi Peter & others. Here are three patches that does the following: #1 - Update kbuild part of klibc so make clean works Adds gzip including a sample kbuild file #2 - Factor out definition of usr/ to two variables #3 - Move kbuild files to reflect location in the kernel As requested in earlier mail I need a bit of guidiance of what you expect from the kernel integrated parts of klibc.
2005 Jul 28
0
[PATCH] Use KLIBSRC + KLIBINC consistent in kbuild files
...calls.pl -clean-files += $(objtree)/usr/include/klibc/havesyscall.h +clean-files += $(KLIBINC)/klibc/havesyscall.h # All the syscall stubs clean-files += *.o *.S *.c @@ -37,29 +35,29 @@ $(obj)/syscalls.o: $(call objectify,$(sy quiet_cmd_syscall.i = GEN $@ cmd_syscall.i = $(USERCC) $(usercflags) -D__ASSEMBLY__ \ -ansi -x assembler-with-cpp -E -o $@ $< -$(obj)/SYSCALLS.i: $(klibc-dir)/SYSCALLS.def FORCE +$(obj)/SYSCALLS.i: $(KLIBSRC)/SYSCALLS.def FORCE $(call if_changed_dep,syscall.i) # Get syscalls numbers quiet_cmd_syscall.nrs = GEN $@...
2005 Jul 26
2
[PATCH] better kbuild integration
...srctree)/usr/incl -I$(srctree)/usr/include \ -Iinclude \ $(if $(KBUILD_SRC),-Iinclude2 -I$(srctree)/include) \ - -D__KLIBC__ -DBITSIZE=$(BITSIZE) -USERCFLAGS := $(USERCPPFLAGS) $(ARCHREQFLAGS) $(OPTFLAGS) \ - $(USERWARNFLAGS) + -D__KLIBC__=1 -D__KLIBC_MINOR__=0 \ + -DBITSIZE=$(BITSIZE) +USERCFLAGS := $(USERCPPFLAGS) $(REQFLAGS) $(ARCHREQFLAGS) \ +...
2005 Jul 31
5
Shared versus static linked executables - and strip
I'm still pondering with kbuild and klibc. Next in line was to get ipconfig support in the kernel (build wise). A little challenge that is bigger than anticipated was to create a shared executable. This required a far bigger rewrite of Kbuild.klibc than originally planned. The good part is that I now managed to treat linking of objects with single and multiple .o files almost the same.