Re: [kbuild-devel] Orphaned symbols in the Configure.help file

2001-04-23 Thread Keith Owens
On Fri, 20 Apr 2001 08:54:29 -0400, Eric S. Raymond [EMAIL PROTECTED] wrote: The following symbols have entries in the Configure.help file but are not presently used by CML1. Would the people who own these please tell me which ones are genuinely dead so I can remove them? iA64 port: As of

Re: [kbuild-devel] [PATCH] automatic multi-part link rules (fwd)

2001-04-30 Thread Keith Owens
On Tue, 1 May 2001 01:31:20 +0200, J . A . Magallon [EMAIL PROTECTED] wrote: On 05.01 Keith Owens wrote: The patch appears to work but is it worth applying now? The existing 2.4 rules work fine and the entire kbuild system will be rewritten for 2.5 We will have to live with 2.4 until 2.6

[kbuild-devel] [patch] 2.4.4 aic7xxx config

2001-05-05 Thread Keith Owens
Circular dependencies in config, CONFIG_SCSI_AIC7XXX depends on CONFIG_SCSI_AIC7XXX_OLD which depends on CONFIG_SCSI_AIC7XXX. Also it does not cater for aic7xxx being a module. This patch checks CONFIG_SCSI_AIC7XXX first, only if not set will it try CONFIG_SCSI_AIC7XXX_OLD. Against 2.4.4, will

[kbuild-devel] Re: [patch] 2.4.4 aic7xxx config

2001-05-05 Thread Keith Owens
On Sat, 5 May 2001 12:35:33 +0100 (BST), Alan Cox [EMAIL PROTECTED] wrote: -if [ $CONFIG_SCSI_AIC7XXX != y ]; then +if [ $CONFIG_SCSI_AIC7XXX = n ]; then But it is legal to have both as modules OK, forget the change to drivers/scsi/Config.in, the change to drivers/scsi/aic7xxx/Config.in

Re: [kbuild-devel] Why recovering from broken configs is too hard

2001-05-03 Thread Keith Owens
On Thu, 3 May 2001 03:47:55 -0400, Eric S. Raymond [EMAIL PROTECTED] wrote: OK, so you want CML2's make oldconfig to do something more graceful than simply say Foo! You violated this constraint! Go fix it! (i) Start with a valid config. CML2 will not allow any changes that violate the

Re: [kbuild-devel] Why recovering from broken configs is too hard

2001-05-03 Thread Keith Owens
On Thu, 3 May 2001 12:59:21 -0400, Eric S. Raymond [EMAIL PROTECTED] wrote: Keith Owens [EMAIL PROTECTED]: (3) For failing constraints, freeze the guard variables, change the dependent variable to satisfy the constraint then freeze it. There's the problem

[kbuild-devel] Why shadow trees?

2001-05-15 Thread Keith Owens
A few people have asked why my kbuild-2.5 supports shadow trees. This is a reasonable question, given the extra code and complexity required to support them. Why not just use Jeff Garzick's patch for supporting third party drivers? If kbuild only had to support add on, free-standing third

[kbuild-devel] Removal of CPP and CPPFLAGS

2001-05-17 Thread Keith Owens
The distinction between CC and CPP and between [AC]FLAGS and CPPFLAGS is very weakly enforced in kbuild. Most code uses CC and [AC]FLAGS, even when preprocessing. The extra cflags are almost always preprocessor flags, as are [AC]FLAGS_KERNEL. I plan to remove CPP and CPPFLAGS, replacing $(CPP)

Re: [kbuild-devel] Removal of CPP and CPPFLAGS

2001-05-18 Thread Keith Owens
On Fri, 18 May 2001 09:41:51 +0200 (CEST), Kai Germaschewski [EMAIL PROTECTED] wrote: On Fri, 18 May 2001, Keith Owens wrote: I plan to remove CPP and CPPFLAGS, replacing $(CPP) with $(CC) -E throughout and merging CPPFLAGS into [AC]FLAGS. This change will make it much easier to handle

Re: [kbuild-devel] Removal of CPP and CPPFLAGS

2001-05-18 Thread Keith Owens
On Fri, 18 May 2001 12:44:31 +0200 (CEST), Kai Germaschewski [EMAIL PROTECTED] wrote: Okay, I think you're right, the logical separation is not worth the additional complexity. But why not leave the CPP variable at least? On second thoughts I will keep CPP, it is a useful indication that the

Re: [kbuild-devel] Re: CML2 design philosophy heads-up

2001-05-18 Thread Keith Owens
On Fri, 18 May 2001 14:41:22 -0400, Eric S. Raymond [EMAIL PROTECTED] wrote: Michael Elizabeth Chastain [EMAIL PROTECTED]: It would be nice if either (a) the tools ran with Python 1.5.2 or (b) some more time elapses and lots more people have Python 2.0 installed. I think we'll get (b). 2.5

[kbuild-devel] Documentation/DocBook and related scripts

2001-05-26 Thread Keith Owens
documentation # - Look more closely at some of the scarier bits :) +# 26/05/2001 - Support for separate source and object trees. +# Return error code. +# Keith Owens [EMAIL PROTECTED] + # # This will read a 'c' file and scan for embedded comments in the # style

Re: [kbuild-devel] Auto detection of changed commands/flags

2001-05-29 Thread Keith Owens
On Tue, 29 May 2001 11:28:28 +0200 (CEST), Kai Germaschewski [EMAIL PROTECTED] wrote: On Mon, 28 May 2001, Keith Owens wrote: My aim is to detect if the command has changed and force the target to be rebuilt. I started my own rewrite of kbuild some time ago, I never got around to publish

