"David S. Miller" wrote:
>
> Date: Sat, 26 Feb 2000 18:43:00 -0500
> From: Rui Sousa <rsousa@grad.physics.sunysb.edu>
>
> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Tue Feb 29 2000 - 21:00:16 EST