On Sat, May 05, 2007 at 10:49:00PM +0200, Marcin Garski wrote:
Hi,
I have found small bug in mconf, when you run it without any argument it
will sigsegv.
Without patch:
$ scripts/kconfig/mconf
Segmentation fault
With patch:
$ scripts/kconfig/mconf
can't find file (null)
On Sat, May 05, 2007 at 01:43:22PM -0700, H. Peter Anvin wrote:
Sam Ravnborg wrote:
This will likely appear in my kbuild.git tree but only
when next mergewindow opens I think.
My current batch (35 commits) has not yet been pulled
and this would no see exposure in -mm first.
Cool
On Mon, May 21, 2007 at 05:08:23PM -0400, Mike Frysinger wrote:
i'm not terribly familiar with the kconfig/kbuild system so i'm
looking for some pointers so i can track down the root cause here ...
some people like to cross-compile the Blackfin kernel on OS X hosts
and we noticed that in
Hi Mike.
Forwarding this to Roman Zippel which is the kconfig maintainer.
The intent with this is clear but the solution you suggest albeit simple
does not really match where we could end up with kconfig.
Recently Roman added support for options in the kconfig language
and I would assume we
On Thu, May 24, 2007 at 09:23:40AM -0400, Mike Frysinger wrote:
On Thursday 24 May 2007, Sam Ravnborg wrote:
The intent with this is clear but the solution you suggest albeit simple
does not really match where we could end up with kconfig.
Recently Roman added support for options
Short intro to content of kbuild.git at the moment.
See http://git.kernel.org/?p=linux/kernel/git/sam/kbuild.git;a=summary
Everything are targeted for next merge window.
section mismatch
kbuild: make better section mismatch reports on i386, arm and mips
kbuild: The .paravirtprobe
Subject: [PATCH 01/19] kbuild: asm-offsets.h is now cleaned with O=.. builds
From: Sam Ravnborg [EMAIL PROTECTED]
Date: Mon, 28 May 2007 22:14:37 +0200
Reported by: Robert P. J. Day [EMAIL PROTECTED]
Signed-off-by: Sam Ravnborg [EMAIL PROTECTED]
Cc: Robert P. J. Day [EMAIL PROTECTED]
---
Kbuild
r_addend
value. This patch is to adjust r_addend value, consulting with
apply_relocate() routine in kernel code.
Signed-off-by: Atsushi Nemoto [EMAIL PROTECTED]
Signed-off-by: Sam Ravnborg [EMAIL PROTECTED]
---
scripts/mod/modpost.c | 85
]
Signed-off-by: Sam Ravnborg [EMAIL PROTECTED]
---
scripts/Kbuild.include |7 ++-
scripts/gcc-version.sh | 15 ---
2 files changed, 18 insertions(+), 4 deletions(-)
diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include
index 06c1a37..677bc6c 100644
--- a/scripts
]
Signed-off-by: Sam Ravnborg [EMAIL PROTECTED]
---
arch/powerpc/Makefile |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile
index 6238b58..1447c83 100644
--- a/arch/powerpc/Makefile
+++ b/arch/powerpc/Makefile
@@ -202,6
Subject: [PATCH 05/19] kbuild: document cc-fullversion
From: Sam Ravnborg [EMAIL PROTECTED]
Date: Mon, 28 May 2007 22:26:55 +0200
Signed-off-by: Sam Ravnborg [EMAIL PROTECTED]
---
Documentation/kbuild/makefiles.txt | 14 ++
1 files changed, 14 insertions(+), 0 deletions(-)
diff
, but that is much harder.
Signed-off-by: Stephen Rothwell [EMAIL PROTECTED]
Signed-off-by: Sam Ravnborg [EMAIL PROTECTED]
---
scripts/mod/modpost.c |5 -
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c
index 760b2b3..f6bae03 100644
Subject: [PATCH 07/19] kbuild: avoid environment to set variables used by kbuild
From: Sam Ravnborg [EMAIL PROTECTED]
Date: Mon, 28 May 2007 22:47:48 +0200
A few of the variables used by kbuild has fixed naming.
Make sure we do not pick up random values from the environment.
Signed-off-by: Sam
from Auke Kok.
Signed-off-by: H. Peter Anvin [EMAIL PROTECTED]
Signed-off-by: Sam Ravnborg [EMAIL PROTECTED]
---
scripts/cleanfile | 54 ++-
scripts/cleanpatch | 58 +--
2 files changed, 107 insertions
Subject: [PATCH 09/19] kconfig: use POSIX equality test in check-lxdialog.sh
From: Mike Frysinger [EMAIL PROTECTED]
Date: Wed, 23 May 2007 21:37:45 -0400
The == operator is not in POSIX, so use -eq instead.
Signed-off-by: Mike Frysinger [EMAIL PROTECTED]
Signed-off-by: Sam Ravnborg [EMAIL
PROTECTED]
Signed-off-by: Andrew Morton [EMAIL PROTECTED]
Signed-off-by: Sam Ravnborg [EMAIL PROTECTED]
---
usr/gen_init_cpio.c |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/usr/gen_init_cpio.c b/usr/gen_init_cpio.c
index 8365db6..7abc07f 100644
--- a/usr/gen_init_cpio.c
PROTECTED]
Signed-off-by: Andrew Morton [EMAIL PROTECTED]
Signed-off-by: Sam Ravnborg [EMAIL PROTECTED]
---
usr/gen_init_cpio.c |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/usr/gen_init_cpio.c b/usr/gen_init_cpio.c
index 8365db6..7abc07f 100644
--- a/usr/gen_init_cpio.c
as arbitrary
users (uClinux-dist). This adds a special squash keyword so you can do
'-g squash -u squash' and have ownership squashed to root.
Signed-off-by: Mike Frysinger [EMAIL PROTECTED]
Cc: Sam Ravnborg [EMAIL PROTECTED]
Signed-off-by: Andrew Morton [EMAIL PROTECTED]
---
scripts
Fitzhardinge [EMAIL PROTECTED]
Cc: Rusty Russell [EMAIL PROTECTED]
Signed-off-by: Sam Ravnborg [EMAIL PROTECTED]
---
scripts/mod/modpost.c | 11 ---
1 files changed, 0 insertions(+), 11 deletions(-)
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c
index f6bae03..662deba 100644
Subject: [PATCH 13/19] kbuild: ignore section mismatch warnings originating
from .note section
From: Sam Ravnborg [EMAIL PROTECTED]
Date: Tue, 29 May 2007 23:09:35 +0200
.note* sections are ELF notes, which are typically used by external
tools to examine the kernel image. Since this is removed
Subject: [PATCH 14/19] kbuild: refactor code in modpost to improve
maintainability
From: Sam Ravnborg [EMAIL PROTECTED]
Date: Sat, 2 Jun 2007 21:18:51 +0200
There were a great deal of overlap between the two functions
that check which sections may reference .init.text and .exit.text.
Factor out
Subject: [PATCH 15/19] kbuild: warn about references from .init.text to
.exit.text
From: Sam Ravnborg [EMAIL PROTECTED]
Date: Sat, 2 Jun 2007 21:29:20 +0200
The .exit.text section may be discarded either at build or at runtime.
So let modpost warn if this situation is detected.
Signed-off
Subject: [PATCH 16/19] kbuild: remove hardcoded apic_es7000 from modpost
From: Sam Ravnborg [EMAIL PROTECTED]
Date: Sun, 3 Jun 2007 00:05:10 +0200
Replace the hardcoded variable name apic_es7000 in modpost
with a __initdata_refok marker.
Signed-off-by: Sam Ravnborg [EMAIL PROTECTED]
---
arch
Subject: [PATCH 17/19] kbuild: refactor code in modpost
From: Sam Ravnborg [EMAIL PROTECTED]
Date: Sun, 3 Jun 2007 00:41:22 +0200
Move more checks from whitelist to the section check functions
Renumber the patterns.
No functional changes.
Signed-off-by: Sam Ravnborg [EMAIL PROTECTED]
---
scripts
Subject: [PATCH 18/19] kbuild: remove hardcoded _logo names from modpost
From: Sam Ravnborg [EMAIL PROTECTED]
Date: Sun, 3 Jun 2007 00:47:53 +0200
Replaced this with a __init_refok marker
in front of fb_find_logo().
I think that the __initdata marker for the logo's are
wrong but I have
Subject: [PATCH 19/19] kbuild: whitelist references from variables named _timer
to .init.text
From: Sam Ravnborg [EMAIL PROTECTED]
Date: Sun, 3 Jun 2007 22:19:24 +0200
arm uses a lot of ops structures named *_timer that has legitimite
references to .init.text.
So let's add this variable
Hmm, the patch serie should have been chained.
Sam
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to
On Tue, Jun 05, 2007 at 09:33:35AM +0200, Oleg Verych wrote:
Hallo.
On Sun, Jun 03, 2007 at 10:47:00PM +0200, Sam Ravnborg wrote:
Subject: [PATCH 08/19] scripts: Make cleanfile/cleanpatch warn about long
lines
From: H. Peter Anvin [EMAIL PROTECTED]
Date: Fri, 25 May 2007 17:58:26
On Wed, Jun 06, 2007 at 07:45:56PM +0200, Oleg Verych wrote:
While i'm against whitespace damaged files or patches since my very
first patch, and don't like brain damaged programmer's tools called
text editors, i also want to encourage UNIX-way of using userspace.
Of course, i might be wrong
On Thu, Jun 07, 2007 at 11:44:59PM -0700, Andrew Morton wrote:
Then again, it's a better strategy than trying to read the code ;)
Please, tell us what it does, so that we can decide whether we want it in
Linux.
It does the same as cleanfile.pl.
I have seen no reason to replace cleanfile.pl
On Fri, Jun 08, 2007 at 05:02:15PM +0200, Oleg Verych wrote:
On Fri, Jun 08, 2007 at 04:28:49PM +0200, Sam Ravnborg wrote:
On Thu, Jun 07, 2007 at 11:44:59PM -0700, Andrew Morton wrote:
Then again, it's a better strategy than trying to read the code ;)
Please, tell us what it does
On Tue, Jun 12, 2007 at 07:19:22PM +0200, Oleg Verych wrote:
On Tue, Jun 12, 2007 at 09:12:09AM -0700, Randy Dunlap wrote:
[]
I did:
# build a linux-2.6.22-rc4-git4 kernel source tree cd into it
# mkdir BLD
$ make ARCH=i386 O=BLD defconfig
$ make -j4 O=BLD all BLD/bld.out 21
On Thu, Jun 14, 2007 at 09:41:43AM +0200, Oleg Verych wrote:
Jun 13, 2007 at 01:36:51AM +0200, asm-values patch set:
* header with widely used value definitions
* handle all asm-related things in one file (Makefile.asm)
* move some asm bits from Makefile.build there
On Thu, Jun 14, 2007 at 01:16:21PM +0200, Oleg Verych wrote:
On Thu, Jun 14, 2007 at 11:12:25AM +0200, Sam Ravnborg wrote:
On Thu, Jun 14, 2007 at 09:41:43AM +0200, Oleg Verych wrote:
Jun 13, 2007 at 01:36:51AM +0200, asm-values patch set:
* header with widely used value
On Tue, Jul 10, 2007 at 10:19:14AM -0700, H. Peter Anvin wrote:
I seem to always be the one with the kbuild corner cases...
As part of my x86 setup rewrite, there has been some concern that using
asm(.code16gcc); isn't as safe as it should be (because of gcc
reordering), and making it safe
On Tue, Jul 10, 2007 at 04:30:30PM -0500, Mike Frysinger wrote:
ive always wondered about this but never got around to asking ;)
is the help text on the top level choice supposed to be usable ? for example:
choice
prompt you [may] have a choice
default YES
help
This
On Tue, Jul 10, 2007 at 09:46:25PM +0200, Oleg Verych wrote:
On Tue, Jul 10, 2007 at 10:19:14AM -0700, H. Peter Anvin wrote:
I seem to always be the one with the kbuild corner cases...
As part of my x86 setup rewrite, there has been some concern that using
asm(.code16gcc); isn't as safe
On Sat, Jul 21, 2007 at 06:03:00PM -0400, Mike Frysinger wrote:
On 7/21/07, Sam Ravnborg [EMAIL PROTECTED] wrote:
On Sat, Jul 21, 2007 at 03:21:43PM -0400, Mike Frysinger wrote:
On 7/21/07, Oleg Verych [EMAIL PROTECTED] wrote:
On Sat, Jul 21, 2007 at 04:27:31AM -0400, Mike Frysinger wrote
On Sun, Jul 22, 2007 at 12:16:27AM +0200, Oleg Verych wrote:
What do you think about this one? I want to propose to remove
scripts/unifdef.c but to make clear policy about how to mark __KERNEL__
sections in header files. We know how obfuscated C can be, and this also
applies to
- We seem to switch between using _() and not using it for strings; I'm
assuming that we don't actually care about i18n in conf.c, and that the
_() stuff was just copied from elsewhere. If that's not the case, I
can update the patch to wrap strings properly.
I try to
On Mon, Aug 27, 2007 at 03:54:49PM +0100, Hugh Dickins wrote:
Hi Roman,
I've noticed an oddity with CONFIG_HOTPLUG_CPU in 2.6.23-rc:
make oldconfig seems to turn it on even when nothing wants it,
increasing kernel size by about 10k; but if you then edit the
line out of .config and make
:
make AFLAGS=...
to specify additional gcc (as) commandline options.
Signed-off-by: Sam Ravnborg [EMAIL PROTECTED]
---
Documentation/kbuild/makefiles.txt |5 +++--
Makefile |9 +
arch/arm/Makefile |2 +-
arch/arm/vfp/Makefile
The variable CPPFLAGS is a wellknown variable and the usage by
kbuild may result in unexpected behaviour.
This patch replace use of CPPFLAGS with KBUILD_AFLAGS all over the
tree and enabling one to use:
make CPPFLAGS=...
to specify additional CPP commandline options.
Signed-off-by: Sam Ravnborg
Hi Andi Thomas.
One of the complaints raised about the current x86_64
Makfiles are the ugliness needed to reuse code from i386.
Andi asked me if we could do something in kbuild to make
this less ugly and below are the hack I could come up with.
The trick is that in the Makefile we tell kbuild
On Tue, Sep 11, 2007 at 12:40:41AM +0200, Andi Kleen wrote:
The below are the minimal clean-up - a bit more could be done.
Comments?
Looks good in principle. My only suggestion would be to name it something
differently than vdir. I know that's what GNU make calls it, but it's still
' Giarrusso (1):
kbuild: script to check for undefined Kconfig symbols
Petr Stetiar (1):
kbuild: fix segfault in modpost
Ram Pai (1):
kbuild: fix perl usage in export_report.pl
Randy Dunlap (1):
docproc: style typo cleanups
Sam Ravnborg (10):
kbuild: Use Elfnn_Half
Hi Oleg.
On Sun, Sep 16, 2007 at 03:12:48PM +0200, Oleg Verych wrote:
Hallo, Sam.
Can try to find exact wording/archives of the subject?
http://www.uwsg.iu.edu/hypermail/linux/kernel/0202.1/2004.html
Also, please describe what it was from your POV that time back.
I'm not sure exactly what
On Sun, Sep 16, 2007 at 05:40:00PM +0200, Oleg Verych wrote:
On Sun, Sep 16, 2007 at 05:11:12PM +0200, Sam Ravnborg wrote:
Hi Oleg.
On Sun, Sep 16, 2007 at 03:12:48PM +0200, Oleg Verych wrote:
Hallo, Sam.
Can try to find exact wording/archives of the subject?
http
Hi Oleg.
On Wed, Jun 13, 2007 at 01:36:51AM +0200, Oleg Verych wrote:
* header with widely used value definitions
* handle all asm-related things in one file (Makefile.asm)
* move some asm bits from Makefile.build there
(rule %.s:%.c)
* add script to generate
On Sun, Sep 16, 2007 at 09:32:58PM +0200, Oleg Verych wrote:
On Sun, Sep 16, 2007 at 08:29:12PM +0200, Sam Ravnborg wrote:
Hi Oleg.
Hallo. Nice, you are bringing it back. I'll try to have LKML-like
output this time, not a makefile mess and stuff:
[]
I see no value in renaming from
On Sun, Sep 30, 2007 at 05:02:58AM +0200, Adrian Bunk wrote:
On Sat, Sep 29, 2007 at 10:11:45PM +0200, Sam Ravnborg wrote:
...
The second is the more controversial suggestion.
In several Makefile we have simple if expression of the variants:
if ($(CONFIG_FOO),y)
obj-$(CONFIG_BAR
Hi Oleg.
Today's kconfig was proposed and accepted in a very unpleasant
circumstances, has very poor design, development and no working
alternative (for 5+ years now).
I have read all your mails about this subject - but I still miss what
is so bad about current design.
Could you try to stay
Kai Germaschewski to CREDITS
Kai is not active in kernel development these
days so give him credit for his major kbuild
contribution and ISDN work.
Acked-by: Kai Germaschewski [EMAIL PROTECTED]
Signed-off-by: Sam Ravnborg [EMAIL PROTECTED]
---
CREDITS |6 ++
MAINTAINERS |4
2
One of the complaints that I continue to hear is that kbuild
is lacking a way to 'remember' the ARCH and CROSS_COMPILE
values originally used.
Likewise we have people that change ARCH settings and get
a lot of build errors due to asm symlink pointing at the
wrong directory.
This patch tries to
What about, that this is the first ever prompt, that must be shown and
written to the .config?
Two issues to fix before we can do this:
1) chocie values cannot have more than one prompt
2) We need to share much more Kconfig* between the individual architectures
First step is to let all
2) We need to share much more Kconfig* between the individual architectures
First step is to let all arch's use drivers/Kconfig
2) isn't terribly difficult, just takes some time and willingness
of $arch maintainers to some changes, but please explain a bit more
why it is needed...?
A
On Mon, Oct 08, 2007 at 11:12:56PM +0200, Adrian Bunk wrote:
On Mon, Oct 08, 2007 at 10:02:55PM +0200, Sam Ravnborg wrote:
...
The settings are stored in the build directory in a file
named Kbuild.config (should it be a .dot file?).
...
A .dot file sounds better.
I will make it .kbuild
On Tue, Oct 09, 2007 at 10:09:06AM -0400, Jeff Dike wrote:
On Tue, Oct 09, 2007 at 12:00:30PM +0200, Sam Ravnborg wrote:
If it is OK to drop the $(SUBARCH) assingment like this then yes.
ARCH?=
CROSS_COMPILE ?=
Does the UML build still work when you do
if this is not the case.
Signed-off-by: Sam Ravnborg [EMAIL PROTECTED]
---
This addressed the comments from Adrian and Andi.
The file is now named .kbuild.
And the dummy assignmnets are preserved (and commented).
I plan to sneak this patch into the merge window if there
are no complains - despite that I
On Tue, Oct 09, 2007 at 09:49:19PM +0200, Sam Ravnborg wrote:
When building a kernel for a different architecture
kbuild requires the user always to specify ARCH and
CROSS_COMPILE on the command-line.
Failing to do so can result in strange build errros especially
when the asm symlink point
On Tue, Oct 16, 2007 at 11:11:01PM +0200, Markus Trippelsdorf wrote:
Bisecting shows that:
commit f77bf01425b11947eeb3b5b54685212c302741b8
Author: Sam Ravnborg [EMAIL PROTECTED](none)
Date: Mon Oct 15 22:25:06 2007 +0200
kbuild: introduce ccflags-y, asflags-y and ldflags
We often hit the situation where the asm symlink
in include/ points to the wrong architecture.
In 9 out of 10 cases thats because we forgot to set
ARCH but sometimes we just reused the same tree
for another ARCH. For the merged x86 tree we need
to create a new symlink but this is not obvious.
So
: Sam Ravnborg
M: [EMAIL PROTECTED]
T: git kernel.org:/pub/scm/linux/kernel/git/sam/kbuild.git
+L: [EMAIL PROTECTED]
S: Maintained
KERNEL JANITORS
-
This SF.net email is sponsored by: Splunk Inc.
Still
On Thu, Oct 18, 2007 at 12:19:09PM +0200, Giacomo A. Catenazzi wrote:
[added the owner of the old list]
Thanks. I forgot initially and forwarded this message to mec.
But the address I had were different.
Sam
-
This
On Thu, Oct 11, 2007 at 04:40:10PM -0700, Trent Piepho wrote:
The v4l-dvb tree recently renamed a module and this caused some problems
with modpost creating incorrect module dependencies. This patch fixes that
problem. It should be explained thoroughly in the patch description.
modpost: Fix
First - posting to linux-kbuild will liekly get you more attention.
The old list at sourceforge is no longer active.
[From the bottom of your mail]
If anyone can point me to the kbuild way of doing things, it would be
greatly appreciated. Thanks!
The kbuild philosofy is that you specify all .o
101 - 166 of 166 matches
Mail list logo