[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,

[kbuild-devel] KBUILD_QUITE?

2001-12-19 Thread Tom Rini
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 there something like this still? -- Tom Rini (TR1265)

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

2001-12-19 Thread Tom Rini
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? Right now the files do #include asm-m68k/foo.h, but this fails when srcdir != objdir: CC arch/ppc/kernel/irq.o In file included from

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

2001-12-19 Thread Tom Rini
On Wed, Dec 19, 2001 at 01:27:19PM -0700, Tom Rini 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? Right now the files do #include asm-m68k/foo.h, but this fails when srcdir != objdir: CC

[kbuild-devel] Re: .tmp_targets failing?

2001-12-19 Thread Tom Rini
On Thu, Dec 20, 2001 at 02:02:58AM +1100, Keith Owens wrote: 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

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

Re: [kbuild-devel] KBUILD_QUITE?

2001-12-19 Thread Tom Rini
On Thu, Dec 20, 2001 at 09:15:32AM +1100, Keith Owens wrote: 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

[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

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

2001-12-19 Thread Tom Rini
On Thu, Dec 20, 2001 at 09:45:16AM +1100, Keith Owens wrote: 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

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 Tom Rini
On Thu, Dec 20, 2001 at 01:24:48PM +1100, Keith Owens wrote: 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

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

2001-12-19 Thread Tom Rini
On Thu, Dec 20, 2001 at 02:22:03PM +1100, Keith Owens wrote: On Wed, 19 Dec 2001 19:29:32 -0700, Tom Rini [EMAIL PROTECTED] wrote: $ make -f Makefile-2.5 CONFIG_4xx= CONFIG_8xx= Using ARCH='ppc' AS='as' LD='ld' CC='/usr/bin/gcc' CPP='/usr/bin/gcc -E' AR='ar' HOSTAS='as' HOSTLD='gcc'

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

2001-12-19 Thread Tom Rini
On Thu, Dec 20, 2001 at 03:06:19PM +1100, Keith Owens wrote: On Wed, 19 Dec 2001 20:41:18 -0700, Tom Rini [EMAIL PROTECTED] wrote: Okay. If I do make -f Makefile-2.5 installable I get: MAKECMDGOALS=installable filter= passed filter before CONFIG_8xx= included .config after CONFIG_8xx=y

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] Re: .tmp_targets failing?

2001-12-19 Thread Tom Rini
On Thu, Dec 20, 2001 at 03:24:28PM +1100, Keith Owens wrote: 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.

Re: [kbuild-devel] cml2-1.9.10 problems with kxref.py script

2001-12-19 Thread Eric S. Raymond
Steven Cole [EMAIL PROTECTED]: I'm having problems getting the kxref.py script to run using recent versions of cml2. Hm. Looks likew Python versions before 2.2b1 get a little confused about nested scopes. I'll put out a 1.9.11 to address this. -- a

[kbuild-devel] CML2 1.9.11 is available

2001-12-19 Thread Eric S. Raymond
Release 1.9.11: Wed Dec 19 23:57:21 EST 2001 * Added a ruleset-debugging mode to cmlconfigure.py. * Add 'like' keyword so help entries can be re-used by reference. * Fix some scoping problems in kxref.py that confused pre-2.2 Pythons. I haven't solved Richard Todd's bugs

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

2001-12-19 Thread Tom Rini
On Thu, Dec 20, 2001 at 04:24:32PM +1100, Keith Owens wrote: On Wed, 19 Dec 2001 21:32:31 -0700, Tom Rini [EMAIL PROTECTED] wrote: Starting phase 4 (build) for installable arch_head=arch/ppc/kernel/head_8xx.o notdir arch_head=arch/ppc/kernel/head_8xx.o make[1]: *** No rule to make target

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

2001-12-19 Thread Tom Rini
On Thu, Dec 20, 2001 at 12:25:03PM +1100, Keith Owens wrote: On Thu, 20 Dec 2001 09:45:16 +1100, Keith Owens [EMAIL PROTECTED] wrote: 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