separate objdir Makefile regression in 2.6.24-rc*

Andi Kleen
2007-12-13T14:05:44Z

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