Re: kconfig/build question..

From: Roman Zippel
Date: Wed Nov 10 2004 - 06:56:51 EST


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

bye, Roman
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