Package: u-boot
Version: 2014.10~rc3+dfsg1-1
Severity: important
Tags: patch

Hello!

On SH4, we can't currently update the kernel to the latest version since
u-boot, which is a dependency of the kernel package, fails to build
from source.

According to the build log [1], the reason for the failure is a compiler
option which is not supported in the current build configuration on
SH4.

Checking the source code, it seems the option in question, "-m4-nofpu",
is used on SH4 only. Thus, it would therefore not hurt to just remove
this option.

Would it be possible to just patch this option from the source? I am
attaching a proposed patch.

Cheers,
Adrian

> [1] 
> http://buildd.debian-ports.org/status/fetch.php?pkg=u-boot&arch=sh4&ver=2014.10~rc3%2Bdfsg1-1&stamp=1412809450
diff -Nru org/u-boot-2014.10~rc2+dfsg1/arch/sh/cpu/sh4/config.mk patched/u-boot-2014.10~rc2+dfsg1/arch/sh/cpu/sh4/config.mk
--- org/u-boot-2014.10~rc2+dfsg1/arch/sh/cpu/sh4/config.mk	2014-09-03 06:56:26.000000000 +0200
+++ patched/u-boot-2014.10~rc2+dfsg1/arch/sh/cpu/sh4/config.mk	2014-10-09 15:22:39.979651848 +0200
@@ -8,4 +8,4 @@
 # SPDX-License-Identifier:	GPL-2.0+
 #
 #
-PLATFORM_CPPFLAGS += -DCONFIG_SH4 -m4-nofpu
+PLATFORM_CPPFLAGS += -DCONFIG_SH4

Reply via email to