On Fri, 14 Mar 2008 18:55:01 +0100 Bastian Blank wrote: > Hi folks > > I work on the s390 kernel, linus/linux2.6.git, and found something which > looks buggy. The kernel have HWMON enabled even if the dependencies does > not allow it. > > Dependency structure: > | menuconfig THERMAL > | bool "Generic Thermal sysfs driver" > | select HWMON > | default y > | > | menuconfig HWMON > | tristate "Hardware Monitoring support" > | depends on HAS_IOMEM > | default y > | > | config HAS_IOMEM > | boolean > | depends on !NO_IOMEM > | default y > | > | config NO_IOMEM > | def_bool y > > HWMON should never be selectable in this case, but the select forces it > to yes: > | Hardware Monitoring support (HWMON) [Y/?] (NEW) y Yes, that's a known & longstanding problem (that select does not follow/honor dependencies). BTW, why does THERMAL default to y? --- ~Randy -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html