Displaying 20 results from an estimated 38 matches for "klibckernelobj".
2013 Dec 26
2
[PATCH] Update header locations for uapi & generated
...d, 24 insertions(+), 6 deletions(-)
diff --git a/scripts/Kbuild.klibc b/scripts/Kbuild.klibc
index f500d53..989a065 100644
--- a/scripts/Kbuild.klibc
+++ b/scripts/Kbuild.klibc
@@ -77,7 +77,10 @@ KLIBCLDFLAGS :=
KLIBCCFLAGS :=
# Defaults for arch to override
-KLIBCARCHINCFLAGS = -I$(KLIBCKERNELOBJ)/arch/$(KLIBCARCH)/include
+KLIBCARCHINCFLAGS = -I$(KLIBCKERNELOBJ)/arch/$(KLIBCARCH)/include/uapi \
+ -I$(KLIBCKERNELOBJ)/arch/$(KLIBCARCH)/include/generated/uapi \
+ -I$(KLIBCKERNELOBJ)/arch/$(KLIBCARCH)/include/generated \
+ -I$(KLIBCKERNE...
2019 Jan 18
0
[klibc:master] Kbuild: Remove KLIBCKERNELOBJ variable
...p=libs/klibc/klibc.git;a=commit;h=ad72c27485b86171153ab26a1c1035f8e9bbd5e3
Author: 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-o...
2017 Jan 04
0
[lkp-developer] [lib] 0c5a9920fb: WARNING:at_lib/test_linktables/test-linktables.c:#test_linktable_init
...figure out but I am stuck!
diff --git a/scripts/Kbuild.klibc b/scripts/Kbuild.klibc
index f500d5358ef6..b825daeb8277 100644
--- a/scripts/Kbuild.klibc
+++ b/scripts/Kbuild.klibc
@@ -77,7 +77,8 @@ KLIBCLDFLAGS :=
KLIBCCFLAGS :=
# Defaults for arch to override
-KLIBCARCHINCFLAGS = -I$(KLIBCKERNELOBJ)/arch/$(KLIBCARCH)/include
+KLIBCARCHINCFLAGS = -I$(KLIBCKERNELOBJ)/arch/$(KLIBCARCH)/include \
+ -I$(KLIBCKERNELOBJ)/arch/$(KLIBCARCH)/include/uapi
# Arch specific definitions for klibc
include $(srctree)/$(KLIBCSRC)/arch/$(KLIBCARCHDIR)/MCONFIG
@@ -114,6 +115,7 @@ KLIBCCPPFLAGS := -no...
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 KLIBCKERNELSRC to be consi...
2006 Feb 09
0
Dash fails to link with KLIBCKERNELOBJ set
Hi,
From the Makefile I figured that to build klibc where the kernel was
built with O=/someotherdir, you need to do:
make KLIBCKERNELOBJ=/someotherdir KBUILD_SRC=1
Everything seems fine though, but it fails to link dash with:
-----
KLIBCCC dash/bltin/printf.o
KLIBCCC dash/system.o
KLIBCCC dash/bltin/test.o
KLIBCCC dash/bltin/times.o
KLIBCCC dash/var.o
GEN dash/init.c
KLIBCCC dash/init.o
KLIBCLD dash/sh
KLIBCL...
2013 Aug 21
3
Build problems: klibc with Linux 3.10.7
...ow 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 := -nostdinc -iwithprefix include \
# kernel include paths
KLIBCKERNELSRC ?= $(srctree)
KLIBCKERNELOBJ ?= $(objtree)
-KLIBCCPPFLAGS += -I$(KLIBCKERNELSRC)/include \
+KLIBCCPPFLAGS += -I$(KLIBCKERNELSRC)/usr/include \
$(if $(KBUILD_SRC),-I$(KLIBCKERNELOBJ)/include2 \
-I$(KLIBCKERNELOBJ)/include -I$(srctree)/include) \
$(KLIBCARCHINC...
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
+++...
2013 Aug 21
3
Build problems: klibc with Linux 3.10.7
Le 21/08/2013 17:36, leroy christophe a ?crit :
>
> Le 21/08/2013 17:15, maximilian attems a ?crit :
>> On Wed, Aug 21, 2013 at 01:39:50PM +0200, leroy christophe wrote:
>>> Le 21/08/2013 12:20, maximilian attems a ?crit :
>>>> On Tue, Aug 20, 2013 at 07:44:39AM +0200, leroy christophe wrote:
>>>>> Find attached two patches I have in order to build
2011 Mar 10
1
[PATCH] Remove .config directory dependency
Previously klibc $(objtree)/.config depended on the kernel output
directory. This would cause 'defconfig has changed, please remove or
edit .config' build errors if $(KLIBCKERNELOBJ) directory was modified.
This directory dependency is a false dependency that does not indicate
that the target, $(objtree)/.config, needs to be regenerated.
Signed-off-by: Greg Thelen <gthelen at google.com>
---
Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --g...
2012 Jun 27
1
To build klibc against kernel 3.4.3
...ddition to "asm/".
--- a/usr/klibc/arch/x86_64/MCONFIG
+++ b/usr/klibc/arch/x86_64/MCONFIG
@@ -36,4 +36,4 @@ KLIBCLDFLAGS = -m elf_x86_64
KLIBCSHAREDFLAGS = -Ttext 0x00200200 -z max-page-size=0x100000
# Asm includes for x86_64 are in the merged x86 tree
-KLIBCARCHINCFLAGS = -I$(KLIBCKERNELOBJ)/arch/x86/include
+KLIBCARCHINCFLAGS = -I$(KLIBCKERNELOBJ)/arch/x86/include -I$(KLIBCKERNELOBJ)/arch/x86/include/generated
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.zytor.com/pipermail/klibc/attachments/20120627/cdb4c349/attachment.html>
2013 Aug 21
0
Build problems: klibc with Linux 3.10.7
...e install step c.
--
maks
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 := -nostdinc -iwithprefix include \
# kernel include paths
KLIBCKERNELSRC ?= $(srctree)
KLIBCKERNELOBJ ?= $(objtree)
-KLIBCCPPFLAGS += -I$(KLIBCKERNELSRC)/include \
+KLIBCCPPFLAGS += -I$(KLIBCKERNELSRC)/usr/include \
$(if $(KBUILD_SRC),-I$(KLIBCKERNELOBJ)/include2 \
-I$(KLIBCKERNELOBJ)/include -I$(srctree)/include) \
$(KLIBCARCHINC...
2019 Jan 21
0
Fwd: Re: Build problems: klibc with Linux 3.10.7
...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 := -nostdinc -iwithprefix include \
# kernel include paths
KLIBCKERNELSRC ?= $(srctree)
KLIBCKERNELOBJ ?= $(objtree)
-KLIBCCPPFLAGS += -I$(KLIBCKERNELSRC)/include \
+KLIBCCPPFLAGS += -I$(KLIBCKERNELSRC)/usr/include \
$(if $(KBUILD_SRC),-I$(KLIBCKERNELOBJ)/include2
\
-I$(KLIBCKERNELOBJ)/include -I$(srctree)/include) \
$(KLIBCAR...
2010 Mar 02
17
[PATCH 00/16] External building, update for 2.6.33 and multiple root devices.
...uilding
=================
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 object files and
/usr/local/src/klibc are pristine klibc sources):
$ cd /tmp
$ mkdir klibc-obj
$ cd klibc-obj
$ make KLIBCKERNELSRC=/...
2009 Jul 17
0
[PATCH] Use headers_install to install headers
...:
$(Q)mkdir -p $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)include
$(Q)mkdir -p $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)lib
$(Q)mkdir -p $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)bin
- $(Q)set -e ; for d in linux asm asm-$(KLIBCARCH) asm-generic $(ASMKLIBCARCH); do \
- for r in $(KLIBCKERNELSRC)/include $(KLIBCKERNELOBJ)/include \
- $(KLIBCKERNELOBJ)/include2 ; do \
- [ ! -d $$r/$$d ] && continue; \
- mkdir -p $(INSTALLROOT)$(INSTALLDIR)/$(KLIBCCROSS)include/$$d ; \
- cp -rfL $$r/$$d/. \
- $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)include/$$d/. ; \
- done ; \
- done
- $(Q)cd $...
2007 Dec 11
0
[git patch] kinit fix, header install cleanup
...DIR)/$(KCROSS)bin
- $(Q)set -e ; for d in linux scsi asm-$(KLIBCARCH) asm-generic $(ASMKLIBCARCH); do \
- mkdir -p $(INSTALLROOT)$(INSTALLDIR)/$(KLIBCCROSS)include/$$d ; \
+ $(Q)set -e ; for d in linux asm asm-$(KLIBCARCH) asm-generic $(ASMKLIBCARCH); do \
for r in $(KLIBCKERNELSRC)/include $(KLIBCKERNELOBJ)/include \
$(KLIBCKERNELOBJ)/include2 ; do \
- [ ! -d $$r/$$d ] || \
- cp -rfL $$r/$$d/. \
+ [ ! -d $$r/$$d ] && continue; \
+ mkdir -p $(INSTALLROOT)$(INSTALLDIR)/$(KLIBCCROSS)include/$$d ; \
+ cp -rfL $$r/$$d/. \
$(INSTALLROOT)$(INSTALLDIR)/$...
2009 Sep 15
1
[PATCH] add linux' arch/$ARCH/include to search path From: Marc Kleine-Budde <mkl@pengutronix.de> Date: Mon, 5 Jan 2009 17:46:47 +0100
...bc
@@ -104,6 +104,7 @@ KLIBCCPPFLAGS := -nostdinc -iwithprefix include \
# kernel include paths
KLIBCKERNELSRC ?= $(srctree)/
KLIBCCPPFLAGS += -I$(KLIBCKERNELSRC)include \
+ -I$(KLIBCKERNELSRC)/arch/$(KLIBCARCHDIR)/include \
$(if $(KBUILD_SRC),-I$(KLIBCKERNELOBJ)include2 -I$(KLIBCKERNELOBJ)include -I$(srctree)/include) \
$(KLIBCARCHINCFLAGS)
--
1.6.4.rc3.12.gdf73a
2008 Mar 25
2
bunch of small fixes
...DIR)/$(KCROSS)bin
- $(Q)set -e ; for d in linux scsi asm-$(KLIBCARCH) asm-generic $(ASMKLIBCARCH); do \
- mkdir -p $(INSTALLROOT)$(INSTALLDIR)/$(KLIBCCROSS)include/$$d ; \
+ $(Q)set -e ; for d in linux asm asm-$(KLIBCARCH) asm-generic $(ASMKLIBCARCH); do \
for r in $(KLIBCKERNELSRC)/include $(KLIBCKERNELOBJ)/include \
$(KLIBCKERNELOBJ)/include2 ; do \
- [ ! -d $$r/$$d ] || \
- cp -rfL $$r/$$d/. \
+ [ ! -d $$r/$$d ] && continue; \
+ mkdir -p $(INSTALLROOT)$(INSTALLDIR)/$(KLIBCCROSS)include/$$d ; \
+ cp -rfL $$r/$$d/. \
$(INSTALLROOT)$(INSTALLDIR)/$...
2018 Jul 17
0
[PATCH] x86_64: Reduce ld max-page-size option again
...0, but that also results
+# in a broken layout with binutils 2.30. Since there's no
+# architectural page size betwen 4 KB and 2MB, set it to 4 KB.
+KLIBCSHAREDFLAGS = -Ttext 0x00200200 -z max-page-size=0x1000
# Asm includes for x86_64 are in the merged x86 tree
KLIBCARCHINCFLAGS = -I$(KLIBCKERNELOBJ)/arch/x86/include
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 811 bytes
Desc: Digital signature
URL: <http://www.zytor.com/pipermail/klibc/attachments/20180717/4181465b/attachment.sig>
2019 Jan 05
0
x86_64: Use -Ttext-segment to avoid address collision
...there's no
# architectural page size betwen 4 KB and 2MB, set it to 4 KB.
-KLIBCSHAREDFLAGS = -Ttext 0x00200200 -z max-page-size=0x1000
+KLIBCSHAREDFLAGS = -Ttext-segment 0x00200000 -z max-page-size=0x1000
# Asm includes for x86_64 are in the merged x86 tree
KLIBCARCHINCFLAGS = -I$(KLIBCKERNELOBJ)/arch/x86/include
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://www.zytor.com/pipermail/klibc/attachments/20190105/ec33d90c/attachment.sig>
2019 Jan 18
0
[klibc:master] x86_64: Use -Ttext-segment to avoid address collision
...there's no
# architectural page size betwen 4 KB and 2MB, set it to 4 KB.
-KLIBCSHAREDFLAGS = -Ttext 0x00200200 -z max-page-size=0x1000
+KLIBCSHAREDFLAGS = -Ttext-segment 0x00200000 -z max-page-size=0x1000
# Asm includes for x86_64 are in the merged x86 tree
KLIBCARCHINCFLAGS = -I$(KLIBCKERNELOBJ)/arch/x86/include