All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: "Andreas Müller" <schnitzeltony@googlemail.com>
Cc: "openembedded-devel@lists.openembedded.org"
	<openembedded-devel@lists.openembedded.org>
Subject: Re: meta-qt5: dependency loop for egl-library build by qmake
Date: Fri, 17 Jan 2014 19:31:57 +0100	[thread overview]
Message-ID: <20140117183157.GQ3742@jama> (raw)
In-Reply-To: <CALbNGRSrtzRFCy6Aru5Jr+iYXpwq=OxxSHk-6HtCWw=Q9bxErA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1339 bytes --]

On Fri, Jan 17, 2014 at 07:00:07PM +0100, Andreas Müller wrote:
> Hi,
> 
> Found a libegl which is build by qmake. This turns into a dependency loop:
> 
> * qtbase ships mkspec and depends on egl (if enabled by packageconfig)
> * the driver needs mkspec to build
> 
> I see two possible way to get out:
> 
> 1. in qmake5.bbclass set 'OE_QMAKE_PLATFORM ?= "linux-oe-g++"' Hereby
> the driver can ship and select a copy of linux-oe-g++ with a different
> name. Disadvantage: in case something is changed on mkspec the copy
> needs alignment.

Does it need whole mkspecs or just some smaller portion from it?

> 2. Split out mkspec into a recipe. qmake5.bbclass can then depend on
> that recipe. Disadvantage: in case linux-oe-g++ finds it's way to
> mainline this won't work no more.

I don't expect linux-oe-g++ ever going to upstream, I was talking about
it with qt devs and they either didn't understand why we need it or
didn't like it (as it's "too generic" spec unlike other upstream specs)

Splitting it to separate recipe and reusing it from sysroot instead of
build dir seems like another change which we'll never upstream.

What about providing enough of target-agnostic mkspecs in qtbase-native
and build libegl just with qtbase-native?

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

      reply	other threads:[~2014-01-17 18:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-17 18:00 meta-qt5: dependency loop for egl-library build by qmake Andreas Müller
2014-01-17 18:31 ` Martin Jansa [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140117183157.GQ3742@jama \
    --to=martin.jansa@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=schnitzeltony@googlemail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.