search for: __build

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

Did you mean: _build
2018 Jun 27
0
[PATCH] add more PHONY targets to $(PHONY)
...+# if_changed. +.PHONY: $(PHONY) diff --git a/scripts/Kbuild.klibc b/scripts/Kbuild.klibc index f500d5358ef6..f147a37309e3 100644 --- a/scripts/Kbuild.klibc +++ b/scripts/Kbuild.klibc @@ -54,7 +54,7 @@ src := $(obj) # Preset target and make sure it is a ':=' variable targets := -.phony: __build +PHONY := __build __build: # Read .config if it exist, otherwise ignore @@ -374,7 +374,7 @@ endif # Descending # --------------------------------------------------------------------------- -.PHONY: $(subdir-y) $(kprog-dirs) $(klib-dirs) +PHONY += $(subdir-y) $(kprog-dirs) $(klib-dirs) $(so...
2019 Jan 18
0
[klibc:master] add more PHONY targets to $(PHONY)
...iable for +# if_changed. +.PHONY: $(PHONY) diff --git a/scripts/Kbuild.klibc b/scripts/Kbuild.klibc index f500d53..f147a37 100644 --- a/scripts/Kbuild.klibc +++ b/scripts/Kbuild.klibc @@ -54,7 +54,7 @@ src := $(obj) # Preset target and make sure it is a ':=' variable targets := -.phony: __build +PHONY := __build __build: # Read .config if it exist, otherwise ignore @@ -374,7 +374,7 @@ endif # Descending # --------------------------------------------------------------------------- -.PHONY: $(subdir-y) $(kprog-dirs) $(klib-dirs) +PHONY += $(subdir-y) $(kprog-dirs) $(klib-dirs) $(so...
2012 Sep 28
0
[LLVMdev] LLVM build fails using gcc-4.7.0 and -std=c++11 flags
I've fixed this specific error in r164813. Please let me know if there are more behind it. On Thu, Sep 27, 2012 at 2:16 PM, Sid Manning <sidneym at codeaurora.org> wrote: > > I just updated my llvm sources (revision 164794.) and I see the error, > "overriding non-deleted function" when building with gcc 4.7.0 and passing > -std=c++11. > >
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 for klibc -...
2012 Sep 27
2
[LLVMdev] LLVM build fails using gcc-4.7.0 and -std=c++11 flags
I just updated my llvm sources (revision 164794.) and I see the error, "overriding non-deleted function" when building with gcc 4.7.0 and passing -std=c++11. /usr2/sidneym/llvm/tools/install/bin/c++ -D_GNU_SOURCE -D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=c++11 -fPIC -fvisibility-inlines-hidden -I/local/scratch/llvm-tmp/build/lib/VMCore
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.
2019 Jan 20
0
[klibc:master] Build and install shared binaries only if KLIBCSHAREDFLAGS is defined
...t diff --git a/scripts/Kbuild.klibc b/scripts/Kbuild.klibc index de1cd27..7a8ad2a 100644 --- a/scripts/Kbuild.klibc +++ b/scripts/Kbuild.klibc @@ -304,7 +304,10 @@ ifdef kprogs # Compile klibc-programs for the target # =========================================================================== -__build : $(kprog-dirs) $(static-y) $(shared-y) +__build : $(kprog-dirs) $(static-y) +ifdef KLIBCSHAREDFLAGS +__build : $(shared-y) +endif # Descend if needed $(sort $(addsuffix /lib.a,$(kprog-dirs))): $(kprog-dirs) ; diff --git a/usr/dash/Kbuild b/usr/dash/Kbuild index 3a98c1f..8682c0d 100644 --- a/us...
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) +# --------------------------------------------------------------------------- + +KLI...
2003 Oct 04
0
klibc: kbuild improvements
...ti := $(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
...) are located at: clang-7.0: [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: invalid operand in inline asm: 聽聽聽聽聽聽'mov $4, %r8999: .pu...
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.
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
2019 Dec 26
1
[PATCH v2 5/6] KVM: arm64: Add interface to support VCPU preempted check
...'vcpu_is_preempted'? [-Werror=implicit-function-declaration] return pv_vcpu_is_preempted(cpu); ^~~~~~~~~~~~~~~~~~~~ vcpu_is_preempted cc1: some warnings being treated as errors make[2]: *** [arch/arm64/kernel/asm-offsets.s] Error 1 make[2]: Target '__build' not remade because of errors. make[1]: *** [prepare0] Error 2 make[1]: Target 'prepare' not remade because of errors. make: *** [sub-make] Error 2 27 real 5 user 7 sys 48.63% cpu make prepare vim +18 arch/arm64/include/asm/spinlock.h 14 15 #define vcpu_is_pre...
2020 Sep 11
1
[PATCH v3 3/7] mm/memory_hotplug: prepare passing flags to add_memory() and friends
...rs System.map arch block certs crypto drivers fs include init ipc kernel lib mm modules.builtin modules.builtin.modinfo modules.order net scripts security sound source tools usr virt vmlinux vmlinux.o vmlinux.symvers [scripts/Makefile.build:117: arch/x86/kernel/asm-offsets.s] Error 1 Target '__build' not remade because of errors. Makefile Module.symvers System.map arch block certs crypto drivers fs include init ipc kernel lib mm modules.builtin modules.builtin.modinfo modules.order net scripts security sound source tools usr virt vmlinux vmlinux.o vmlinux.symvers [Makefile:1196: prepare...
2016 Mar 23
2
Fwd: Re: r-base installation fails on Ubuntu 14.04
-------- Forwarded Message -------- Subject: Re: [R-sig-Debian] r-base installation fails on Ubuntu 14.04 Date: Wed, 23 Mar 2016 13:07:44 -0700 From: Barnet Wagman <bdwgen at gmail.com> To: Dirk Eddelbuettel <edd at debian.org> > Lastly, and please don't take this the wrong way: I think I am helping way > more people like you who for one reason or other insist on older
2019 Sep 06
0
[vhost:linux-next 15/15] include/linux/page_reporting.h:10:34: error: 'HUGETLB_PAGE_ORDER' undeclared; did you mean 'IOREMAP_MAX_ORDER'?
...^ include/linux/page_reporting.h:158:14: note: in expansion of macro 'PAGE_REPORTING_MIN_ORDER' if (order < PAGE_REPORTING_MIN_ORDER) ^~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [arch/arm64/kernel/asm-offsets.s] Error 1 make[2]: Target '__build' not remade because of errors. make[1]: *** [prepare0] Error 2 make[1]: Target 'prepare' not remade because of errors. make: *** [sub-make] Error 2 8 real 4 user 4 sys 96.33% cpu make prepare vim +10 include/linux/page_reporting.h b1b0d638e6f93b Alexander Duyck 2019-09...
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 $@ \ $(US...
2006 Jul 09
6
[PATCH/RFC] klibc/kbuild: use separate kbuild files for each klibc subdirectory
...bjs := $(addprefix $(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...
2020 Sep 10
9
[PATCH v3 0/7] mm/memory_hotplug: selective merging of system ram resources
Some add_memory*() users add memory in small, contiguous memory blocks. Examples include virtio-mem, hyper-v balloon, and the XEN balloon. This can quickly result in a lot of memory resources, whereby the actual resource boundaries are not of interest (e.g., it might be relevant for DIMMs, exposed via /proc/iomem to user space). We really want to merge added resources in this scenario where
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