Re: [kbuild-devel] Re: [patch] 2.4.6-pre4 - Removal of linux-kbuild@gear.torque.net

2001-06-21 Thread Keith Owens
On Thu, 21 Jun 2001 09:50:43 +0200, Giacomo Catenazzi [EMAIL PROTECTED] wrote: Keith Owens wrote: 2.4.6-pre5 has removed the last reference to [EMAIL PROTECTED] Time to kill that list and get rid of the spammers. MEC? The last stable kernel still have the old reference (2.4.5), and also

[kbuild-devel] Re: [parisc-linux] SCSI in arch/{m68k,parisc,sparc*}/config.in (fwd)

2001-06-22 Thread Keith Owens
Here's a project for somebody. Go through drivers/scsi/Config.in, identify the bus type for each driver (PCI, ISA, EISA, MCA, SBUS, NUBUS, ZORRO, whatever) and add the required $CONFIG_xxx to each driver line. Any takers? --- Forwarded Message To: Keith Owens [EMAIL PROTECTED] Cc: [EMAIL

Re: [kbuild-devel] Build system transition plan for 2.5

2001-06-22 Thread Keith Owens
On Fri, 22 Jun 2001 21:05:23 -0400, Eric S. Raymond [EMAIL PROTECTED] wrote: Linus has let the cat out of the bag that 2.5 looks like it will open in a week or two http://lwn.net/daily/2.5-coming.php3. So, one big question is, what order are we going to send our patches in? Do we want CML2 in

Re: [kbuild-devel] Build system transition plan for 2.5

2001-06-22 Thread Keith Owens
On Sat, 23 Jun 2001 00:29:45 -0400, Eric S. Raymond [EMAIL PROTECTED] wrote: Keith Owens [EMAIL PROTECTED]: There is still the work required to handle CML2 with separate source and object trees and with multiple source trees. What can I do to faclitate this, if anything? Take a look

Re: [kbuild-devel] Re: [patch] 2.4.6-pre4 - Removal of linux-kbuild@gear.torque.net

2001-06-23 Thread Keith Owens
On Sat, 23 Jun 2001 11:30:10 -0700, Michael Elizabeth Chastain [EMAIL PROTECTED] wrote: Keith, would you like to submit a MAINTAINERS patch for 2.2.19 to change the mailing list, or would you like me to do it? Your's is the only kbuild contact in 2.2, probably best if you do it.

Re: [kbuild-devel] Build system transition plan for 2.5

2001-06-22 Thread Keith Owens
On Fri, 22 Jun 2001 23:42:36 -0400, Eric S. Raymond [EMAIL PROTECTED] wrote: Keith Owens [EMAIL PROTECTED]: Just add support for CML2 in the same style as CML1, replacing the code in install-cml2. As a temporary measure, append '-2' to the CML2 targets so CML1 still works. That's more

Re: [kbuild-devel] Kernel Build for 2.5, Release 1.3 is available.

2001-09-27 Thread Keith Owens
On Thu, 27 Sep 2001 08:46:34 +, Giacomo Catenazzi [EMAIL PROTECTED] wrote: I tried kbuild 1.3, it compile without problems. But I noticed that some asm warning come with /tmp/. So I think that -pipe option is not right propagated. (on i386). BTW how to debug kbuild? When I recompile

[kbuild-devel] Re: xconfig fails in kernel= 2.4.11, brakage in network code

