[meta-freescale] [PATCH 1/5] qtbase: Use compiler settings provided by IMX-GPU driver pkg-config

Tom Hochstein tom.hochstein at nxp.com
Wed May 31 15:23:07 PDT 2017


Not sure. Maybe a missing dependency? I assume it is reproducible and doesn't go away with a clean build?

Tom

> -----Original Message-----
> From: Ian Coolidge [mailto:ian at boundarydevices.com]
> Sent: Wednesday, May 31, 2017 4:36 PM
> To: Tom Hochstein <tom.hochstein at nxp.com>
> Cc: meta-freescale Mailing List <meta-freescale at yoctoproject.org>
> Subject: Re: [meta-freescale] [PATCH 1/5] qtbase: Use compiler settings provided by IMX-GPU driver pkg-config
> 
> Building core-image-sato with qtbase did not set these compiler
> settings properly. At least at the head of this recipe as of pyro. I
> get "Platform not recognized" because these cflags are missing. Do you
> know any reason off the top of your head why this is?
> 
> My current solution patches the -DLINUX=1 or -DLINUX=1 -DEGL_API_FB=1
> back into qmake.conf and it fixes the issue i'm seeing.
> 
> On Tue, Jan 10, 2017 at 3:39 PM, Tom Hochstein <tom.hochstein at nxp.com> wrote:
> > The IMX-GPU driver now provides compiler settings through pkg-config,
> > so don't set them explicitly.
> >
> > Signed-off-by: Tom Hochstein <tom.hochstein at nxp.com>
> > ---
> >  dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend | 14 --------------
> >  1 file changed, 14 deletions(-)
> >
> > diff --git a/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend b/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend
> > index f5064a8..376358c 100644
> > --- a/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend
> > +++ b/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend
> > @@ -21,29 +21,15 @@ do_configure_prepend_mx6() {
> >      sed -i 's!load(qt_config)!!' ${S}/mkspecs/linux-oe-g++/qmake.conf
> >      if test ${HAS_X11} -eq 0; then
> >          if [ "${IMXGPU}" = "3d" ]; then
> > -
> >              cat >> ${S}/mkspecs/linux-oe-g++/qmake.conf <<EOF
> > -IMX6_CFLAGS             = -DLINUX=1 -DEGL_API_FB=1
> >  EGLFS_DEVICE_INTEGRATION = eglfs_viv
> >  EOF
> > -        else
> > -            cat >> ${S}/mkspecs/linux-oe-g++/qmake.conf <<EOF
> > -IMX6_CFLAGS             = -DLINUX=1
> > -EOF
> >          fi
> > -    else
> > -        cat >> ${S}/mkspecs/linux-oe-g++/qmake.conf <<EOF
> > -IMX6_CFLAGS             = -DLINUX=1
> > -EOF
> >      fi
> >      cat >> ${S}/mkspecs/linux-oe-g++/qmake.conf <<EOF
> >  QMAKE_LIBS_EGL         += -lEGL
> >  QMAKE_LIBS_OPENGL_ES2  += -lGLESv2 -lEGL -lGAL
> >  QMAKE_LIBS_OPENVG      += -lOpenVG -lEGL -lGAL
> > -QMAKE_CFLAGS_RELEASE   += \$\$IMX6_CFLAGS
> > -QMAKE_CXXFLAGS_RELEASE += \$\$IMX6_CFLAGS
> > -QMAKE_CFLAGS_DEBUG   += \$\$IMX6_CFLAGS
> > -QMAKE_CXXFLAGS_DEBUG += \$\$IMX6_CFLAGS
> >
> >  load(qt_config)
> >
> > --
> > 1.9.1
> >
> > --
> > _______________________________________________
> > meta-freescale mailing list
> > meta-freescale at yoctoproject.org
> > https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.yoctoproject.org%2Flistinfo%2Fmeta-
> freescale&data=01%7C01%7Ctom.hochstein%40nxp.com%7Cbbdb32c1ae1949fdf40808d4a86d0699%7C686ea1d3bc2b4c6fa92cd99c5c301
> 635%7C0&sdata=umu31Z3idp8VoaHjOMhoIxp%2FmBFaUYsS38Hz3Yq0MS8%3D&reserved=0


More information about the meta-freescale mailing list