summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-qt/qt5/nativesdk-qtbase.inc27
1 files changed, 23 insertions, 4 deletions
diff --git a/recipes-qt/qt5/nativesdk-qtbase.inc b/recipes-qt/qt5/nativesdk-qtbase.inc
index fe80c9bc..a7809d31 100644
--- a/recipes-qt/qt5/nativesdk-qtbase.inc
+++ b/recipes-qt/qt5/nativesdk-qtbase.inc
@@ -31,15 +31,27 @@ SRC_URI += " \
31 file://0012-configure-bump-path-length-from-256-to-512-character.patch \ 31 file://0012-configure-bump-path-length-from-256-to-512-character.patch \
32" 32"
33 33
34PACKAGES = "${PN}-tools-dbg ${PN}-tools" 34PACKAGES = "${PN}-tools-dbg ${PN}-tools-dev ${PN}-tools-staticdev ${PN}-tools"
35 35
36PACKAGE_DEBUG_SPLIT_STYLE = "debug-without-src" 36PACKAGE_DEBUG_SPLIT_STYLE = "debug-without-src"
37 37
38FILES_${PN}-tools-dev = " \
39 ${includedir} \
40 ${FILES_SOLIBSDEV} ${libdir}/*.la \
41 ${OE_QMAKE_PATH_ARCHDATA}/mkspecs \
42"
43
44FILES_${PN}-tools-staticdev = " \
45 ${libdir}/libQt5Bootstrap.a \
46"
47
38FILES_${PN}-tools-dbg = " \ 48FILES_${PN}-tools-dbg = " \
49 ${libdir}/.debug \
39 ${OE_QMAKE_PATH_BINS}/.debug \ 50 ${OE_QMAKE_PATH_BINS}/.debug \
40" 51"
41 52
42FILES_${PN}-tools = " \ 53FILES_${PN}-tools = " \
54 ${libdir}/lib*${SOLIBS} \
43 ${OE_QMAKE_PATH_BINS}/* \ 55 ${OE_QMAKE_PATH_BINS}/* \
44" 56"
45 57
@@ -189,7 +201,14 @@ do_install() {
189 # e.g. qt3d, qtwayland 201 # e.g. qt3d, qtwayland
190 ln -sf syncqt.pl ${D}${OE_QMAKE_PATH_QT_BINS}/syncqt 202 ln -sf syncqt.pl ${D}${OE_QMAKE_PATH_QT_BINS}/syncqt
191 203
192 # remove things unused in nativesdk; things are statically link 204 # remove things unused in nativesdk, we need the headers, Qt5Core
193 # and we just use the binaries so drop all unused files 205 # and Qt5Bootstrap.
194 rm -rf ${D}${includedir} ${D}${libdir} ${D}${datadir}/doc 206 rm -rf ${D}${datadir}/doc \
207 ${D}/${OE_QMAKE_PATH_PLUGINS} \
208 ${D}${libdir}/cmake \
209 ${D}${libdir}/pkgconfig
210 find ${D}${libdir} -maxdepth 1 -name 'lib*' -and \
211 -not -name 'libQt5Core.so*' -and \
212 -not -name 'libQt5Bootstrap.a' \
213 -exec rm '{}' ';'
195} 214}