[Buildroot] [PATCHv2 1/1] board/wandboard: fix perl related linux compilation error

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Sep 22 13:47:16 UTC 2015


Hello,

On Tue, 22 Sep 2015 10:45:21 +0800, imrehg at gmail.com wrote:
> From: Gergely Imreh <imrehg at gmail.com>
> 
> Replace the "timeconst" perl script with a bc script to fix an
> error due to syntax changes in perl which resulted in linux
> compilation error for the wandboard's 3.8 kernel. The patch is
> backported, kernels from 3.9 onward already have this change.
> 
> Signed-off-by: Gergely Imreh <imrehg at gmail.com>

The problem with this patch is that it fixes the problem specifically
for the wandboard_defconfig. Any other person building another kernel
version affected by the same problem will face the problem.

If the problem is serious, I don't really see another option than
having some logic in linux.mk to detect if the kernel is affected by
the problem, and replacing the perl script by a bc script.

Other ideas?

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list