"David S. Miller" wrote:
>
> Date: Sat, 26 Feb 2000 18:43:00 -0500
> From: Rui Sousa <[EMAIL PROTECTED]>
>
> So the only absolutely safe way of compiling a module outside the
> kernel three is to have the .config available plus all the
> arch/*/Makefiles?
>
> Have you looked at all the funny compiler options which are
> necessary on Sparc64 and Alpha for example?
>
That's precisely my point. And yes there were already some problems
compiling on the Alpha for which I hacked a solution into the Makefile.
But that's just an hack, which is not guaranteed to work in the future.
So you do need those files or you need the compiler options obtained after
processing them to be kept somewhere...
Is there any argument against creating include/compiler.options (or some other
name) containing something like:
CFLAGS= ....
LDFLAGS= ....
that you could use in your module's makefile:
include $(SRC)/include/compiler.options
?
Rui Sousa
-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/dmentre/smp-howto/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]