2001-10-21 Thread Keith Owens
On 21 Oct 2001 20:12:42 -0400, Alex [EMAIL PROTECTED] wrote: Xconfig is failing for kernel=2.4.11. The breakage appears to be in the network code make -C scripts kconfig.tk make[1]: Entering directory `/usr/src/linux-2.4.12-ac3-tux2-A9/scripts' drivers/net/Config.in: 252: can't handle

[kbuild-devel] Announce: Kernel Build for 2.5, Release 1.4 updated to 2.4.13

2001-10-28 Thread Keith Owens
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Content-Type: text/plain; charset=us-ascii Release 1.4 of kernel build for kernel 2.5 (kbuild 2.5) has been updated to kernel 2.4.13. http://sourceforge.net/projects/kbuild/, Package kbuild-2.5, download release 1.4.

[kbuild-devel] Add update_if_changed()

2001-10-28 Thread Keith Owens
Some generated files have a lot of dependencies and a lot of dependents. For this case it is worth doing a micro optimization to detect if the generated contents have changed since the last time. The obvious example is asm-offsets.h. Most asm-offsets.h have large dependency trees,

Re: [kbuild-devel] Re: Handling boolean subsets of objects

2001-10-29 Thread Keith Owens
On Mon, 29 Oct 2001 01:44:59 -0600, Peter Samuelson [EMAIL PROTECTED] wrote: *If* we can assume that a 'n' variable will not be '' instead [yes, I know, we can't assume that at present], the makefile implementation is trivial: ifeq(,$(findstring n,$(CONFIG_FOO)$(CONFIG_BAR))

[kbuild-devel] kbuild 2.5 will default to no -traditional for assembler

2001-11-17 Thread Keith Owens
Just a heads up. Current kbuild 2.5 defaults to -traditional for assembler so code that requires full cpp processing has to specify -no-traditional. That is painful, most new code requires full cpp so users have to specify overrides. -no-traditional is not supported by cpp so kbuild has to

Re: [kbuild-devel] KBuild2.5 installation options left out of CML2?

2001-11-18 Thread Keith Owens
On Sun, 18 Nov 2001 21:49:40 -0500, Hoho [EMAIL PROTECTED] wrote: Is it possible that the installation options for KBuild2.5 have not been ported to CML2? Both CML1 and CML2 contain 2.4 information only. The extra variables required for kbuild 2.5 are dynamically added by scripts/Makefile-2.5,

[kbuild-devel] CML2, how to set a string

2001-11-11 Thread Keith Owens
In CML2, how do you set a string variable that does not appear in a menu? CML1 for kbuild 2.5 has define_string CONFIG_KBUILD_CRITICAL CONFIG_SMP CONFIG_KBUILD_GCC_VERSION KBUILD_CRITICAL is a list of critical config variables, any change requries a full recompile. This variable is not set in

[kbuild-devel] CML2 1.8.3 problems

2001-11-11 Thread Keith Owens
CML2 1.8.3. The problems below only occur when starting from a valid 2.4.15-pre2 CML1 .config, i.e. they are conversion problems. The problems go away once config.out has been built. However these problems are likely to cause a lot of complaints during the conversion stage. In every case,

[kbuild-devel] Announce: Kernel Build for 2.5, Release 1.9 is available

2001-11-23 Thread Keith Owens
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Content-Type: text/plain; charset=us-ascii Release 1.9 of kernel build for kernel 2.5 (kbuild 2.5) has been released. http://sourceforge.net/projects/kbuild/, Package kbuild-2.5, download release 1.9. kbuild 2.5 currently supports i386 (2.4.15),

[kbuild-devel] Extending CML2 menus

2001-11-26 Thread Keith Owens
For kbuild 2.5 I need to add a couple of sub-menus on the end of the main menu. How do I do that? The obvious attempt at extending the menu did not work. I defined rules-2.5.cml containing this source rules.cml symbols FOO 'foo' BAR 'bar' kao 'kao' menu kao# kao

Re: [kbuild-devel] CML2 1.9.1 is available

2001-11-27 Thread Keith Owens
On Tue, 27 Nov 2001 13:39:44 -0500, Eric S. Raymond [EMAIL PROTECTED] wrote: Keith Owens has reported a looping bug I can't reproduce -- the bug log suggests that his CML2 rulebase is mis-installed somehow. The bug list is otherwise empty. The to-do list is empty. My fault. I had run install

[kbuild-devel] Re: CML2 1.9.1 is available

2001-11-27 Thread Keith Owens
CML2 1.9.1 installed over pristine 2.4.16. I double checked this time, one brown paper bag a day is enough. Python 2.1, RH 7.2. # rm .config config.out rules.out # yes '' | make oldconfig # grep BLUEZ .config config.out .config:# CONFIG_BLUEZ is not set .config:# CONFIG_BLUEZ_L2CAP is not set

[kbuild-devel] Re: Forgotten driver

2001-11-29 Thread Keith Owens
On Thu, 29 Nov 2001 16:28:00 +0100, Giacomo Catenazzi [EMAIL PROTECTED] wrote: Keith Owens wrote: This is my list from 2.4.16. A lot are false positives, but some are definitely orphaned. If you spot any errors in the Makefile.in rules compared to Makefile, let me know. I have check

Re: [kbuild-devel] CML2 choice funny

2001-11-29 Thread Keith Owens
On Thu, 29 Nov 2001 02:46:38 -0500, Eric S. Raymond [EMAIL PROTECTED] wrote: Keith Owens [EMAIL PROTECTED]: I am having some problems with the kernel format option, every arch needs this option but the choice list and default will vary between architectures. I am slowly coming

[kbuild-devel] Announce: Kernel Build for 2.5, Release 1.4 is available.

2001-10-08 Thread Keith Owens
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Content-Type: text/plain; charset=us-ascii Release 1.4 of kernel build for kernel 2.5 (kbuild 2.5) is available. http://sourceforge.net/projects/kbuild/, Package kbuild-2.5, download release 1.34

[kbuild-devel] Re: Export objs from an external Makefile?

2001-10-11 Thread Keith Owens
On Thu, 11 Oct 2001 09:35:32 -0700, Tom Rini [EMAIL PROTECTED] wrote: Hey all. How do you do the 'export-objs' bits in a kernel module that's outside of the kernel? Thanks.. Compile with -DMODULE -DEXPORT_SYMTAB. If the kernel has modversions, add -DMODVERSIONS -include

Re: [kbuild-devel] Re: kbuild 1.3 comments and bugs

2001-10-14 Thread Keith Owens
On Wed, 10 Oct 2001 16:39:16 +0200, Giacomo Catenazzi [EMAIL PROTECTED] wrote: Keith Owens wrote: Maybe a better solution: mrproper don't depend on .config. I convert user_command() to 'make' rules in place, so the result replaces user_command(). The expanded commands automatically add

Re: [kbuild-devel] Circular deps

2001-10-05 Thread Keith Owens
On Fri, 5 Oct 2001 17:19:59 -0700, Tom Rini [EMAIL PROTECTED] wrote: Hey all. Will 'circular deps' be a problem with kbuild-2.5? No. 2.5 uses a 2 layer dependency tree instead of the multi-layer (and possibly circular) tree used in 2.4. 2.5 targets (*.[oais]) depend on the files that they

[kbuild-devel] Re: kbuild-2.5 and CML2 question/proposal.

2001-11-30 Thread Keith Owens
On Fri, 30 Nov 2001 14:10:41 +0100, Giacomo Catenazzi [EMAIL PROTECTED] wrote: .config should depends in all [Cc]onfig.in. kbuild-2.4 and 2.5 seem not to take these dependencies. It solves no problems, but it is IMHO a nice features. [Lately I did see anymore problems of people not calling make

[kbuild-devel] Re: Announce: Kernel Build for 2.5, Release 1.10 is available

2001-12-02 Thread Keith Owens
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Content-Type: text/plain; charset=us-ascii On Sun, 02 Dec 2001 23:48:29 +1100, Keith Owens [EMAIL PROTECTED] wrote: Release 1.10 of kernel build for kernel 2.5 (kbuild 2.5) has been released. http://sourceforge.net/projects/kbuild/, Package kbuild

[kbuild-devel] Re: CML2 1.9.4 is available

2001-12-06 Thread Keith Owens
). Problems reported by Keith Owens and Dave Relson have been fixed. I am still seeing cases where it takes two runs of make oldconfig to get consistent output. This is not a show stopper but it would be nice if it could be fixed. Starting from a pristine 2.4.16, cml2 1.9.4, immediately after install

Re: [kbuild-devel] Converting the 2.5 kernel to kbuild 2.5

2001-12-04 Thread Keith Owens
On Tue, 4 Dec 2001 18:21:15 + (GMT), Alan Cox [EMAIL PROTECTED] wrote: make bzlilo modules modules_install: it would be a simble make install: (and you configure with CML1/CML2 what install means). How does it handle that when install means different things on each box of a set of them

[kbuild-devel] Re: Forgotten driver

2001-11-29 Thread Keith Owens
On Thu, 29 Nov 2001 12:54:03 +0100, Giacomo Catenazzi [EMAIL PROTECTED] wrote: The main point is: Could we find easily all 'orphaned file' with the new kbuild-2.5? make -f $KBUILD_SRCTREE_000/Makefile-2.5 allyes $KBUILD_OBJTREE/.tmp_global_makefile grep '\.[coS] '

[kbuild-devel] Visibility problem on make oldconfig

2001-11-29 Thread Keith Owens
The main visibility problem I reported against cml2 1.9.1 has been fixed in 1.9.3, but there is still one peculiarity. # rm .config config.out rules.out # yes '' | make oldconfig Although make oldconfig only asks about BLUEZ: Bluetooth subsystem support (NEW)?: the generated config.out

Re: [kbuild-devel] Converting the 2.5 kernel to kbuild 2.5

2001-12-06 Thread Keith Owens
On Thu, 6 Dec 2001 05:03:12 -0500, Rob Landley [EMAIL PROTECTED] wrote: P.S. Can we seperate add new subsystem y prime and remove old subsystem y. LIke the new and old SCSI error handling, which have been in the tree in parallel for some time? Did I hear Eric ever suggest removing the old

Re: [kbuild-devel] Re: Converting the 2.5 kernel to kbuild 2.5

2001-12-05 Thread Keith Owens
On Tue, 4 Dec 2001 11:13:46 -0500, Ghozlane Toumi [EMAIL PROTECTED] wrote: On Monday 03 December 2001 20:13, Keith Owens wrote: Could you take a look a the attached makefile.in , it's in alpha/kernel, for 2.4.16 , i'd welcome any comment, specificaly regarding the ifneq ($(CONFIG_ALPHA_EB64P

[kbuild-devel] Re: CML2 1.9.6 is available

2001-12-09 Thread Keith Owens
After a quick check it looks good. One niggle, some strings for kuild 2.5 are longer than 30 characters, cml2 restricts the string length in make menuconfig. Only menuconfig has this restriction, not oldconfig nor xconfig. Can the limit be removed, or at least changed to $ROWS-n which would

[kbuild-devel] Re: Converting the 2.5 kernel to kbuild 2.5

2001-12-06 Thread Keith Owens
On Mon, 03 Dec 2001 13:03:32 +1100, Keith Owens [EMAIL PROTECTED] wrote: On Sun, 2 Dec 2001 20:19:46 -0500, Eric S. Raymond [EMAIL PROTECTED] wrote: Keith Owens [EMAIL PROTECTED]: The CML1 to CML2 conversion comes later, either in 2.5.3 or 2.5.4. The schedule I heard from Linus at the kernel

Re: [kbuild-devel] kao.cml visibility

2001-12-07 Thread Keith Owens
On Fri, 7 Dec 2001 11:58:16 -0500, Eric S. Raymond [EMAIL PROTECTED] wrote: I'm still analyzing the behavior of the rulesfile you sent me. I'm not yet certain whether what you have showed me pilot error, a bug, or a design flaw. This in itself means that I have to clean up some relevant parts

Re: [kbuild-devel] Converting the 2.5 kernel to kbuild 2.5

2001-12-02 Thread Keith Owens
On Sun, 2 Dec 2001 20:19:46 -0500, Eric S. Raymond [EMAIL PROTECTED] wrote: Keith Owens [EMAIL PROTECTED]: The CML1 to CML2 conversion comes later, either in 2.5.3 or 2.5.4. The schedule I heard from Linus at the kernel summit was that both changes were to go in between 2.5.1 and 2.5.2. I

Re: [kbuild-devel] CML2 1.9.4 make menuconfig visibility bug #2

2001-12-07 Thread Keith Owens
On Fri, 7 Dec 2001 01:39:24 -0500, Eric S. Raymond [EMAIL PROTECTED] wrote: paraPutting a menu on the right side of a visibility rule suppresses that menu and all its children. In general, suppressing a symbol also implicitly suppresses all its dependents./para Just to be absolutely sure,

Re: [kbuild-devel] kbuild-2.5 and the apha

2001-12-11 Thread Keith Owens
On Tue, 11 Dec 2001 18:48:14 -0500, Ghozlane Toumi [EMAIL PROTECTED] wrote: good news, I'm able to compile and boot a kernel built with kbuild-2.5 on my alpha ... That is good news. Is there a way we could split the help entries into arch specific entries ? like using config variables

Re: [kbuild-devel] kbuild-2.5 and the apha

2001-12-11 Thread Keith Owens
On Tue, 11 Dec 2001 19:33:25 -0500, Eric S. Raymond [EMAIL PROTECTED] wrote: Keith Owens [EMAIL PROTECTED]: Is there a way we could split the help entries into arch specific entries ? like using config variables CONFIG_INSTALL_$ARCH_VMLINUX or something ? AFAICT, not in CML1. The CML1 help

[kbuild-devel] Re: CML2 1.9.6 is available

2001-12-11 Thread Keith Owens
On Wed, 12 Dec 2001 00:05:06 -0500, Eric S. Raymond [EMAIL PROTECTED] wrote: Keith Owens [EMAIL PROTECTED]: One niggle, some strings for kuild 2.5 are longer than 30 characters, cml2 restricts the string length in make menuconfig. Only menuconfig has this restriction, not oldconfig nor

Re: [kbuild-devel] kbuild-2.5 and the apha

2001-12-11 Thread Keith Owens
On Tue, 11 Dec 2001 20:41:54 -0700, Tom Rini [EMAIL PROTECTED] wrote: On Tue, Dec 11, 2001 at 09:38:58PM -0500, Ghozlane Toumi wrote: I was talking about the new CONFIG_INSTALL_* configuration options introduced by kbuild-2.5, and more specificaly of the options used to choose the build

Re: [kbuild-devel] CML2 1.9.7 is available

2001-12-12 Thread Keith Owens
On Wed, 12 Dec 2001 02:35:56 -0500, Eric S. Raymond [EMAIL PROTECTED] wrote: Release 1.9.7: Wed Dec 12 02:34:34 EST 2001 Dangling symlink kernel-tree/scripts/tree.py breaks the CML2 install, rm kernel-tree/scripts/tree.py first. There are still discrepancies between the output produced by

Re: [kbuild-devel] CML2 1.9.7 is available

2001-12-12 Thread Keith Owens
On Wed, 12 Dec 2001 11:57:33 +0100, Giacomo Catenazzi [EMAIL PROTECTED] wrote: Keith Owens wrote: OUCH! The output from make menuconfig has significantly more options than make oldconfig when given exactly the same input. I thought one of the selling points for CML2 was different front ends

Re: [kbuild-devel] CML2 1.9.7 is available

2001-12-12 Thread Keith Owens
On Wed, 12 Dec 2001 11:29:47 -0500, Eric S. Raymond [EMAIL PROTECTED] wrote: Keith Owens [EMAIL PROTECTED]: IMHO the only correct method is to write out only the visible symbols. The current logic looks like this: 1. If the symbol has been explicitly set, write it out. 2. Otherwise

[kbuild-devel] Re: call for eyes - kbuild 2.5 on alpha

2001-12-14 Thread Keith Owens
arch/alpha/boot/Makefile.in # XXX add arch/../lib.a twice or else link problem... bootloader_objects += $(objfile /arch/$(ARCH)/lib/lib.a) $(objfile /lib/lib.a) $(objfile /arch/$(ARCH)/lib/lib.a) That should not be necessary, it implies there is a reference loop between

[kbuild-devel] Re: Announce: Kernel Build for 2.5, Release 1.11 is available

2001-12-16 Thread Keith Owens
On Mon, 17 Dec 2001 00:28:12 -0500, Ben Collins [EMAIL PROTECTED] wrote: If anyone needs them, I can provide a small diff for the sparc/sparc64 Vger CVS changes to apply on top of the main kbuild-2.5 patch. Very minor change (hint, in Vger, netlink is compiled unconditionally now). Since they

[kbuild-devel] CML2 1.9.9 ia64

2001-12-16 Thread Keith Owens
Testing cml2 1.9.9, kbuild 2.5, 2.4.16-ia64-011214. config.out, line 267: bad token `SCSI_DEBUG_QUEUES' while expecting symbol. Stock 2.4.16 defines SCSI_DEBUG_QUEUES, it is used in drivers/scsi/scsi_merge.c. SCSI_DEBUG_QUEUES should be in cml2. config.out, line 313: bad token

