diff options
Diffstat (limited to 'recipes-qt/qt5/qtbase-native_git.bb')
| -rw-r--r-- | recipes-qt/qt5/qtbase-native_git.bb | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/recipes-qt/qt5/qtbase-native_git.bb b/recipes-qt/qt5/qtbase-native_git.bb index 78410f32..c4137f5e 100644 --- a/recipes-qt/qt5/qtbase-native_git.bb +++ b/recipes-qt/qt5/qtbase-native_git.bb | |||
| @@ -18,7 +18,7 @@ require qt5-git.inc | |||
| 18 | 18 | ||
| 19 | # common for qtbase-native, qtbase-nativesdk and qtbase | 19 | # common for qtbase-native, qtbase-nativesdk and qtbase |
| 20 | # Patches from https://github.com/meta-qt5/qtbase/commits/b5.12-shared | 20 | # Patches from https://github.com/meta-qt5/qtbase/commits/b5.12-shared |
| 21 | # 5.12.meta-qt5-shared.5 | 21 | # 5.12.meta-qt5-shared.7 |
| 22 | SRC_URI += "\ | 22 | SRC_URI += "\ |
| 23 | file://0001-Add-linux-oe-g-platform.patch \ | 23 | file://0001-Add-linux-oe-g-platform.patch \ |
| 24 | file://0002-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS.patch \ | 24 | file://0002-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS.patch \ |
| @@ -32,23 +32,23 @@ SRC_URI += "\ | |||
| 32 | file://0010-linux-clang-Invert-conditional-for-defining-QT_SOCKL.patch \ | 32 | file://0010-linux-clang-Invert-conditional-for-defining-QT_SOCKL.patch \ |
| 33 | file://0011-tst_qlocale-Enable-QT_USE_FENV-only-on-glibc.patch \ | 33 | file://0011-tst_qlocale-Enable-QT_USE_FENV-only-on-glibc.patch \ |
| 34 | file://0012-mkspecs-common-gcc-base.conf-Use-I-instead-of-isyste.patch \ | 34 | file://0012-mkspecs-common-gcc-base.conf-Use-I-instead-of-isyste.patch \ |
| 35 | file://0013-Check-glibc-version-for-renameat2-statx-on-non-boots.patch \ | 35 | file://0013-Disable-ltcg-for-host_build.patch \ |
| 36 | file://0014-Disable-ltcg-for-host_build.patch \ | 36 | file://0014-Qt5GuiConfigExtras.cmake.in-cope-with-variable-path-.patch \ |
| 37 | file://0015-Qt5GuiConfigExtras.cmake.in-cope-with-variable-path-.patch \ | 37 | file://0015-corelib-Include-sys-types.h-for-uint32_t.patch \ |
| 38 | file://0016-corelib-Include-sys-types.h-for-uint32_t.patch \ | 38 | file://0016-Define-QMAKE_CXX.COMPILER_MACROS-for-clang-on-linux.patch \ |
| 39 | file://0017-Define-QMAKE_CXX.COMPILER_MACROS-for-clang-on-linux.patch \ | ||
| 40 | " | 39 | " |
| 41 | 40 | ||
| 42 | # common for qtbase-native and nativesdk-qtbase | 41 | # common for qtbase-native and nativesdk-qtbase |
| 43 | # Patches from https://github.com/meta-qt5/qtbase/commits/b5.12-native | 42 | # Patches from https://github.com/meta-qt5/qtbase/commits/b5.12-native |
| 44 | # 5.12.meta-qt5-native.5 | 43 | # 5.12.meta-qt5-native.7 |
| 45 | SRC_URI += " \ | 44 | SRC_URI += " \ |
| 46 | file://0021-Always-build-uic-and-qvkgen.patch \ | 45 | file://0017-Always-build-uic-and-qvkgen.patch \ |
| 46 | file://0018-Avoid-renameeat2-for-native-sdk-builds.patch \ | ||
| 47 | " | 47 | " |
| 48 | 48 | ||
| 49 | # only for qtbase-native | 49 | # only for qtbase-native |
| 50 | SRC_URI += " \ | 50 | SRC_URI += " \ |
| 51 | file://0022-Bootstrap-without-linkat-feature.patch \ | 51 | file://0019-Bootstrap-without-linkat-feature.patch \ |
| 52 | " | 52 | " |
| 53 | 53 | ||
| 54 | CLEANBROKEN = "1" | 54 | CLEANBROKEN = "1" |
| @@ -56,8 +56,9 @@ CLEANBROKEN = "1" | |||
| 56 | XPLATFORM_toolchain-clang = "linux-oe-clang" | 56 | XPLATFORM_toolchain-clang = "linux-oe-clang" |
| 57 | XPLATFORM ?= "linux-oe-g++" | 57 | XPLATFORM ?= "linux-oe-g++" |
| 58 | 58 | ||
| 59 | PACKAGECONFIG_CONFARGS = " \ | 59 | QT_CONFIG_FLAGS = " \ |
| 60 | -sysroot ${STAGING_DIR_NATIVE} \ | 60 | -sysroot ${STAGING_DIR_NATIVE} \ |
| 61 | -L${STAGING_LIBDIR_NATIVE} \ | ||
| 61 | -no-gcc-sysroot \ | 62 | -no-gcc-sysroot \ |
| 62 | -system-zlib \ | 63 | -system-zlib \ |
| 63 | -qt-pcre \ | 64 | -qt-pcre \ |
| @@ -96,6 +97,7 @@ PACKAGECONFIG_CONFARGS = " \ | |||
| 96 | -no-rpath \ | 97 | -no-rpath \ |
| 97 | -no-feature-linkat \ | 98 | -no-feature-linkat \ |
| 98 | -platform ${XPLATFORM} \ | 99 | -platform ${XPLATFORM} \ |
| 100 | ${PACKAGECONFIG_CONFARGS} \ | ||
| 99 | " | 101 | " |
| 100 | 102 | ||
| 101 | # for qtbase configuration we need default settings | 103 | # for qtbase configuration we need default settings |
| @@ -111,7 +113,7 @@ do_configure_prepend() { | |||
| 111 | # Avoid qmake error "Cannot read [...]/usr/lib/qt5/mkspecs/oe-device-extra.pri: No such file or directory" | 113 | # Avoid qmake error "Cannot read [...]/usr/lib/qt5/mkspecs/oe-device-extra.pri: No such file or directory" |
| 112 | touch ${S}/mkspecs/oe-device-extra.pri | 114 | touch ${S}/mkspecs/oe-device-extra.pri |
| 113 | 115 | ||
| 114 | MAKEFLAGS="${PARALLEL_MAKE}" ${S}/configure -${QT_EDITION} -confirm-license ${PACKAGECONFIG_CONFARGS} || die "Configuring qt failed. PACKAGECONFIG_CONFARGS was ${PACKAGECONFIG_CONFARGS}" | 116 | MAKEFLAGS="${PARALLEL_MAKE}" ${S}/configure -${QT_EDITION} -confirm-license ${QT_CONFIG_FLAGS} || die "Configuring qt failed. QT_CONFIG_FLAGS was ${QT_CONFIG_FLAGS}" |
| 115 | } | 117 | } |
| 116 | 118 | ||
| 117 | do_install() { | 119 | do_install() { |
