Re: 3.9-rc1: hz.bc compilation breakage

From: Maxime Ripard
Date: Thu Mar 07 2013 - 05:42:37 EST


Hi,

Le 07/03/2013 04:41, H. Peter Anvin a écrit :
> On 03/06/2013 06:36 AM, Maxime Ripard wrote:
>> I'm compiling the kernel for an iMX28(ARM) board, and since 3.9-rc1, I
>> get the following error at compilation time:
>>
>> make[3]: *** No rule to make target
>> `/home/max/Work/2012/crystalfontz/rewrite/linux-dt/include/config/hz.h',
>> needed by `kernel/hz.bc'. Stop.
>>
>> I'm doing a clean out-of-tree build, with the following configuration
>> file: http://code.bulix.org/m4y7se-83102?raw
>>
>> Reverting commit 1b66e0fd ("kernel: Replace timeconst.pl with a bc
>> script") make the compilation go on as usual.
>>
>
> That file should have been created by "make *config", and I just
> verified that it does indeed do so. That file is a sentinel for
> configuration changes; the entire build system depends on it.

I triggered this issue when switching to 3.9-rc1, and oldconfig runs at
that time, and now, running menuconfig doesn't generates it either.

> I am not sure what you mean with "clean out-of-tree", however.

make O=$(pwd) -C /path/to/linux/source some_configs
make

Thanks,
Maxime

--
Maxime Ripard, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
--
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/