Displaying 20 results from an estimated 10000 matches similar to: "Introduce kbuild for klibc?"
2006 Apr 11
6
klibc kbuild status
Hi hpa & others.
Following is a list of issues that I hope to be addressed soon so
we are in even better shape for -mm inclusion.
1) rebuild initramfs when content changes.
> It is a simple matter of copying in usr/Makefile from the latest
> -linus kernel and replace the 10 first lines with the content from
> klibc Kbuild file.
2) havesyscalls.h is not deleted after make
2006 Jul 09
6
[PATCH/RFC] klibc/kbuild: use separate kbuild files for each klibc subdirectory
This fixes a long standing issue where it was not possible to
do "make usr/klibc/arch/x86_64/longjmp.o" in the kernel.
The principle is that all .o files to be part of klibc are listed
with klib-y. For each directory a klib.list file is made that specify
all .o file and the final AR then adds all .o files to create libc.a.
This patch introduce the infrastructure and converts x86_64 to
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 Jan 31
1
[patch] Kbuild.klibc don't hardcode gcc version
sparc still needs gcc-3.3 for a working run-init.
belows makes use of the exported CC var.
Signed-off-by: maximilian attems <maks@sternwelten.at>
diff --git a/scripts/Kbuild.klibc b/scripts/Kbuild.klibc
index 66e16e7..70e4071 100644
--- a/scripts/Kbuild.klibc
+++ b/scripts/Kbuild.klibc
@@ -72,7 +72,7 @@ KLIBCROSS := $(CROSS_COMPILE)
# binutils
KLIBCLD := $(KLIBCROSS)ld
2003 Oct 05
1
kbuild improvements for klibc
Hi all.
I have pushed my earlier announced kbuild improvements patch to:
bk://linux-sam.bkbits.net/2.5-klibc
First cset is the earlier posted cset, whit a few small modifications.
One important change is that the usr/Makefile now uses *.a files
in initramfs-y assignment. I realised that the purpose was to express
what kinit were using / referring.
Second cset is a trivial cset that just move
2005 Jul 26
2
[PATCH] better kbuild integration
Following patch improves integration with kbuild.
With a future kernel (2.6.14-rc) it now has working support
for 'make clean'.
Included is an example of how to compile an early userspace program.
I selected gzip as the most simple one for this - and left out all
the links to different names (gunzip etc.)
Before proceeding with this I need some inputs on what functionality
is required by
2011 Aug 03
2
Kbuild dash headers generation
hello Sam,
tried to sync current git dash for klibc,
but failed on this Kbuild step.
The attached patch can be applied with the
following:
git am --directory="usr/dash" --exclude="usr/dash/configure.ac" \
--exclude="usr/dash/ChangeLog" --exclude="usr/dash/dash.1" \
--exclude="usr/dash/Makefile.am"
2012 May 17
5
[PATCH 1/1] kbuild: sync with kernel 3.4-rc7
>From fe2f292cdc62104f21e9880516176c51a7f17622 Mon Sep 17 00:00:00 2001
From: Sam Ravnborg <sam at ravnborg.org>
Date: Thu, 17 May 2012 22:56:00 +0200
Subject: [PATCH 1/1] kbuild: sync with kernel 3.4-rc7
Update Kbuild.include and fixup Kbuild.klibc.
This fixes a bug where all files are rebuild each time we invoke make.
Signed-off-by: Sam Ravnborg <sam at ravnborg.org>
---
I
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 May 08
2
Fw: kbuild: fix gen_initramfs_list.sh
Hi hpa.
This change is obviously valid for your integrated kernel-klibc tree.
But it may result in some manual merge.
Just a FYI
Sam
----- Forwarded message from Linux Kernel Mailing List <linux-kernel@vger.kernel.org> -----
Subject: kbuild: fix gen_initramfs_list.sh
Sender: git-commits-head-owner@vger.kernel.org
From: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
2006 Apr 15
1
[PATCH] klibc: fix gen_initramfs_init.sh when using -d
gen_initramfs_list.sh failed to generate a dependency list when
it was supplied the -d option.
Restructured gen_initramfs_list.sh to support dependency info with -d.
This also fixes a bug where we did not properly process
when more than one dir was specified.
Finally update dependency info for the -d case (list_default_initramfs)
In usr/Kbuild remove "" around CONFIG_RAMFS_SOURCE so the
2016 Dec 09
1
[PATCH v6 1/2] sparc: fix a building error reported by kbuild
Hi Gonglei.
On Thu, Dec 08, 2016 at 12:37:08PM +0800, Gonglei wrote:
> >> arch/sparc/include/asm/topology_64.h:44:44:
> error: implicit declaration of function 'cpu_data'
> [-Werror=implicit-function-declaration]
>
> #define topology_physical_package_id(cpu) (cpu_data(cpu).proc_id)
> ^
> Let's include
2016 Dec 09
1
[PATCH v6 1/2] sparc: fix a building error reported by kbuild
Hi Gonglei.
On Thu, Dec 08, 2016 at 12:37:08PM +0800, Gonglei wrote:
> >> arch/sparc/include/asm/topology_64.h:44:44:
> error: implicit declaration of function 'cpu_data'
> [-Werror=implicit-function-declaration]
>
> #define topology_physical_package_id(cpu) (cpu_data(cpu).proc_id)
> ^
> Let's include
2003 Jun 09
1
klibc integration status
Hi, Greg -
I have a 2.5.70 BK repository, with klibc integrated, at:
bk://klibc.bkbits.net/2.5-klibc
This repo has the following features:
* Completely up-to-date w.r.t. klibc itself.
* Kbuild sort of happy, but still needs an eyeball from Kai to
figure out why it always rebuilds everything in usr/.
* Supports both IP autoconfig and NFS root from initramfs.
2020 Apr 29
2
[PATCH klibc 1/3] Revert " Kbuild: Tell gas we don't want executable stacks"
This reverts commit 9d8d648e604026b32cad00a84ed6c29cbd157641, which
broke signal handing on some architectures.
On m68k and parisc, signal return depends on a trampoline that the
kernel writes on the stack. On alpha, s390, and sparc (32-bit), we
can avoid this by providing our own function as sa_restorer, but we
currently don't.
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
2004 Jul 23
1
klibc integrated in the kernel
This seem to be a good timing taking up the integration of klibc in the kernel again.
Based one klibc-0.152 and klibc.bkbits.net/2.5-klibc I will take a shot of it.
I will focus on getting the library compiled (should be pretty straighforward).
Next two steps are:
2) Adding minimum applications to the kernel (if any)
3) Support applications outside the kernel
I will put my work on bkbits.net
2006 Apr 05
1
[patch] Kbuild don't hardcode gcc and binutils version
On Wed, Apr 05, 2006 at 10:45:51PM +0200, maximilian attems wrote:
[Received a forward of this mail and I had deleted the original one.
So your reply-chain is broken].
>
> sparc still needed to build with gcc-3.3
> belows makes use of the exported CC variable.
>
> also export the binutils for consistency,
> added the missing ones too for klcc.
>
>
> diff --git
2003 Nov 29
1
[PATCH] ash not make -j safe, make spotless updates
some files depend on nodes.h, but there is no dependency for that fact.
olaf@mandarine:~/klibc-0.87> grep -Er 'include.*nodes.h' ash/ | sed 's-^[^/]\+/\([^.]*\).*-\1.o-' | xargs echo OBJ_NODES =
OBJ_NODES = cd.o eval.o exec.o expand.o jobs.o main.o nodes.o options.o parser.o redir.o show.o trap.o var.o
make spotless doesnt work reliable, the patch adds a few more targets.
Is
2005 Jul 31
0
[patch] kbuild: build all targets in gzip
The gzip program had a few aliases - using ln to reach them.
Build these.
Also introduce gzip.stripped since it was present in the original
Makefile.
To support this a few new rules was added to scripts/Kbuild.klibc
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
---
commit e7daa9d72c3c7ea2cf23ff34bf601989ced7c6e1
tree 15adb0ed586e264a41fc4b419a71d903faa1a9ca
parent
2017 Dec 30
6
building debug version of klibc
Hello!
Can someone please help me in building debug version of klibc ?
I've cloned git://git.kernel.org/pub/scm/libs/klibc/klibc.git , but
failed to build it with debug info
added "-g" to HOSTCFLAGS in Makefile, but
$ make -j KLIBCKERNELSRC=`pwd`/../linux-2.6/usr
still strips every debug symbol , and i'm failed to change
scripts/Kbuild.klibc and Makefile to remove strip