[kbuild-devel] Re: CML2 1.9.9 ia64

2001-12-17 Thread Keith Owens
On Mon, 17 Dec 2001 02:35:52 -0500, Eric S. Raymond [EMAIL PROTECTED] wrote: The right answer looks like this: private VMLINUX_X86 VMLINUZ_X86 BZIMAGE_X86 ZIMAGE_X86 choices kernel_format_x86 # The format that the kernel is to be compiled in VMLINUX_X86 VMLINUZ_X86 BZIMAGE_X86

Re: [kbuild-devel] Re: CML2 1.9.9 ia64

2001-12-17 Thread Keith Owens
On Mon, 17 Dec 2001 11:20:11 -0700, Tom Rini [EMAIL PROTECTED] wrote: On Mon, Dec 17, 2001 at 10:03:11PM +1100, Keith Owens wrote: I can live with that - just. The help text for each of the build formats must be duplicated, even though VMLINUZ_X86 is _identical_ to VMLINUZ_IA64. People who

Re: [kbuild-devel] .tmp_targets failing?

2001-12-17 Thread Keith Owens
arch_head must be defined in arch/$(ARCH)/Makefile.defs.noconfig. The value of arch_head is used by pp_makefile2 to generate the global makefile, Makefile.defs.config is not read until after the global makefile is created, in fact Makefile.defs.config is only read by the global makefile. There

