Re: kconfig/build question..

From: Adrian Bunk
Date: Fri Nov 12 2004 - 13:41:54 EST

On Wed, Nov 10, 2004 at 12:55:32PM +0100, Roman Zippel wrote:
> Hi,
> On Wed, 10 Nov 2004, Dave Airlie wrote:
> > So what I want to do and what I think Kbuild can't do is:
> >
> > if CONFIG_AGP=n then CONFIG_DRM can be n,m,y
> > if CONFIG_AGP=m then CONFIG_DRM can be m but not y
> > if CONFIG_AGP=y then CONFIG_DRM can be m,y
> Do you really want to say that DRM can't be disabled if AGP is enabled?
> Otherwise this should do it:
> depends on AGP || AGP=n

I dislike this solution.


If the user then adds modular AGP to his kernel this will cause DRM=m
which might cause problems if he tries to use these modules.

I'm still of the opinion that adding a module shoudn't change the
static kernel.

> bye, Roman



"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at