qt: do not allow webkit with SuperH Sourcery toolchain
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 17 May 2015 14:15:38 +0000 (16:15 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 17 May 2015 18:43:47 +0000 (20:43 +0200)
Building webkit with the SuperH Sourcery toolchain fails with an
assertion in binutils, so let's not allow to select webkit with this
toolchain. We do not need to worry about reverse dependencies, since
we use the existing BR2_PACKAGE_QT_ARCH_SUPPORTS_WEBKIT symbol to add
this new dependency.

Fixes:

  http://autobuild.buildroot.net/results/508cdeb67f272b61209f331ab7b990cb56f30817/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/qt/Config.in

index 67d55616d4d5405041e2445244ef08d145924d3f..306fe1fc3c01a95b5c914425e25a474b05991ae9 100644 (file)
@@ -412,8 +412,11 @@ config BR2_PACKAGE_QT_ARCH_SUPPORTS_WEBKIT
        default y if BR2_arm || BR2_armeb || BR2_i386 || BR2_microblazeel || \
                BR2_microblazebe || BR2_mips || BR2_mipsel || \
                (BR2_mips64 || BR2_mips64el) && !BR2_MIPS_NABI32 || BR2_powerpc || \
-               BR2_powerpc64 || BR2_powerpc64le || BR2_sh4 || BR2_sh4eb || \
-               BR2_sh4a || BR2_sh4aeb || BR2_sparc || BR2_x86_64
+               BR2_powerpc64 || BR2_powerpc64le || BR2_sparc || BR2_x86_64
+       # The CodeSourcery SuperH toolchain fails to build Webkit,
+       # with an assertion failure in binutils.
+       default y if (BR2_sh4 || BR2_sh4eb || BR2_sh4a || BR2_sh4aeb) && \
+               !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201209
 
 config BR2_PACKAGE_QT_WEBKIT
        bool "WebKit Module"