Re: [kbuild-devel] 'distclean' on kbuild-2.5?

2001-12-17 Thread Keith Owens
On Mon, 17 Dec 2001 20:28:43 -0700, Tom Rini [EMAIL PROTECTED] wrote: Where'd the 'distclean' target go in kbuild-2.5? Shouldn't it be at least a synonym for mrproper now? Why? With separate source and object trees there is no need for any clean, the source is always pure. With common source

Re: [kbuild-devel] .tmp_targets failing?

2001-12-17 Thread Keith Owens
On Tue, 18 Dec 2001 14:38:05 +1100, Keith Owens [EMAIL PROTECTED] wrote: arch_head must be defined in arch/$(ARCH)/Makefile.defs.noconfig. The value of arch_head is used by pp_makefile2 to generate the global makefile, Makefile.defs.config is not read until after the global makefile is created

[kbuild-devel] Re: Announce: Kernel Build for 2.5, Release 1.11 is available

2001-12-17 Thread Keith Owens
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Content-Type: text/plain; charset=us-ascii Patch for IA64 support using kbuild 2.5 for 2.4.16-ia64-011214. Build the kbuild 2.5 for ia64-011214 tree in this order: Linus's 2.4.16 kernel. kbuild-2.5-2.4.16-2 (common and ix86 patches).

