search for: klibckernelsrc

Displaying 20 results from an estimated 66 matches for "klibckernelsrc".

2013 Aug 21
3
Build problems: klibc with Linux 3.10.7
...d, 5 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 0a3ee69..8870bd6 100644 --- a/Makefile +++ b/Makefile @@ -136,7 +136,7 @@ help: @echo 'make V=2 [targets] 2 => give reason for rebuild of target' @echo @echo 'Sample invocation:' - @echo 'make KLIBCKERNELSRC=`pwd`/../linux/usr/' + @echo 'make KLIBCKERNELSRC=`pwd`/../linux/' ### # allow one to say make dir/file.o diff --git a/scripts/Kbuild.klibc b/scripts/Kbuild.klibc index f500d53..dcfa7d7 100644 --- a/scripts/Kbuild.klibc +++ b/scripts/Kbuild.klibc @@ -113,7 +113,7 @@ KLIBCCPPFLAGS...
2019 Jan 07
4
[PATCH klibc 0/4] Fix the KLIBCKERNEL{SRC,OBJ} mess
We currently use KLIBCKERNELSRC and KLIBCKERNELOBJ variables which used to be required to point to a kernel source and object directories. However the kernel headers were reorganised starting in Linux 3.7 such that that doesn't work properly. This series removes KLIBCKERNELOBJ and changes the use and documentation of KLIBCKE...
2013 Aug 21
3
Build problems: klibc with Linux 3.10.7
...le. >>>> >>>> just use the way it is described in `make help': >>>> >>>> A) cd ~/src/linux >>>> make defconfig >>>> make headers_install >>>> >>>> B) cd ~/src/klibc >>>> make KLIBCKERNELSRC=`pwd`/../linux/usr/ >>>> >>>> >>> Sorry, but without my patchs, 'make install' fails with the >>> following message (complete messages file attached) >>> >>> # make install V=1 KLIBCARCH=ppc CROSS_COMPILE=ppc-linux- >>> KL...
2019 Jan 18
0
[klibc:master] Makefile: Update help text for KLIBCKERNELSRC
...bc.git;a=commit;h=42be2beaa876e041d6c1a1eb5bb3b81b9e8242ac Author: Ben Hutchings <ben at decadent.org.uk> AuthorDate: Sun, 6 Jan 2019 20:54:43 +0000 Committer: Ben Hutchings <ben at decadent.org.uk> CommitDate: Fri, 18 Jan 2019 03:10:14 +0000 [klibc] Makefile: Update help text for KLIBCKERNELSRC Since the UAPI/KAPI header split in Linux 3.7, we have needed KLIBCKERNELSRC to point to the installed UAPI headers. The "sample invocation" has been updated to reflect this but the rest of the help text has not. Link: https://www.zytor.com/pipermail/klibc/2019-January/004032.html Sign...
2019 Feb 01
0
[klibc:master] Makefile: Check for $(KLIBCKERNELSRC)/include directory
.../klibc/klibc.git;a=commit;h=0959d3e5a37096f4f110362b46cd7ecc678bf44c Author: Ben Hutchings <ben at decadent.org.uk> AuthorDate: Fri, 1 Feb 2019 23:51:24 +0100 Committer: Ben Hutchings <ben at decadent.org.uk> CommitDate: Sat, 2 Feb 2019 00:09:23 +0100 [klibc] Makefile: Check for $(KLIBCKERNELSRC)/include directory We need installed UAPI headers, so check slightly further. Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index a60161cc..0df463a5 100644 --- a/Makefile +++...
2019 Jan 18
0
[klibc:master] Makefile: Add dependencies on $(KLIBCKERNELSRC)
...c.git;a=commit;h=c76d1e32379835dcc0e66c8874b0a384bf1ac5cf Author: Ben Hutchings <ben at decadent.org.uk> AuthorDate: Sun, 6 Jan 2019 21:11:05 +0000 Committer: Ben Hutchings <ben at decadent.org.uk> CommitDate: Fri, 18 Jan 2019 03:10:14 +0000 [klibc] Makefile: Add dependencies on $(KLIBCKERNELSRC) The error message for a missing $(KLIBCKERNELSRC) won't appear unless it's specified as a target or something depends on it. Make the klcc and klibc targets depend on it. Link: https://www.zytor.com/pipermail/klibc/2019-January/004030.html Signed-off-by: Ben Hutchings <ben at decaden...
2019 Jan 21
0
Fwd: Re: Build problems: klibc with Linux 3.10.7
...5 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 0a3ee69..8870bd6 100644 --- a/Makefile +++ b/Makefile @@ -136,7 +136,7 @@ help: @echo 'make V=2 [targets] 2 => give reason for rebuild of target' @echo @echo 'Sample invocation:' - @echo 'make KLIBCKERNELSRC=`pwd`/../linux/usr/' + @echo 'make KLIBCKERNELSRC=`pwd`/../linux/' ### # allow one to say make dir/file.o diff --git a/scripts/Kbuild.klibc b/scripts/Kbuild.klibc index f500d53..dcfa7d7 100644 --- a/scripts/Kbuild.klibc +++ b/scripts/Kbuild.klibc @@ -113,7 +113,7 @@ KLIBCCPPFLAGS...
2013 Dec 27
2
[PATCH] Update header locations for uapi & generated
On 12/26/2013 08:49 PM, Robin H. Johnson wrote: > > in the kernel dir: > emake headers_install INSTALL_HDR_PATH="${WORKDIR}"/linux-headers/ You are overriding INSTALL_HDR_PATH... > in the klibc dir: > emake V=1 KLIBCKERNELSRC="${S}/linux/usr" (plus the rest of the opts) ... and then you point KLIBCKERNELSRC (which arguably is misnamed these days, but changing it would break other people) elsewhere. -hpa
2015 Mar 11
1
Patch: Kbuild.install: *** No rule to make target `headers_install'.
...nd git Kernel tested: 3.10.70 Description: make install fails with: No rule to make target `headers_install'. File impacted: scripts/Kbuild.install Error Received: make[2]: *** No rule to make target `headers_install'. Stop. make[1]: *** [header] Error 2 make: *** [install] Error 2 Issue: KLIBCKERNELSRC=`pwd`/linux/usr points to Makefile without headers_install rule. Kbuild.install uses wrong Makefile. Line 81: $(Q)$(MAKE) -C $(KLIBCKERNELSRC) ARCH=$(KLIBCARCH) INSTALL_HDR_PATH=$(INSTALLROOT)$(INSTALLDIR)/$(KCROSS) headers_install headers_install is not in linux/usr. It is in linux base d...
2013 Aug 21
2
[klibc:master] README.klibc: update build information
...ing "make headers_install" for the appropriate architecture, - and then making a symlink to the "usr" subdirectory of that directory - tree. +a) Extract a recent Linux kernel into a directory and run + "make headers_install". + Now enter the klibc dir and point KLIBCKERNELSRC to the + path of the configured linux tree + "make KLIBCKERNELSRC=`pwd`/../linux/usr/". + b) If you're cross-compiling, you need to set KLIBCARCH to the appropriate architecture, and set CROSS_COMPILE to your toolchain @@ -66,9 +65,7 @@ b) If you're cross-compiling, yo...
2019 Feb 01
0
[klibc:master] Simplify build instructions
...| 8 ++++---- usr/klibc/README.klibc | 27 +++++++++++++++++---------- 2 files changed, 21 insertions(+), 14 deletions(-) diff --git a/Makefile b/Makefile index 0df463a5..c99b962f 100644 --- a/Makefile +++ b/Makefile @@ -99,10 +99,10 @@ $(objtree)/.config: $(srctree)/defconfig @false $(KLIBCKERNELSRC)/include: - @echo "Cannot find kernel UAPI headers." - @echo "Either make a 'linux' symlink point to the usr subdirectory " - @echo "of a kernel tree with headers installed for the $(KLIBCARCH) " - @echo "architecture or specify KLIBCKERNELSRC=<path>...
2019 Jan 18
0
[klibc:master] Kbuild: Remove KLIBCKERNELOBJ variable
...Ben Hutchings <ben at decadent.org.uk> AuthorDate: Sun, 6 Jan 2019 20:50:56 +0000 Committer: Ben Hutchings <ben at decadent.org.uk> CommitDate: Fri, 18 Jan 2019 03:10:14 +0000 [klibc] Kbuild: Remove KLIBCKERNELOBJ variable Since the UAPI/KAPI header split in Linux 3.7, we have needed KLIBCKERNELSRC to point to the installed UAPI headers. This makes KLIBCKERNELOBJ and the extra header directories based on it completely redundant. Link: https://www.zytor.com/pipermail/klibc/2019-January/004031.html Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- Makefile...
2013 Aug 21
0
Build problems: klibc with Linux 3.10.7
...6:03:41PM +0200, leroy christophe wrote: <snipp stuff> > >>>> > >>>>A) cd ~/src/linux > >>>> make defconfig > >>>> make headers_install > >>>> > >>>>B) cd ~/src/klibc > >>>> make KLIBCKERNELSRC=`pwd`/../linux/usr/ > >>>> > >>>> > >>>Sorry, but without my patchs, 'make install' fails with the > >>>following message (complete messages file attached) > >>> > >>># make install V=1 KLIBCARCH=ppc CROSS_COMPILE...
2013 Aug 21
0
[klibc:master] README.klibc: update build information
...stall" for the appropriate architecture, > - and then making a symlink to the "usr" subdirectory of that directory > - tree. > +a) Extract a recent Linux kernel into a directory and run > + "make headers_install". > + Now enter the klibc dir and point KLIBCKERNELSRC to the > + path of the configured linux tree > + "make KLIBCKERNELSRC=`pwd`/../linux/usr/". > + If I may, this is still too confusing; the bit about making the symlink to the kernel headers is gone. And the symlink must be in the klibc source root dir (usr/klibc/../..),...
2013 Aug 21
2
Build problems: klibc with Linux 3.10.7
.... > >> > >those patches are wrong and again very brittle. > > > >just use the way it is described in `make help': > > > >A) cd ~/src/linux > > make defconfig > > make headers_install > > > >B) cd ~/src/klibc > > make KLIBCKERNELSRC=`pwd`/../linux/usr/ > > > > > Sorry, but without my patchs, 'make install' fails with the > following message (complete messages file attached) > > # make install V=1 KLIBCARCH=ppc CROSS_COMPILE=ppc-linux- > KLIBCKERNELSRC=/root/gen/trunk/knl/linux/usr/ > pref...
2013 Dec 27
0
[PATCH] Update header locations for uapi & generated
...6PM -0800, H. Peter Anvin wrote: > > in the kernel dir: > > emake headers_install INSTALL_HDR_PATH="${WORKDIR}"/linux-headers/ > You are overriding INSTALL_HDR_PATH... I want it to use that copy in $WORKDIR/linux-headers/ .... There is no way to specify that, it's NOT KLIBCKERNELSRC. > > in the klibc dir: > > emake V=1 KLIBCKERNELSRC="${S}/linux/usr" (plus the rest of the opts) > ... and then you point KLIBCKERNELSRC (which arguably is misnamed these > days, but changing it would break other people) elsewhere. >From klibc-2.0.3/usr/klibc/README...
2013 Dec 26
2
[PATCH] Update header locations for uapi & generated
...(KLIBCARCH)/include/generated \ + -I$(KLIBCKERNELOBJ)/arch/$(KLIBCARCH)/include # Arch specific definitions for klibc include $(srctree)/$(KLIBCSRC)/arch/$(KLIBCARCHDIR)/MCONFIG @@ -113,7 +116,10 @@ KLIBCCPPFLAGS := -nostdinc -iwithprefix include \ # kernel include paths KLIBCKERNELSRC ?= $(srctree) KLIBCKERNELOBJ ?= $(objtree) -KLIBCCPPFLAGS += -I$(KLIBCKERNELSRC)/include \ +KLIBCCPPFLAGS += -I$(KLIBCKERNELSRC)/include/uapi \ + -I$(KLIBCKERNELSRC)/include/generated/uapi \ + -I$(KLIBCKERNELSRC)/include/generated...
2012 Feb 06
1
[PATCH] Fix kernel headers install
headers_install needs KLIBCKERNELOBJ instead of KLIBCKERNELSRC Signed-off-by: Karl Beldan <karl.beldan at gmail.com> --- scripts/Kbuild.install | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/scripts/Kbuild.install b/scripts/Kbuild.install index 370b54e..fd4a2ed 100644 --- a/scripts/Kbuild.install +++ b/scripts/Kbuild.install...
2013 Aug 19
3
Build problems: klibc with Linux 3.10.7
...k really wants to be in the root of the source archive (klibc-2.0.2/linux), not in usr/ (klibc-2.0.2/usr/linux) (the dir above the one where README.klibc is found). In Kbuild.install, 'INSTALLROOT' is what many (most?) packages call DESTDIR: an alternate install dir to prepare pkgs. And KLIBCKERNELSRC is the path to the kernel sources. In my case, this is /build/sources/linux/linux-3.10.7 (in the jail). There's an oddity in how include dirs are specified. First, an absolute 'relative' dir and it's companion: -I/build/sources/klibc/klibc-2.0.2/usr/klibc/../include -Iusr/kl...
2019 Feb 01
0
[klibc:master] README.klibc: Replace list with sections and headings
...a work in progress, and a lot of things are still missing. +Building +======== The build procedure is not very polished yet, but it should work like this: -a) Extract a recent Linux kernel into a directory and run - "make headers_install". - Now enter the klibc dir and point KLIBCKERNELSRC to the - usr subdirectory of the configured linux tree - "make KLIBCKERNELSRC=`pwd`/../linux/usr/". +Extract a recent Linux kernel into a directory and run +"make headers_install". +Now enter the klibc dir and point KLIBCKERNELSRC to the +usr subdirectory of the configured...