Re: [kbuild-devel] [PATCH] Fix mconf segmentation fault

2007-05-06 Thread Sam Ravnborg
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)

Re: [kbuild-devel] [PATCH 1/2] kbuild: prepare for using code from different dir

2007-05-06 Thread Sam Ravnborg
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

Re: [kbuild-devel] vmlinux.lds not marked for update when building on OS X and changing config options

2007-05-22 Thread Sam Ravnborg
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

Re: [kbuild-devel] [rfe] easier customization of kconfig for non-Linux projects

2007-05-24 Thread Sam Ravnborg
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

Re: [kbuild-devel] [rfe] easier customization of kconfig for non-Linux projects

2007-05-24 Thread Sam Ravnborg
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

[kbuild-devel] kbuild update

2007-06-03 Thread Sam Ravnborg
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

[kbuild-devel] [PATCH 01/19] kbuild: asm-offsets.h is now cleaned with O=.. builds

2007-06-03 Thread Sam Ravnborg
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

[kbuild-devel] [PATCH 02/19] kbuild: make better section mismatch reports on i386, arm and mips

2007-06-03 Thread Sam Ravnborg
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

[kbuild-devel] [PATCH 03/19] kbuild: New 'cc-fullversion' macro

2007-06-03 Thread Sam Ravnborg
] 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

[kbuild-devel] [PATCH 04/19] powerpc: Refuse to build 64-bit with GCC-4.2.0 and CONFIG_MODULES

2007-06-03 Thread Sam Ravnborg
] 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

[kbuild-devel] [PATCH 05/19] kbuild: document cc-fullversion

2007-06-03 Thread Sam Ravnborg
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

[kbuild-devel] [PATCH 06/19] kbuild: suppress modpost warnings for references from the .toc section as used by powerpc

2007-06-03 Thread Sam Ravnborg
, 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

[kbuild-devel] [PATCH 07/19] kbuild: avoid environment to set variables used by kbuild

2007-06-03 Thread Sam Ravnborg
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

[kbuild-devel] [PATCH 08/19] scripts: Make cleanfile/cleanpatch warn about long lines

2007-06-03 Thread Sam Ravnborg
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

[kbuild-devel] [PATCH 09/19] kconfig: use POSIX equality test in check-lxdialog.sh

2007-06-03 Thread Sam Ravnborg
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

[kbuild-devel] [PATCH 10/19] kbuild: add support for reading stdin with gen_init_cpio

2007-06-03 Thread Sam Ravnborg
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

[kbuild-devel] [PATCH 10/19] kbuild: add support for reading stdin with gen_init_cpio

2007-06-03 Thread Sam Ravnborg
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

[kbuild-devel] [PATCH 11/19] kbuild: add support for squashing uid/gid in gen_initramfs_list.sh

2007-06-03 Thread Sam Ravnborg
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

[kbuild-devel] [PATCH 12/19] kbuild: The .paravirtprobe section is obsolete, so modpost doesn't need to handle it

2007-06-03 Thread Sam Ravnborg
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

[kbuild-devel] [PATCH 13/19] kbuild: ignore section mismatch warnings originating from .note section

2007-06-03 Thread Sam Ravnborg
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

[kbuild-devel] [PATCH 14/19] kbuild: refactor code in modpost to improve maintainability

2007-06-03 Thread Sam Ravnborg
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

[kbuild-devel] [PATCH 15/19] kbuild: warn about references from .init.text to .exit.text

2007-06-03 Thread Sam Ravnborg
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

[kbuild-devel] [PATCH 16/19] kbuild: remove hardcoded apic_es7000 from modpost

2007-06-03 Thread Sam Ravnborg
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

[kbuild-devel] [PATCH 17/19] kbuild: refactor code in modpost

2007-06-03 Thread Sam Ravnborg
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

[kbuild-devel] [PATCH 18/19] kbuild: remove hardcoded _logo names from modpost

2007-06-03 Thread Sam Ravnborg
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

[kbuild-devel] [PATCH 19/19] kbuild: whitelist references from variables named _timer to .init.text

2007-06-03 Thread Sam Ravnborg
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

Re: [kbuild-devel] kbuild update

2007-06-03 Thread Sam Ravnborg
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

Re: [kbuild-devel] [PATCH 08/19] scripts: Make cleanfile/cleanpatch warn about long lines

2007-06-05 Thread Sam Ravnborg
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

Re: [kbuild-devel] Another version of cleanfile/cleanpatch (Re: [PATCH 08/19] scripts: Make cleanfile/cleanpatch warn about long lines)

2007-06-06 Thread Sam Ravnborg
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

Re: [kbuild-devel] [patch] scripts: clean-whitespace.sh

2007-06-08 Thread Sam Ravnborg
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

Re: [kbuild-devel] [patch] scripts: clean-whitespace.sh

2007-06-08 Thread Sam Ravnborg
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

Re: [kbuild-devel] [patch] kbuild: remember ARCH in the object directory

2007-06-12 Thread Sam Ravnborg
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