[kbuild-devel] Re: .tmp_targets failing?

2001-12-19 Thread Keith Owens
On Tue, 18 Dec 2001 08:16:08 -0700, Tom Rini [EMAIL PROTECTED] wrote: On Tue, Dec 18, 2001 at 02:38:05PM +1100, Keith Owens wrote: arch_head must be defined in arch/$(ARCH)/Makefile.defs.noconfig. The value of arch_head is used by pp_makefile2 to generate the global makefile

Re: [kbuild-devel] KBUILD_QUITE?

2001-12-19 Thread Keith Owens
On Wed, 19 Dec 2001 13:06:46 -0700, Tom Rini [EMAIL PROTECTED] wrote: Ages ago, you can make kbuild-2.5 be a lot more verbose about what it was doing. I think it involved setting (or unsetting KBUILD_QUITE), but I don't see anything like that in Documentation/kbuild/kbuild-2.5.txt now. Is

[kbuild-devel] Re: .tmp_targets failing?

2001-12-19 Thread Keith Owens
On Wed, 19 Dec 2001 15:02:21 -0700, Tom Rini [EMAIL PROTECTED] wrote: On Thu, Dec 20, 2001 at 02:02:58AM +1100, Keith Owens wrote: The patch below against kbuild-2.5-2.4.16-2 changes where arch/$(ARCH)/Makefile.defs.config is read. It used to be read in the global makefile, long after

[kbuild-devel] Re: Using other arch includes + objdir != srcdir

2001-12-19 Thread Keith Owens
On Wed, 19 Dec 2001 13:27:19 -0700, Tom Rini [EMAIL PROTECTED] wrote: On PPC, the APUS platform (which is an m68k + PPC upgrade), we need to include a bunch of m68k headers. How should this be done w/ kbuild-2.5? Try this (untested). It should create a symlink for asm-m68k under

Re: [kbuild-devel] KBUILD_CRITICAL?

2001-12-19 Thread Keith Owens
On Wed, 19 Dec 2001 18:10:26 -0700, Tom Rini [EMAIL PROTECTED] wrote: Hey all. Since I finally got one of my PPC board booting (with some help from kbuild-2.4 for the vmlinux-zImage part), I was wondering what all needs to be done for KBUILD_CRITICAL. I've got KBUILD_CRITICAL_PPC defined, but

Re: [kbuild-devel] Re: .tmp_targets failing?

2001-12-19 Thread Keith Owens
On Wed, 19 Dec 2001 18:59:13 -0700, Tom Rini [EMAIL PROTECTED] wrote: # We can have any number of 'head.o' files, depending on CPU. # So we go ahead and set a default one and then modify it (and # CFLAGS) based on what processor we're on. arch_head = arch/ppc/kernel/head.o ifneq ($(subst

Re: [kbuild-devel] Re: .tmp_targets failing?

2001-12-19 Thread Keith Owens
On Wed, 19 Dec 2001 21:14:47 -0700, Tom Rini [EMAIL PROTECTED] wrote: Okay, if I do that and add in: HEAD-y = head.o HEAD-$(CONFIG_8xx) := head_8xx.o HEAD-$(CONFIG_4xx) := head_4xx.o select($(HEAD-y)) Things get farther. Dunno if it'll select the right head for linking tho, but .tmp_env has

Re: [kbuild-devel] PPC, take 1

2001-12-20 Thread Keith Owens
On Thu, 20 Dec 2001 08:09:19 -0700, Tom Rini [EMAIL PROTECTED] wrote: Okay. With the various patches Keith has posted (and using kbuild-2.4 for vmlinux - zImage), I've gotten two different boards compiled and booted. These still have the various debugging statements in, but aside from that

Re: [kbuild-devel] PPC, take 1

2001-12-20 Thread Keith Owens
On Thu, 20 Dec 2001 13:46:56 -0700, Tom Rini [EMAIL PROTECTED] wrote: Yeah, I did the 'proper' kbuild-2.5 only fix for now. What would the proper extra flag be for #include ../../../drivers/scsi/sd.h tho? $(src_listinc /) or so? :(((. That one will have to change to #include sd.h and both 2.4

