Displaying 20 results from an estimated 10000 matches similar to: "[PATCH] klibc/kbuild: fix warning: target '' given more than once"
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
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 29
1
move kbuild files to reflect dir structure in kernel
To make it more obvious where the files are supposed to end up
move files so they reflect the directory structure in the kernel:
mkdir scripts
mv kernel/Kbuild.* scripts/
mkdir usr
mv kernel/Kbuild usr
rmdir kernel
Furthermore:
- updated cp-to-kernel to refelct new directory layout
- teach cp-to-kernel to place gzip right under usr/
- Add '#' in front of comment in usr/Kbuild
---
I
2005 Aug 07
0
kbuild: add klibc/tests
kbuild: add klibc/tests to kbuild
Add a kbuild file so we now can build the test programs.
A new dedicated target is used:
make test
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
---
commit 5492ae07007399d8838dea5f44b3d9cf3603abc3
tree 4339d2d3aa0e80bc81ac0cd8ca3b7c89486b2150
parent 64dda666c087b6e537892ac9984aff57d2b32c47
author Sam Ravnborg <sam@mars.(none)> Sun, 07 Aug 2005
2006 Jun 26
0
[klibc 19/43] klibc basic build infrastructure
Basic infrastructure for building klibc.
Signed-off-by: H. Peter Anvin <hpa at zytor.com>
---
commit 5bba564a5c133369b3e83e5827d053a98cb3c59a
tree 11f2acc1f9d845e8764fa790f522b79ea1106b80
parent 378abd8f4d39024ea6c87eb5b54155238f647f0d
author H. Peter Anvin <hpa at zytor.com> Sun, 25 Jun 2006 16:58:08 -0700
committer H. Peter Anvin <hpa at zytor.com> Sun, 25 Jun 2006 16:58:08
2006 Apr 17
0
[PATCH] kbuild: support single targets for klibc and klibc programs
With the following patch kbuild now supports:
make usr/dash/arith_yylex.i
make usr/klibc/umount.o
make usr/klibc/umount.s
Patch does also fix indention of CPP command
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
---
That was my number 5) item on the kbuild list (added by akpm).
Modulus the next bug hpa discover this should clear all kbuild
issues with klibc.
So I hope to see it in next
2006 Apr 17
0
[PATCH] klibc: rebuild cpio image when content changes
Generate dependencies almost like done by fixdep in the kernel.
This teaches make to rebuild cpio image when content has changed.
Also restructured usr/Kbuild a little so we better utilise parallel
makes (dash, gzip, utils and kinit are now build in parallel).
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
---
patch is on top of hpa's linux tree, so path differ if applied to the
klibc
2019 Jan 18
0
[klibc:master] add more PHONY targets to $(PHONY)
Commit-ID: edee9092e32482a06cc441cf47ae78b5e7c4a621
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=edee9092e32482a06cc441cf47ae78b5e7c4a621
Author: Greg Thelen <gthelen at google.com>
AuthorDate: Tue, 26 Jun 2018 22:38:32 -0700
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Wed, 2 Jan 2019 03:08:04 +0000
[klibc] add more PHONY targets to
2006 Jun 26
0
[klibc 09/43] kbuild: support single targets for klibc and klibc programs
With the following patch kbuild now supports:
make usr/dash/arith_yylex.i
make usr/klibc/umount.o
make usr/klibc/umount.s
Patch does also fix indention of CPP command
Signed-off-by: Sam Ravnborg <sam at ravnborg.org>
Signed-off-by: H. Peter Anvin <hpa at zytor.com>
---
commit a36102c485caf951294301425ee8e87aa6ab4d92
tree 88d3e4aebe253cb3d6c417eac3cd2c1fa14db694
parent
2006 Apr 09
0
[PATCH] kbuild: fix usr/Kbuild to use new usr/gen_initramfs.sh
Fix usr/Kbuild so it utilise the new gen_initramfs.sh script
which will rebuild initramfs when the content has changed.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
---
usr/Kbuild | 74 +++++++++++++++++++----------------------------------------------
1 file changed, 22 insertions(+), 52 deletions(-)
This patch shall not be applied until my kbuild.git tree is merged
upstream. Or it
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
2018 Jun 27
0
[PATCH] add more PHONY targets to $(PHONY)
make-3.81 excludes PHONY dependencies from $?, make 3.82+ includes them.
This leads to always rebuilding klibc targets that depend on .PHONY
dependencies. From the make 3.82 release notes
https://lists.gnu.org/archive/html/info-gnu/2010-07/msg00023.html:
* WARNING: Backward-incompatibility!
The '$?' variable now contains all prerequisites that caused the target to
be
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
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>
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.
2020 Aug 29
0
[klibc:riscv64-enable-relax] Kbuild, klcc: Support multiple objects in KLIBCCRTSHARED
Commit-ID: 95a3123c94abc28c65f33c9589693dde9f140fe1
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=95a3123c94abc28c65f33c9589693dde9f140fe1
Author: Ben Hutchings <ben at decadent.org.uk>
AuthorDate: Sat, 29 Aug 2020 22:29:52 +0100
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sat, 29 Aug 2020 22:53:10 +0100
[klibc] Kbuild, klcc: Support
2005 Jul 27
2
Introduce kbuild for klibc?
Hi hpa and others.
With my ongoing work to prepare for potential integration of klibc in
the kernel I wonder if there wold be any interest in using part of the
kbuild infrastructure to build the vanilla klibc?
The rationale is obvious:
- common codebase for Kbuild files, so one only has to fix things in one
place
- I force klibc developers to create Kbuild files usable in the kernel
- Much
2005 Jul 28
0
[PATCH] Use KLIBSRC + KLIBINC consistent in kbuild files
Factor out all kernel specific path's (those containing usr/)
into two variables: KLIBSRC + KLIBINC. Set the variables
in a kernel spcific Kbuild file.
Sam
commit e6f989c1597a837f4aecbd11083697184c089611
tree 93f88d7564bb9e4d4bc95fd455b842d0bd0fdc54
parent 8151f4a98f82fba4fe3b949f49da4ab8bba71501
author Sam Ravnborg <sam@mars.(none)> Thu, 28 Jul 2005 23:36:07 +0200
committer Sam
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
2005 Dec 28
0
kbuild: clean a bit better
kbuild: better cleaning
Let make clean delete generated dot-files and .o files.
Introduce distclean/mrproper that deletes .config, linux symlink
and all files left behind by editors and patch.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
---
Hi Peter
In following patch I did not make a difference between mrproper and
distclean. I only added mrproper because I'm used to it from the