[oe] [meta-qt5][PATCH] qmake4_base.bbclass: Add staging directory for native builds
Otavio Salvador
otavio at ossystems.com.br
Wed Apr 30 18:13:00 UTC 2014
On Wed, Apr 30, 2014 at 3:09 PM, Donald R. Poole, Jr.
<donny3000 at gmail.com> wrote:
> From: "Donald R. Poole, Jr" <donald (dot) poole (at) swri (dot) org>
Did you send with git send-email?
The shortlog and code does not agree. You cite qt4 and change qt5 ;)
> When building a basic Qt5 native application, the build fails on the do_install task as a result of the variable being empty. This causes the copy command in the test block to fail because it is trying to copy files from/to itself.
> ---
> classes/qmake5_base.bbclass | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/classes/qmake5_base.bbclass b/classes/qmake5_base.bbclass
> index 2db0fa3..18fdb2a 100644
> --- a/classes/qmake5_base.bbclass
> +++ b/classes/qmake5_base.bbclass
> @@ -171,7 +171,7 @@ qmake5_base_do_install() {
> # but we cannot remove sysroot override, because that's useful for pkg-config etc
> # In some cases like QtQmlDevTools in qtdeclarative, the sed above does not work,
> # fix them manually
> - if [ -d ${D}${STAGING_DIR_TARGET} ] ; then
> + if [ -d ${D}${STAGING_DIR_TARGET} ] && [ -n "${STAGING_DIR_TARGET}" ] ; then
> echo "Some files are installed in wrong directory ${D}${STAGING_DIR_TARGET}"
> cp -ra ${D}${STAGING_DIR_TARGET}/* ${D}
> rm -rf ${D}${STAGING_DIR_TARGET}
> --
> 1.7.9.5
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
More information about the Openembedded-devel
mailing list