Re: [kbuild-devel] Re: State of the new config build system

2001-12-27 Thread Keith Owens
On Fri, 28 Dec 2001 01:54:42 +0100 (CET), Dave Jones [EMAIL PROTECTED] wrote: On Thu, 27 Dec 2001, Eric S. Raymond wrote: ..., and Keith's stuff is stable enough that he's now adding features like kernel-image type selection that were obviously way down his to-do list. How far down the list

[kbuild-devel] Re: State of the new config build system

2001-12-27 Thread Keith Owens
On Thu, 27 Dec 2001 17:15:45 -0800, Larry McVoy [EMAIL PROTECTED] wrote: [talking about kbuild 2.5 speed] Then it does seem reasonable to ask that the new one is at least as fast as the old one. kbuild 2.4 is fast but inaccurate, kbuild 2.5 is slower but accurate. Pick one. I am sure that I

[kbuild-devel] Re: State of the new config build system

2001-12-27 Thread Keith Owens
On Fri, 28 Dec 2001 02:22:01 +0100 (CET), Dave Jones [EMAIL PROTECTED] wrote: On Thu, 27 Dec 2001, Eric S. Raymond wrote: That is such an unutterably horrible concept that the very tentacles of Cthulhu himself must twitch in dread at the thought. The last thing anyone sane wants to do is

[kbuild-devel] Re: State of the new config build system

2001-12-27 Thread Keith Owens
On Thu, 27 Dec 2001 17:37:39 -0800, Larry McVoy [EMAIL PROTECTED] wrote: A couple of questions: a) will 2.5 be as fast as the current system? Faster? At the moment kbuild 2.5 ranges from 10% faster on small builds to 100% slower on a full kernel build. But that is using slow core code which

[kbuild-devel] Re: State of the new config build system

2001-12-28 Thread Keith Owens
On Fri, 28 Dec 2001 04:26:48 -0500, Legacy Fishtank [EMAIL PROTECTED] wrote: On Fri, Dec 28, 2001 at 01:54:42AM +0100, Dave Jones wrote: How far down the list was make it not take twice as long to build the kernel as kbuild 2.4 ? Keith mentioned O(n^2) effects due to each compile operation

[kbuild-devel] Re: State of the new config build system

2001-12-28 Thread Keith Owens
On Fri, 28 Dec 2001 14:14:37 + (GMT), Alan Cox [EMAIL PROTECTED] wrote: Ah, OK, I get it. Hey, would it help to have a dbm interface compat library which uses mmap instead of building the db in brk() space? mmap for db file seems to be slower. For basic db hash usage and raw speed

[kbuild-devel] Re: State of the new config build system

2001-12-28 Thread Keith Owens
cc: list trimmed. On Fri, 28 Dec 2001 12:01:04 -0800, Larry McVoy [EMAIL PROTECTED] wrote: On Fri, Dec 28, 2001 at 08:42:44PM +1100, Keith Owens wrote: All I need to do is have one server process that reads the big list once and the other client processes talk to the server. Much less data

[kbuild-devel] Re: State of the new config build system

2001-12-28 Thread Keith Owens
On Fri, 28 Dec 2001 14:17:24 -0800 (PST), Linus Torvalds [EMAIL PROTECTED] wrote: On Fri, 28 Dec 2001, Legacy Fishtank wrote: I think one thing to note is that dependencies is that if you are smart about it, dependencies -really- do not even change when your .config changes. Absolutely. I

[kbuild-devel] Re: State of the new config build system

2001-12-28 Thread Keith Owens
On Fri, 28 Dec 2001 16:16:03 -0500, Legacy Fishtank [EMAIL PROTECTED] wrote: I think one thing to note is that dependencies is that if you are smart about it, dependencies -really- do not even change when your .config changes. What about a system where Linus runs make deps -once- before he

[kbuild-devel] Re: Announce: Kernel Build for 2.5, Release 1.12 is available

2001-12-29 Thread Keith Owens
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Content-Type: text/plain; charset=us-ascii On Fri, 28 Dec 2001 13:31:42 +1100, Keith Owens [EMAIL PROTECTED] wrote: This announcement is for the base kbuild 2.5 code, i386 against 2.4.16. Patches for other architectures and kernels will be out

[kbuild-devel] Re: Announce: Kernel Build for 2.5, Release 1.12 is available

2001-12-30 Thread Keith Owens
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Content-Type: text/plain; charset=us-ascii On Fri, 28 Dec 2001 13:31:42 +1100, Keith Owens [EMAIL PROTECTED] wrote: This announcement is for the base kbuild 2.5 code, i386 against 2.4.16. Patches for other architectures and kernels will be out

[kbuild-devel] Re: Announce: Kernel Build for 2.5, Release 1.12 is available

2001-12-30 Thread Keith Owens
On Mon, 31 Dec 2001 00:54:48 -0500, Albert Cranford [EMAIL PROTECTED] wrote: Is it just me or did 1.12 break i386 in 2.4.18-pre1? I applied linux-2.4.18-pre1 then: kbuild-2.5-2.4.16-3 kbuild-2.5-2.4.17-1 kbuild-2.5-2.4.18-pre1-1 cp /tmp/saved.config /usr/src/linux/.config I

[kbuild-devel] Re: State of the new config build system

