diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2013-11-02 17:17:04 +0100 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2013-11-04 23:59:17 +0100 |
commit | 01f99d284fd51bd149e7a92d0e9e7fc368cd0e99 (patch) | |
tree | a3ed42815124b9301304dcd3f36fcf1b85924bfc /package/qt | |
parent | f870e9104d3570fbc2d7656f274cf225db56ccbb (diff) |
qt: don't allow building WebKit on some architectures
WebKit has some architecture specific support, and therefore is not
necessarily available for all architectures. Make sure the Qt WebKit
option cannot be selected on those architectures that are not
supported.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/qt')
-rw-r--r-- | package/qt/Config.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/package/qt/Config.in b/package/qt/Config.in index 88013089b..ea9e787de 100644 --- a/package/qt/Config.in +++ b/package/qt/Config.in @@ -344,17 +344,26 @@ config BR2_PACKAGE_QT_NETWORK Install the Network module. if unsure, say y +config BR2_PACKAGE_QT_ARCH_SUPPORTS_WEBKIT + bool + # see src/3rdparty/webkit/Source/JavaScriptCore/wtf/Platform.h + default y if BR2_arm || BR2_armeb || BR2_i386 || BR2_mips || \ + BR2_mipsel || BR2_powerpc || BR2_sh4 || BR2_sh4eb || \ + BR2_sh4a || BR2_sh4aeb || BR2_sparc || BR2_x86_64 + config BR2_PACKAGE_QT_WEBKIT bool "WebKit Module" depends on BR2_PACKAGE_QT_SHARED depends on BR2_PACKAGE_QT_GUI_MODULE depends on BR2_PACKAGE_QT_NETWORK + depends on BR2_PACKAGE_QT_ARCH_SUPPORTS_WEBKIT help Build the WebKit module. If unsure, say n. comment "WebKit needs shared library/gui/network support" depends on !(BR2_PACKAGE_QT_SHARED && BR2_PACKAGE_QT_GUI_MODULE && BR2_PACKAGE_QT_NETWORK) + depends on BR2_PACKAGE_QT_ARCH_SUPPORTS_WEBKIT config BR2_PACKAGE_QT_JAVASCRIPTCORE bool "JavaScriptCore JIT compiler" |