2007-12-13 14:05:44

by Andi Kleen

[permalink] [raw]
Subject: separate objdir Makefile regression in 2.6.24-rc*


2.6.24-rc5 doesn't seem to create Makefiles in empty obj dirs anymore

With 2.6.24-rc5:

% mkdir obj-test
% cd obj-test/
% make -C ../linux O=$(pwd) allnoconfig >/dev/null
grep: /home/lsrc/quilt/obj-test/Makefile: No such file or directory
% make
make: *** No targets specified and no makefile found. Stop.
%

With 2.6.23 this worked:

% mkdir obj-test
% cd obj-test/
% make -C ../linux-2.6.23 O=$(pwd) allnoconfig >/dev/null
% make
make -C /home/lsrc/linux-2.6.23 O=/home/lsrc/obj-test
GEN /home/lsrc/obj-test/Makefile
scripts/kconfig/conf -s arch/x86_64/Kconfig
Using /home/lsrc/linux-2.6.23 as source for kernel
...


-Andi


2007-12-13 14:16:53

by Guillaume Chazarain

[permalink] [raw]
Subject: Re: separate objdir Makefile regression in 2.6.24-rc*

On Dec 13, 2007 2:48 PM, Andi Kleen <[email protected]> wrote:
>
> 2.6.24-rc5 doesn't seem to create Makefiles in empty obj dirs anymore

Known problem ;-)
See http://groups.google.com/group/fa.linux.kernel/browse_thread/thread/188cbd12d7c0871b/194fbc7c94314b2c

--
Guillaume

2007-12-13 14:34:00

by Andi Kleen

[permalink] [raw]
Subject: Re: separate objdir Makefile regression in 2.6.24-rc*

On Thu, Dec 13, 2007 at 03:16:27PM +0100, Guillaume Chazarain wrote:
> On Dec 13, 2007 2:48 PM, Andi Kleen <[email protected]> wrote:
> >
> > 2.6.24-rc5 doesn't seem to create Makefiles in empty obj dirs anymore
>
> Known problem ;-)
> See http://groups.google.com/group/fa.linux.kernel/browse_thread/thread/188cbd12d7c0871b/194fbc7c94314b2c

Ah, thanks. But it looks like that patch isn't in Linus' tree yet. Sam?

-Andi

2007-12-13 18:25:08

by Sam Ravnborg

[permalink] [raw]
Subject: Re: separate objdir Makefile regression in 2.6.24-rc*

On Thu, Dec 13, 2007 at 03:33:59PM +0100, Andi Kleen wrote:
> On Thu, Dec 13, 2007 at 03:16:27PM +0100, Guillaume Chazarain wrote:
> > On Dec 13, 2007 2:48 PM, Andi Kleen <[email protected]> wrote:
> > >
> > > 2.6.24-rc5 doesn't seem to create Makefiles in empty obj dirs anymore
> >
> > Known problem ;-)
> > See http://groups.google.com/group/fa.linux.kernel/browse_thread/thread/188cbd12d7c0871b/194fbc7c94314b2c
>
> Ah, thanks. But it looks like that patch isn't in Linus' tree yet. Sam?

I have asked Linus to pull it.

Sam