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

Tom Rini (trini@kernel.crashing.org)
Sat, 11 Aug 2001 15:02:55 -0700


On Sun, Aug 12, 2001 at 01:03:00AM +1000, Keith Owens wrote:

> Changes from Release 1.
[snip]
> Document kbuild targets and C to assembler conversions. As always,
> Documentation/kbuild/kbuild-2.5.txt is your friend.

Okay, I've played with this a bit on PPC, and got it working to boot :)
Now here's what I see as the slight problems with it. At least on PPC
what we do is generate the offset bits, and then have another file,
arch/ppc/kernel/ppc_asm.h include that file and have some other useful
macros for .S files. So any of the .S files which include ppc_asm.h
would need an additional
extra_aflags(foo.o $(src_includelist /arch/$(ARCH)))
or extra_aflags_all($(src_includelist /arch/$(ARCH))
or my ugly workaround for the moment of #include <../arch/ppc/offsets.h>
which is wrong, but works.

But aside from that, it's nice that the file isn't generated every make
like it was w/ the user_command workaround :)

-- 
Tom Rini (TR1265)
http://gate.crashing.org/~trini/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/