Re: Module compilation

From: Ian Campbell
Date: Wed Oct 20 2004 - 10:12:45 EST


On Wed, 2004-10-20 at 15:36, Richard B. Johnson wrote:

> Could whomever remade the kernel Makefile, please add
> a variable, initially set to "", like CFLAGS_KERNEL, that
> is exported and is always included on the compiler command-
> line?

Does the existing EXTRA_CFLAGS do what you want?

I believe you can also set CFLAGS_blah.o if you just want extra stuff
for a single file.

Ian.

--
Ian Campbell, Senior Design Engineer
Web: http://www.arcom.com
Arcom, Clifton Road, Direct: +44 (0)1223 403 465
Cambridge CB1 7EA, United Kingdom Phone: +44 (0)1223 411 200

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/