diff options
-rw-r--r-- | recipes-qt/qt5/nativesdk-qtbase_git.bb | 5 | ||||
-rw-r--r-- | recipes-qt/qt5/qt5-native.inc | 7 | ||||
-rw-r--r-- | recipes-qt/qt5/qt5.inc | 7 | ||||
-rw-r--r-- | recipes-qt/qt5/qtbase-native_git.bb | 5 | ||||
-rw-r--r-- | recipes-qt/qt5/qtbase_git.bb | 5 |
5 files changed, 15 insertions, 14 deletions
diff --git a/recipes-qt/qt5/nativesdk-qtbase_git.bb b/recipes-qt/qt5/nativesdk-qtbase_git.bb index 3aeb2ab1..4f4a0c30 100644 --- a/recipes-qt/qt5/nativesdk-qtbase_git.bb +++ b/recipes-qt/qt5/nativesdk-qtbase_git.bb | |||
@@ -102,6 +102,11 @@ OE_QMAKE_PATH_HOST_LIBS = "${libdir}" | |||
102 | deltask generate_qt_config_file | 102 | deltask generate_qt_config_file |
103 | 103 | ||
104 | do_configure() { | 104 | do_configure() { |
105 | # Regenerate header files when they are included in source tarball | ||
106 | # Otherwise cmake files don't set PRIVATE_HEADERS correctly | ||
107 | rm -rf ${S}/include | ||
108 | mkdir -p ${S}/.git || true | ||
109 | |||
105 | ${S}/configure -v \ | 110 | ${S}/configure -v \ |
106 | -${QT_EDITION} -confirm-license \ | 111 | -${QT_EDITION} -confirm-license \ |
107 | -sysroot ${STAGING_DIR_TARGET} \ | 112 | -sysroot ${STAGING_DIR_TARGET} \ |
diff --git a/recipes-qt/qt5/qt5-native.inc b/recipes-qt/qt5/qt5-native.inc index 85350288..76816027 100644 --- a/recipes-qt/qt5/qt5-native.inc +++ b/recipes-qt/qt5/qt5-native.inc | |||
@@ -10,10 +10,3 @@ OE_QMAKE_PATH_DOCS = "${OE_QMAKE_PATH_QT_DOCS}" | |||
10 | OE_QMAKE_PATH_SETTINGS = "${OE_QMAKE_PATH_QT_SETTINGS}" | 10 | OE_QMAKE_PATH_SETTINGS = "${OE_QMAKE_PATH_QT_SETTINGS}" |
11 | OE_QMAKE_PATH_EXAMPLES = "${OE_QMAKE_PATH_QT_EXAMPLES}" | 11 | OE_QMAKE_PATH_EXAMPLES = "${OE_QMAKE_PATH_QT_EXAMPLES}" |
12 | OE_QMAKE_PATH_TESTS = "${OE_QMAKE_PATH_QT_TESTS}" | 12 | OE_QMAKE_PATH_TESTS = "${OE_QMAKE_PATH_QT_TESTS}" |
13 | |||
14 | # Regenerate header files when they are included in source tarball | ||
15 | # Otherwise cmake files don't set PRIVATE_HEADERS correctly | ||
16 | do_configure_prepend() { | ||
17 | rm -rf ${S}/include | ||
18 | mkdir -p ${S}/.git || true | ||
19 | } | ||
diff --git a/recipes-qt/qt5/qt5.inc b/recipes-qt/qt5/qt5.inc index 4b5fe8a8..95e3854c 100644 --- a/recipes-qt/qt5/qt5.inc +++ b/recipes-qt/qt5/qt5.inc | |||
@@ -35,13 +35,6 @@ python __anonymous() { | |||
35 | d.setVar("PACKAGE_ARCH", tarch) | 35 | d.setVar("PACKAGE_ARCH", tarch) |
36 | } | 36 | } |
37 | 37 | ||
38 | # Regenerate header files when they are included in source tarball | ||
39 | # Otherwise cmake files don't set PRIVATE_HEADERS correctly | ||
40 | do_configure_prepend() { | ||
41 | rm -rf ${S}/include | ||
42 | mkdir -p ${S}/.git || true | ||
43 | } | ||
44 | |||
45 | # Many examples come with libraries installed outside of standard libdir, | 38 | # Many examples come with libraries installed outside of standard libdir, |
46 | # suppress QA check complaining | 39 | # suppress QA check complaining |
47 | INSANE_SKIP_${PN}-dbg += "libdir" | 40 | INSANE_SKIP_${PN}-dbg += "libdir" |
diff --git a/recipes-qt/qt5/qtbase-native_git.bb b/recipes-qt/qt5/qtbase-native_git.bb index 597b45ed..7c76c255 100644 --- a/recipes-qt/qt5/qtbase-native_git.bb +++ b/recipes-qt/qt5/qtbase-native_git.bb | |||
@@ -100,6 +100,11 @@ PACKAGECONFIG_CONFARGS = " \ | |||
100 | deltask generate_qt_config_file | 100 | deltask generate_qt_config_file |
101 | 101 | ||
102 | do_configure_prepend() { | 102 | do_configure_prepend() { |
103 | # Regenerate header files when they are included in source tarball | ||
104 | # Otherwise cmake files don't set PRIVATE_HEADERS correctly | ||
105 | rm -rf ${S}/include | ||
106 | mkdir -p ${S}/.git || true | ||
107 | |||
103 | # Avoid qmake error "Cannot read [...]/usr/lib/qt5/mkspecs/oe-device-extra.pri: No such file or directory" | 108 | # Avoid qmake error "Cannot read [...]/usr/lib/qt5/mkspecs/oe-device-extra.pri: No such file or directory" |
104 | touch ${S}/mkspecs/oe-device-extra.pri | 109 | touch ${S}/mkspecs/oe-device-extra.pri |
105 | 110 | ||
diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/qtbase_git.bb index e2784d82..7047f6c1 100644 --- a/recipes-qt/qt5/qtbase_git.bb +++ b/recipes-qt/qt5/qtbase_git.bb | |||
@@ -167,6 +167,11 @@ XPLATFORM_toolchain-clang = "linux-oe-clang" | |||
167 | XPLATFORM ?= "linux-oe-g++" | 167 | XPLATFORM ?= "linux-oe-g++" |
168 | 168 | ||
169 | do_configure() { | 169 | do_configure() { |
170 | # Regenerate header files when they are included in source tarball | ||
171 | # Otherwise cmake files don't set PRIVATE_HEADERS correctly | ||
172 | rm -rf ${S}/include | ||
173 | mkdir -p ${S}/.git || true | ||
174 | |||
170 | # Avoid qmake error "Cannot read [...]/usr/lib/qt5/mkspecs/oe-device-extra.pri: No such file or directory" during configuration | 175 | # Avoid qmake error "Cannot read [...]/usr/lib/qt5/mkspecs/oe-device-extra.pri: No such file or directory" during configuration |
171 | touch ${S}/mkspecs/oe-device-extra.pri | 176 | touch ${S}/mkspecs/oe-device-extra.pri |
172 | 177 | ||