search for: __build

Displaying 11 results from an estimated 11 matches for "__build".

2005 Jul 29
1
move kbuild files to reflect dir structure in kernel
...llowing: -# -# Kbuild: -# -# user-progs := cat -# -# This will compile a file named cat.c -> the executable 'cat' -# -# If the user space program consist of more files do the following: -# Kbuild: -# -# user-progs := ipconfig -# ipconfig-y := main.o netdev.c - -src := $(obj) - -.phony: __build -__build: - -# Generic Kbuild routines -include $(srctree)/scripts/Kbuild.include - -# Defines used when compiling early userspace (klibc programs) -# --------------------------------------------------------------------------- -KLIBSRC := usr/klibc - -# Arch specific definitions...
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.
2006 Jun 26
0
[klibc 19/43] klibc basic build infrastructure
...LIBCAFLAGS := -DDEBUG +# +# To set target specific CFLAGS (for .c files) use +# KLIBCCFLAGS-main.o := -DDEBUG=3 +# To set target specific AFLAGS (for .s files) use +# KLIBCAFLAGS-main.o := -DDEBUG=3 + +src := $(obj) +# Preset target and make sure it is a ':=' variable +targets := + +.phony: __build +__build: + +# Read .config if it exist, otherwise ignore +-include .config + +# Generic Kbuild routines +include $(srctree)/scripts/Kbuild.include + +# Defines used when compiling early userspace (klibc programs) +# --------------------------------------------------------------------------...
2003 Oct 04
0
klibc: kbuild improvements
...= $(foreach o,$(build-targets),$(if $(deps_$(o)),$(o))) +build-multi := $(foreach o,$(targets),$(if $(deps_$(o)),$(o))) build-y := $(foreach o,$(build-multi),$(deps_$(o))) include scripts/Makefile.lib @@ -22,7 +22,7 @@ build-y := $(call objectify,$(build-y)) real-objs-y += $(build-y) -__build: $(subdir-ym) $(build-targets) +__build: $(subdir-ym) $(always) @: # Compile C sources (.c) @@ -32,19 +32,19 @@ $(NOSTDINC_FLAGS) quiet_cmd_cc_s_c = USERCC $@ -cmd_cc_s_c = $(USERCC) $(usercflags) -S -o $@ $< + cmd_cc_s_c = $(USERCC) $(usercflags) -S -o $@ $< %.s: %...
2018 Feb 07
0
retpoline mitigation and 6.0
...1;30mnote: diagnostic msg: /tmp/core-4220fe.c clang-7.0: [0;1;30mnote: diagnostic msg: /tmp/core-4220fe.sh clang-7.0: [0;1;30mnote: diagnostic msg:聽 ******************** make[2]: *** [scripts/Makefile.build:317: arch/x86/events/core.o] Error 254 make[2]: Target '__build' not remade because of errors. make[1]: *** [scripts/Makefile.build:575: arch/x86/events] Error 2 聽 CC聽聽聽聽聽聽arch/x86/hyperv/mmu.o In file included from arch/x86/hyperv/mmu.c:9: ./arch/x86/include/asm/mshyperv.h:189:23: [0;1;31merror: inval...
2018 Feb 07
6
retpoline mitigation and 6.0
I've landed the patch in r324449. Before we merge this into two different Clang release branches and almost immediately release one of them, I would really like someone to confirm that this patch works well with the Linux kernel. David, if you're up for that, it would be great. Alternatively, Guenter or someone else here can help. On Tue, Feb 6, 2018 at 5:59 PM Chandler Carruth
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
2005 Jul 26
2
[PATCH] better kbuild integration
...\ + -DBITSIZE=$(BITSIZE) +USERCFLAGS := $(USERCPPFLAGS) $(REQFLAGS) $(ARCHREQFLAGS) \ + $(OPTFLAGS) $(USERWARNFLAGS) USERAFLAGS := -D__ASSEMBLY__ $(USERCPPFLAGS) USERSTRIPFLAGS := --strip-all -R .comment -R .note @@ -201,6 +201,7 @@ __build : $(user-dirs) $(user-progs) # Descend if needed $(sort $(addsuffix /built-in.o,$(user-dirs))): $(user-dirs) ; +# link program that has only a single .o file quiet_cmd_user-ld-single = USERLD $@ cmd_user-ld-single = $(USERLD) $(USERLDFLAGS) -o $@ \...
2006 Jul 09
6
[PATCH/RFC] klibc/kbuild: use separate kbuild files for each klibc subdirectory
...ddprefix $(obj)/,$(klib-objs)) +klib-real-objs := $(addprefix $(obj)/,$(klib-real-objs)) +klib-dirs := $(addprefix $(obj)/,$(klib-dirs)) ##### # Handle options to gcc. Support building with separate output directory @@ -194,7 +225,7 @@ lib-target := $(obj)/lib.a endif __build: $(subdir-y) $(lib-target) $(always) - @: + $(Q): # Compile C sources (.c) # --------------------------------------------------------------------------- @@ -242,6 +273,28 @@ cmd_link_o_target = $(if $(strip $(lib-y targets += $(lib-target) $(lib-y) endif # lib-target +# +# Create klib.list...
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: