qmake5_base.bbclass: Fix mkspec path when building nativesdk binaries
PATCH 1/2 qmake5_base.bbclass: Fix mkspec path when building nativesdk binaries
When building nativesdk binaries we ought to rely in the native mkspecs.
Signed-off-by Otavio Salvador <[email protected]>
--- classes/qmake5_base.bbclass | 1 + 1 file changed, 1 insertion(+)
classes/qmake5_base.bbclass +1 -0
@@ -4,6 +4,7 @@ QMAKE_MKSPEC_PATH_TARGET = "${STAGING_LIBDIR}/${QT_DIR_NAME}" QMAKE_MKSPEC_PATH = "${QMAKE_MKSPEC_PATH_TARGET}" QMAKE_MKSPEC_PATH_class-native = "${QMAKE_MKSPEC_PATH_NATIVE}" +QMAKE_MKSPEC_PATH_class-nativesdk = "${QMAKE_MKSPEC_PATH_NATIVE}" # hardcode linux, because that's what 0001-Add-linux-oe-g-platform.patch adds OE_QMAKE_PLATFORM_NATIVE = "linux-oe-g++"
Signature · 1 line
1.7.10.4
PATCH 2/2 nativesdk-qttools.inc: Fix installation and packaging
We must to fix the installation paths as did in nativesdk-qtbase.inc and remove the files unused from the packages. This fixes the packaging errors and allows for a successful build for SDK.
Signed-off-by Otavio Salvador <[email protected]>
--- recipes-qt/qt5/nativesdk-qttools.inc | 6 ++++++ 1 file changed, 6 insertions(+)
recipes-qt/qt5/nativesdk-qttools.inc +6 -0
@@ -21,5 +21,11 @@ do_configure() { } do_install() { + # Fix install paths for all + find -name "Makefile*" | xargs sed -i "s,(INSTALL_ROOT)${STAGING_DIR_HOST},(INSTALL_ROOT),g" + oe_runmake install INSTALL_ROOT=${D} + + # remove things unused in nativesdk + rm -rf ${D}${libdir} }
Signature · 1 line
1.7.10.4
Re: [meta-qt5][PATCH 2/2] nativesdk-qttools.inc: Fix installation and packaging
Quoted 5 lines · Otavio Salvador
We must to fix the installation paths as did in nativesdk-qtbase.inc and remove the files unused from the packages. This fixes the packaging errors and allows for a successful build for SDK.
Signed-off-by Otavio Salvador <[email protected]>
Quoted 27 lines
--- recipes-qt/qt5/nativesdk-qttools.inc | 6 ++++++ 1 file changed, 6 insertions(+)recipes-qt/qt5/nativesdk-qttools.inc +6
-0@@ -21,5 +21,11 @@ do_configure() { } do_install() { + # Fix install paths for all + find -name "Makefile*" | xargs sed -i "s,(INSTALL_ROOT)${STAGING_DIR_HOST},(INSTALL_ROOT),g" + oe_runmake install INSTALL_ROOT=${D} + + # remove things unused in nativesdk + rm -rf ${D}${libdir} }Signature · 6 lines
1.7.10.4 _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Quoted 4 lines · Otavio Salvador
When building nativesdk binaries we ought to rely in the native mkspecs.
Signed-off-by Otavio Salvador <[email protected]>
Quoted 23 lines
--- classes/qmake5_base.bbclass | 1 + 1 file changed, 1 insertion(+)classes/qmake5_base.bbclass +1
-0@@ -4,6 +4,7 @@ QMAKE_MKSPEC_PATH_TARGET = "${STAGING_LIBDIR}/${QT_DIR_NAME}" QMAKE_MKSPEC_PATH = "${QMAKE_MKSPEC_PATH_TARGET}" QMAKE_MKSPEC_PATH_class-native = "${QMAKE_MKSPEC_PATH_NATIVE}" +QMAKE_MKSPEC_PATH_class-nativesdk = "${QMAKE_MKSPEC_PATH_NATIVE}" # hardcode linux, because that's what 0001-Add-linux-oe-g-platform.patch adds OE_QMAKE_PLATFORM_NATIVE = "linux-oe-g++"Signature · 6 lines
1.7.10.4 _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel