Kbuild changes since 2.6.21??

From: Doug Reiland
Date: Wed May 28 2008 - 12:23:39 EST


There are some makefiles that look at CONFIG_XXXX variables to make
decisions. For example, drivers/power/Makefile has the following
lines:

ifeq ($(CONFIG_SYSFS),y)
power_supply-objs += power_supply_sysfs.o
endif


If I run make clean or make mrproper, it doesn't see CONFIG_SYSFS set
anymore so it doesn't cleanup power_supply_sysfs.o.

This is for 2.6.25, but I think this use to work for 2.6.21. I am
using drivers/power/Makefile as an example, but I am seeing the same
thing for my driver's Makefile.

Thanks in advance.
--
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/