Re: Modpost error after changing CONFIG_SOUND from m to y

From: Sam Ravnborg
Date: Mon Jul 12 2010 - 13:41:39 EST


> >
> > What is the intial reason why you assign CFLAGS_KERNEL and CFLAGS_MODULE?
>
> I want to add some flags to every compiler invocation.

make KCFLAGS=-DMYSTUFF

is what you want to use then.

It is documented in Documentation/kbuild/kbuild.txt (briefly though).

Sam
--
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/