mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Kbuild changes since 2.6.21??
@ 2008-05-28 16:23 Doug Reiland
  2008-05-28 18:27 ` Doug Reiland
  0 siblings, 1 reply; 3+ messages in thread
From: Doug Reiland @ 2008-05-28 16:23 UTC (permalink / raw)
  To: linux-kernel

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Kbuild changes since 2.6.21??
  2008-05-28 16:23 Kbuild changes since 2.6.21?? Doug Reiland
@ 2008-05-28 18:27 ` Doug Reiland
  2008-05-28 18:42   ` Sam Ravnborg
  0 siblings, 1 reply; 3+ messages in thread
From: Doug Reiland @ 2008-05-28 18:27 UTC (permalink / raw)
  To: linux-kernel

By bad, drivers/power/Makefile is ok.
I thought I reproduced the issue there.

On Wed, May 28, 2008 at 12:23 PM, Doug Reiland <dreiland@gmail.com> wrote:
> 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.
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Kbuild changes since 2.6.21??
  2008-05-28 18:27 ` Doug Reiland
@ 2008-05-28 18:42   ` Sam Ravnborg
  0 siblings, 0 replies; 3+ messages in thread
From: Sam Ravnborg @ 2008-05-28 18:42 UTC (permalink / raw)
  To: Doug Reiland; +Cc: linux-kernel

On Wed, May 28, 2008 at 02:27:47PM -0400, Doug Reiland wrote:
> By bad, drivers/power/Makefile is ok.
> I thought I reproduced the issue there.
> 
> On Wed, May 28, 2008 at 12:23 PM, Doug Reiland <dreiland@gmail.com> wrote:
> > 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.

We use find to delete all .o files. So the content of your Kbuild file
should not matter here.
Can you describe the setup where you see the issue?

	Sam

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-05-28 18:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-28 16:23 Kbuild changes since 2.6.21?? Doug Reiland
2008-05-28 18:27 ` Doug Reiland
2008-05-28 18:42   ` Sam Ravnborg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®