diff mbox

config/odroidc2: force usage of gcc 4.9.x

Message ID 20161006111459.25547-1-daggs@gmx.com
State Accepted
Commit 6f162f27edf45a99bedd1c15eeb4d947b9e51f57
Headers show

Commit Message

Dagg Stompler Oct. 6, 2016, 11:14 a.m. UTC
due to an issue with odroid's u-boot, compiling u-boot with
gcc 5.x will result in a non booting image.
so a gcc 4.9.x compiler must be used.
this solve bug #9326

thanks to Erico Nunes <nunes.erico@gmail.com> for pointing
to the right issue.

Reported-by: <gahabana@mail.com>
Signed-off-by: Dagg Stompler <daggs@gmx.com>
---
 configs/odroidc2_defconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Peter Korsgaard Oct. 6, 2016, 3:42 p.m. UTC | #1
>>>>> "Dagg" == Dagg Stompler <daggs@gmx.com> writes:

 > due to an issue with odroid's u-boot, compiling u-boot with
 > gcc 5.x will result in a non booting image.
 > so a gcc 4.9.x compiler must be used.
 > this solve bug #9326

 > thanks to Erico Nunes <nunes.erico@gmail.com> for pointing
 > to the right issue.

 > Reported-by: <gahabana@mail.com>
 > Signed-off-by: Dagg Stompler <daggs@gmx.com>

Committed, thanks.
diff mbox

Patch

diff --git a/configs/odroidc2_defconfig b/configs/odroidc2_defconfig
index 45ede62..0c8ff3d 100644
--- a/configs/odroidc2_defconfig
+++ b/configs/odroidc2_defconfig
@@ -7,6 +7,7 @@  BR2_TARGET_ROOTFS_EXT2=y
 BR2_TARGET_ROOTFS_EXT2_4=y
 BR2_ROOTFS_POST_IMAGE_SCRIPT="board/hardkernel/odroidc2/post-image.sh"
 BR2_PACKAGE_ODROID_SCRIPTS=y
+BR2_GCC_VERSION_4_9_X=y
 
 # Kernel
 BR2_KERNEL_HEADERS_VERSION=y