search for: srctree

Displaying 20 results from an estimated 212 matches for "srctree".

2019 Mar 29
4
[PATCH v2] drm: prefix header search paths with $(srctree)/
Currently, the Kbuild core manipulates header search paths in a crazy way [1]. To fix this mess, I want all Makefiles to add explicit $(srctree)/ to the search paths in the srctree. Some Makefiles are already written in that way, but not all. The goal of this work is to make the notation consistent, and finally get rid of the gross hacks. Having whitespaces after -I does not matter since commit 48f6e3cf5bc6 ("kbuild: do not drop -I w...
2019 Jan 31
2
[PATCH] drm: prefix header search paths with $(srctree)/
Currently, the Kbuild core manipulates header search paths in a crazy way [1]. To fix this mess, I want all Makefiles to add explicit $(srctree)/ to the search paths in the srctree. Some Makefiles are already written in that way, but not all. The goal of this work is to make the notation consistent, and finally get rid of the gross hacks. Having whitespaces after -I does not matter since commit 48f6e3cf5bc6 ("kbuild: do not drop -I w...
2019 Mar 29
0
[PATCH v2] drm: prefix header search paths with $(srctree)/
On Fri, Mar 29, 2019 at 08:32:41PM +0900, Masahiro Yamada wrote: > Currently, the Kbuild core manipulates header search paths in a crazy > way [1]. > > To fix this mess, I want all Makefiles to add explicit $(srctree)/ to > the search paths in the srctree. Some Makefiles are already written in > that way, but not all. The goal of this work is to make the notation > consistent, and finally get rid of the gross hacks. > > Having whitespaces after -I does not matter since commit 48f6e3cf5bc6 > (...
2019 Apr 26
1
[PATCH v2] drm: prefix header search paths with $(srctree)/
Hi. On Fri, Mar 29, 2019 at 8:37 PM Masahiro Yamada <yamada.masahiro at socionext.com> wrote: > > Currently, the Kbuild core manipulates header search paths in a crazy > way [1]. > > To fix this mess, I want all Makefiles to add explicit $(srctree)/ to > the search paths in the srctree. Some Makefiles are already written in > that way, but not all. The goal of this work is to make the notation > consistent, and finally get rid of the gross hacks. > > Having whitespaces after -I does not matter since commit 48f6e3cf5bc6 > (&...
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 output directory> As an example, with these patches, one can call 'make' as follows (assuming /usr/local/src/linux-2.6 are kernel sources and o...
2019 Apr 26
2
[Intel-gfx] [PATCH v2] drm: prefix header search paths with $(srctree)/
...Kernel Mailing List > <linux-kernel at vger.kernel.org>; Christian König > <christian.koenig at amd.com>; Alex Deucher <alexander.deucher at amd.com>; > freedreno at lists.freedesktop.org > Subject: Re: [Intel-gfx] [PATCH v2] drm: prefix header search paths with > $(srctree)/ > > On Fri, 26 Apr 2019 at 11:46, Masahiro Yamada > <yamada.masahiro at socionext.com> wrote: > > > > Hi. > > > > > > On Fri, Mar 29, 2019 at 8:37 PM Masahiro Yamada > > <yamada.masahiro at socionext.com> wrote: > > > > > &g...
2019 Apr 26
0
[Intel-gfx] [PATCH v2] drm: prefix header search paths with $(srctree)/
...> <linux-kernel at vger.kernel.org>; Christian König > > <christian.koenig at amd.com>; Alex Deucher <alexander.deucher at amd.com>; > > freedreno at lists.freedesktop.org > > Subject: Re: [Intel-gfx] [PATCH v2] drm: prefix header search paths with > > $(srctree)/ > > > > On Fri, 26 Apr 2019 at 11:46, Masahiro Yamada > > <yamada.masahiro at socionext.com> wrote: > > > > > > Hi. > > > > > > > > > On Fri, Mar 29, 2019 at 8:37 PM Masahiro Yamada > > > <yamada.masahiro at socionex...
2019 Apr 26
0
[Intel-gfx] [PATCH v2] drm: prefix header search paths with $(srctree)/
...t; > > On Fri, Mar 29, 2019 at 8:37 PM Masahiro Yamada > <yamada.masahiro at socionext.com> wrote: > > > > Currently, the Kbuild core manipulates header search paths in a crazy > > way [1]. > > > > To fix this mess, I want all Makefiles to add explicit $(srctree)/ to > > the search paths in the srctree. Some Makefiles are already written in > > that way, but not all. The goal of this work is to make the notation > > consistent, and finally get rid of the gross hacks. > > > > Having whitespaces after -I does not matter since co...
2005 Jul 29
1
move kbuild files to reflect dir structure in kernel
...kernel/usr/klibc/socketcalls diff --git a/kernel/Kbuild b/kernel/Kbuild deleted file mode 100644 --- a/kernel/Kbuild +++ /dev/null @@ -1,87 +0,0 @@ -# -# kbuild file for usr/ - including initramfs image and klibc -# - -klibc definitions - to be moved to top-level Makefile later -export KLIBSRC := $(srctree)/$(src)/klibc -export KLIBINC := $(srctree)/$(src)/include - -obj-y := initramfs_data.o -always := klibc/libc.a -hostprogs-y := gen_init_cpio -clean-files := initramfs_data.cpio.gz initramfs_list - -# Descend down into klibc when cleaning -subdir- := klibc - -# Build klibc libra...
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.
2006 Apr 17
0
[PATCH] kbuild: support single targets for klibc and klibc programs
...--git a/Makefile b/Makefile index e469623..a3c4cb1 100644 --- a/Makefile +++ b/Makefile @@ -181,6 +181,11 @@ UTS_MACHINE := $(ARCH) # Architecture used to compile user-space code KLIBCARCH ?= $(subst powerpc,ppc,$(ARCH)) +# klibc definitions +export KLIBCINC := usr/include +export KLIBCSRC := $(srctree)/usr/klibc +export KLIBCOBJ := $(objtree)/usr/klibc + # SHELL used by kbuild CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \ else if [ -x /bin/bash ]; then echo /bin/bash; \ @@ -1283,39 +1288,42 @@ # Single targets are compatible with: # - build whith mixed source a...
2007 Jan 13
3
Permission denied by op
.../etc/op.access -r-------- 1 root wheel 149 Jan 13 07:41 /usr/local/etc/op.access % cat /usr/local/etc/op.access # 2007.01.13 # #DEFAULT users=src # chown /usr/sbin/chown $* ; users=src chmod /bin/chmod $* ; users=src rsync /usr/local/bin/rsync $* ; users=src # % id uid=1007(src) gid=1006(srctree) groups=1006(srctree) clue bat, please randy
2005 Dec 13
2
Parallel build of dash still fails
.../cd.c:259: warning: unused parameter ?argv? make[2]: *** [dash/cd.o] Error 1 make[2]: *** Waiting for unfinished jobs.... ... I'm pretty sure this is due to the rules of the following form ... # Generate nodes{.c + .h} quiet_cmd_mknodes = GEN $@ cmd_mknodes = cd $(obj); ./mknodes $(srctree)/$(src)/nodetypes \ $(srctree)/$(src)/nodes.c.pat $(obj)/nodes.c $(obj)/nodes.h: $(obj)/mknodes $(src)/nodetypes \ $(src)/nodes.c.pat $(call cmd,mknodes) ... which DO NOT do what one logically think they do. If executed in...
2006 Jun 26
0
[klibc 09/43] kbuild: support single targets for klibc and klibc programs
...--git a/Makefile b/Makefile index 897e647..ea1bae0 100644 --- a/Makefile +++ b/Makefile @@ -181,6 +181,11 @@ UTS_MACHINE := $(ARCH) # Architecture used to compile user-space code KLIBCARCH ?= $(subst powerpc,ppc,$(ARCH)) +# klibc definitions +export KLIBCINC := usr/include +export KLIBCSRC := $(srctree)/usr/klibc +export KLIBCOBJ := $(objtree)/usr/klibc + # SHELL used by kbuild CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \ else if [ -x /bin/bash ]; then echo /bin/bash; \ @@ -1281,39 +1286,42 @@ # Single targets are compatible with: # - build whith mixed source a...
2011 Aug 03
2
[PATCH v3 0/2] Support drop directories directly from kinit
This patchset applies to klibc mainline. This patchset introduces the ability to kinit to execute scripts or executable files present in in the initramfs before switching over to the root filesystem. This functionality is implemented in a newly introduced run_parts() call, which calls scandir() to iterate through files which in then executes in sequence. run_parts() is also available as a
2019 Jan 25
0
[klibc:master] Makefile: Honour KBUILD_SRC variable
...Ben Hutchings <ben at decadent.org.uk> AuthorDate: Fri, 25 Jan 2019 01:20:36 +0000 Committer: Ben Hutchings <ben at decadent.org.uk> CommitDate: Fri, 25 Jan 2019 02:38:03 +0000 [klibc] Makefile: Honour KBUILD_SRC variable Currently it's necessary to specify both KBUILD_SRC and srctree to make everything work properly in an out-of-tree build. It should only be necessary to specify KBUILD_SRC. Initialise srctree accordingly. Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/M...
2010 Feb 26
1
klibc pristine $(srctree) builds
Hi Peter, I'm looking at using klibc for a small initramfs for our production servers as a way for us to change a bunch of sysctls at boot as well as handle root= logic. To make my life easier in our build environment, I'd like to build klibc outside of the linux tree and in an always clean source tree (potentially a read-only nfs share), so I'd like to extend the build to support
2020 Jun 30
0
[PATCH 01/18] tools: bpf: Use local copy of headers including uapi/linux/filter.h
...mode 100644 tools/include/uapi/linux/filter.h diff --git a/tools/bpf/Makefile b/tools/bpf/Makefile index 6df1850f8353..8a69258fd8aa 100644 --- a/tools/bpf/Makefile +++ b/tools/bpf/Makefile @@ -9,7 +9,8 @@ MAKE = make INSTALL ?= install CFLAGS += -Wall -O2 -CFLAGS += -D__EXPORTED_HEADERS__ -I$(srctree)/include/uapi -I$(srctree)/include +CFLAGS += -D__EXPORTED_HEADERS__ -I$(srctree)/tools/include/uapi \ + -I$(srctree)/tools/include # This will work when bpf is built in tools env. where srctree # isn't set and when invoked from selftests build, where srctree diff --git a/tools/include/ua...
2019 Jan 18
0
[klibc:master] Kbuild: Remove KLIBCKERNELOBJ variable
...h/ppc64/MCONFIG | 3 --- usr/klibc/arch/riscv64/MCONFIG | 2 -- usr/klibc/arch/x86_64/MCONFIG | 3 --- 7 files changed, 3 insertions(+), 21 deletions(-) diff --git a/Makefile b/Makefile index 4386135..a11d1e6 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,6 @@ export VERSION := $(shell cat $(srctree)/$(KLIBCSRC)/version) export KLIBCINC := usr/include export KLIBCOBJ := usr/klibc export KLIBCKERNELSRC ?= linux -export KLIBCKERNELOBJ ?= $(KLIBCKERNELSRC) export VPATH := $(srctree) @@ -135,7 +134,6 @@ help: @echo @echo 'Build options:' @echo 'KLIBCKERNELSRC - Path to a...
2020 Jul 10
0
[PATCH v3 01/19] tools: bpf: Use local copy of headers including uapi/linux/filter.h
...mode 100644 tools/include/uapi/linux/filter.h diff --git a/tools/bpf/Makefile b/tools/bpf/Makefile index 6df1850f8353..8a69258fd8aa 100644 --- a/tools/bpf/Makefile +++ b/tools/bpf/Makefile @@ -9,7 +9,8 @@ MAKE = make INSTALL ?= install CFLAGS += -Wall -O2 -CFLAGS += -D__EXPORTED_HEADERS__ -I$(srctree)/include/uapi -I$(srctree)/include +CFLAGS += -D__EXPORTED_HEADERS__ -I$(srctree)/tools/include/uapi \ + -I$(srctree)/tools/include # This will work when bpf is built in tools env. where srctree # isn't set and when invoked from selftests build, where srctree diff --git a/tools/include/ua...