Re: [kbuild-devel] [patch 01/03] kbuild, asm-values: infrastructure

2007-06-14 Thread Sam Ravnborg
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

Re: [kbuild-devel] Need opinions on asm-offsets cleanup (Re: [patch 01/03] kbuild, asm-values: infrastructure)

2007-06-14 Thread Sam Ravnborg
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

Re: [kbuild-devel] Mucking with assembly files

2007-07-14 Thread Sam Ravnborg
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

Re: [kbuild-devel] help text on choices

2007-07-14 Thread Sam Ravnborg
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

Re: [kbuild-devel] Mucking with assembly files

2007-07-14 Thread Sam Ravnborg
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

Re: [kbuild-devel] [PATCH 25/33] kbuild: use POSIX BRE in headers install target

2007-07-21 Thread Sam Ravnborg
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

Re: [kbuild-devel] More effective processing (Re: [PATCH 25/33] kbuild: use POSIX BRE in headers install target)

2007-07-21 Thread Sam Ravnborg
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

Re: [kbuild-devel] [PATCH] kconfig: add *_silentdefconfig feature for config targets

2007-08-22 Thread Sam Ravnborg
- 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

Re: [kbuild-devel] CONFIG_HOTPLUG_CPU: kconfig bug?

2007-08-27 Thread Sam Ravnborg
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

[kbuild-devel] [PATCH 2/4] kbuild: enable 'make AFLAGS=...' to add additional options to AS

2007-09-09 Thread Sam Ravnborg
: 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

[kbuild-devel] [PATCH 4/4] kbuild: enable 'make CPPFLAGS=...' to add additional options to CPP

2007-09-09 Thread Sam Ravnborg
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

[kbuild-devel] [RFC] kbuild - introduce vdir to make life easier for x86_64

2007-09-10 Thread 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

Re: [kbuild-devel] [RFC] kbuild - introduce vdir to make life easier for x86_64

2007-09-11 Thread Sam Ravnborg
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

[kbuild-devel] kbuild update

2007-09-16 Thread Sam Ravnborg
' 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

Re: [kbuild-devel] Distributed configuration scheme by Linus at. al. (going back in time)

2007-09-16 Thread Sam Ravnborg
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

Re: [kbuild-devel] Distributed configuration scheme by Linus at. al. (going back in time)

2007-09-16 Thread Sam Ravnborg
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

Re: [kbuild-devel] [patch 01/03] kbuild, asm-values: infrastructure

2007-09-16 Thread Sam Ravnborg
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

Re: [kbuild-devel] Rename asm-offsets tool or not? (Re: [patch 01/03] kbuild, asm-values: infrastructure)

2007-09-16 Thread Sam Ravnborg
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

Re: [kbuild-devel] [RFC] Extending kbuild syntax

2007-09-30 Thread Sam Ravnborg
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

Re: [kbuild-devel] A bit of kconfig rewrite (Re: [PATCH] 9p: fix compile error if !CONFIG_SYSCTL)

2007-10-01 Thread Sam Ravnborg
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

[kbuild-devel] [PATCH] kbuild: move Kai Germaschewski to CREDITS

2007-10-06 Thread Sam Ravnborg
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

[kbuild-devel] [RFC/RFT] kbuild: save ARCH CROSS_COMPILE

2007-10-08 Thread Sam Ravnborg
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

Re: [kbuild-devel] [RFC/RFT] kbuild: save ARCH CROSS_COMPILE

2007-10-08 Thread Sam Ravnborg
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

Re: [kbuild-devel] [RFC/RFT] kbuild: save ARCH CROSS_COMPILE

2007-10-08 Thread Sam Ravnborg
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

Re: [kbuild-devel] [RFC/RFT] kbuild: save ARCH CROSS_COMPILE

2007-10-09 Thread Sam Ravnborg
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

Re: [kbuild-devel] [RFC/RFT] kbuild: save ARCH CROSS_COMPILE

2007-10-09 Thread Sam Ravnborg
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

[kbuild-devel] [PATCH v2] kbuild: save ARCH CROSS_COMPILE when building a kernel

2007-10-09 Thread Sam Ravnborg
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

Re: [kbuild-devel] [PATCH v2] kbuild: save ARCH CROSS_COMPILE when building a kernel

2007-10-12 Thread Sam Ravnborg
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

Re: [kbuild-devel] [GIT PULL (updated)] kbuild updates

2007-10-16 Thread Sam Ravnborg
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

[kbuild-devel] [RFT] kbuild: check asm symlink when building a kernel

2007-10-17 Thread Sam Ravnborg
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

[kbuild-devel] kbuild mailing list has moved

2007-10-18 Thread Sam Ravnborg
: 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

Re: [kbuild-devel] kbuild mailing list has moved

2007-10-18 Thread Sam Ravnborg
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

Re: [kbuild-devel] [patch] modpost problem when symbols move from one module to another

2007-10-18 Thread Sam Ravnborg
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

Re: [kbuild-devel] Dynamically add objects to be built

2010-04-29 Thread Sam Ravnborg
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

<    1   2