2002-01-01 Thread Keith Owens
On Mon, 31 Dec 2001 20:03:59 -0800, Mike Touloumtzis [EMAIL PROTECTED] wrote: On Fri, Dec 28, 2001 at 12:57:58PM +1100, Keith Owens wrote: Unlike the broken make dep, kbuild 2.5 extracts accurate dependencies by using the -MD option of cpp and post processing the cpp list. The post

[kbuild-devel] Re: KBUILD_SRCTREE_xxx proposal

2002-01-05 Thread Keith Owens
On Sat, 05 Jan 2002 09:26:49 +0100, Giacomo A. Catenazzi [EMAIL PROTECTED] wrote: To give the multiple sources tree to gcc you use a for(i=0,i=999,i++). I don't see what you are worrying about. The only code that loops over the source trees is in the pre-processor code and an awk script that

Re: [kbuild-devel] Re: State of the new config build system

2002-01-06 Thread Keith Owens
On Sun, 6 Jan 2002 09:55:49 +0100, Martin Mares [EMAIL PROTECTED] wrote: Is there any reason for processing all the files for each compile instead of merging them to a single file once at the start of the make? The main reason is to convert absolute dependency names to $(xxx) followed by a

[kbuild-devel] Re: Mouse Wheel Patch against 2.4.17

2002-01-13 Thread Keith Owens
On Sun, 13 Jan 2002 16:54:41 +0100, Bernd Petrovitsch [EMAIL PROTECTED] wrote: I added mouse wheel support to the X11 configuration program. It is the straight forward solution : just assign the existing actions to the wheel buttons. --- linux-2.4.17/scripts/tkgen.c-orig Sun Jan 13 15:55:11

Re: [kbuild-devel] 2048 max variables in xconfig?

2002-01-19 Thread Keith Owens
On Sat, 19 Jan 2002 12:39:16 -0700, Tom Rini [EMAIL PROTECTED] wrote: Hey all. I've just run into a situation where xconfig won't run because there's 2048 variables for it to deal with. If I'm reading the source right, I should just be able to bump VARTABLE_SIZE in scripts/tkparse.c and

Re: [kbuild-devel] Bug in kbuild-2.5-2.4.18-pre1-1

2002-01-29 Thread Keith Owens
On Tue, 29 Jan 2002 22:45:24 +0100, Rasmus Andersen [EMAIL PROTECTED] wrote: I've created a 2.4.18p1+kbuild tree (clean 2.4.18p1 tree, apply kbuild-2.5-2.4.16-3.bz2, kbuild-2.5-2.4.17-1.bz2, kbuild-2.5-2.4.18-pre1-1.bz2) and copied in an old .config. When I run 'make -f Makefile-2.5 oldconfig

Re: [kbuild-devel] Re: kbuild for linux 2.4.x

2002-01-29 Thread Keith Owens
On Tue, 29 Jan 2002 18:53:07 -0600, Peter Samuelson [EMAIL PROTECTED] wrote: [Brendan J Simon] OK. I saw the instructions. kbuild-2.5-2.4.17-1 says to patch against the linus-2.4.17 kernel where as kbuild-2.5-2.4.16-ppc-2 says to patch against the marcelo kernel. I did a search on google

[kbuild-devel] Announce: Kernel Build for 2.5, Release 2.0 is available

2002-04-05 Thread Keith Owens
-BEGIN PGP MESSAGE- Version: GnuPG v1.0.4 (GNU/Linux) Comment: Exmh version 2.1.1 10/15/1999 owGNVk2PG0UQzYcQWUsWivIHKocku5J3bG/2I+tsEsiSBJPdECUBkWN7psfueGZ6 1N2zXgdxQAgJCQ4cOSGuCHELd5AQF04IDvkDHCCIn4B41TNjeyOCiLTRbk9X1atX r6r6s+bJ4ydOf/LRy1sXnkR/HP/pmXulE6R2GGysb2wG8jAd7Xzz4XRXZ05mbvXB

[kbuild-devel] Re: Announce: Kernel Build for 2.5, Release 2.0 is available

2002-04-05 Thread Keith Owens
On Fri, 05 Apr 2002 21:26:08 +1000, Keith Owens [EMAIL PROTECTED] wrote: kbuild 2.4: make oldconfig0:07 make dep 0:37 (make -j dep is unsafe on some architectures) make -j8 bzImage modules 14:16 Total15:00 make

[kbuild-devel] kbuild 2.5 problems with netfilter linking

2002-04-05 Thread Keith Owens
AKA - Rusty shoots himself in the foot :) kbuild 2.5 defines -DKBUILD_OBJECT=module, the name of the module the object is linked into, without the trailing '.o' and without any paths. If the object is a free standing module or is linked into vmlinux then the module name is the

[kbuild-devel] Re: Announce: Kernel Build for 2.5, Release 2.0 is available

2002-04-05 Thread Keith Owens
Thanks to Peter Samuelson and Tom Duffy, 2.4.18 i386 patches are now available for kbuild 2.5. Instructions at the start of each patch. http://sourceforge.net/project/showfiles.php?group_id=18813release_id=83065 kbuild-2.5-core-1.bz2 (unchanged) kbuild-2.5-common-2.4.18-1.bz2 (new)

[kbuild-devel] Re: Announce: Kernel Build for 2.5, Release 2.0 is available

2002-04-06 Thread Keith Owens
On Sat, 6 Apr 2002 17:35:39 +0100, Russell King [EMAIL PROTECTED] wrote: On Sat, Apr 06, 2002 at 12:03:15PM +1000, Keith Owens wrote: The timings above were for exactly the same .config on the same build machine, Can you provide details of this machine? It was in the original message. http

  1   2   >