Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 5FD05E00B8F; Mon, 26 Oct 2015 03:56:48 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high * trust * [192.55.52.93 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 3B29DE00978 for ; Mon, 26 Oct 2015 03:56:46 -0700 (PDT) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP; 26 Oct 2015 03:54:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,201,1444719600"; d="scan'208";a="819524705" Received: from randjicd-mobl1.ger.corp.intel.com (HELO peggleto-mobl.ger.corp.intel.com) ([10.252.27.7]) by fmsmga001.fm.intel.com with ESMTP; 26 Oct 2015 03:54:45 -0700 From: Paul Eggleton To: Jonathan Liu Date: Mon, 26 Oct 2015 10:54:43 +0000 Message-ID: <3091928.1ZnyljVrr4@peggleto-mobl.ger.corp.intel.com> Organization: Intel Corporation User-Agent: KMail/4.14.9 (Linux/4.1.8-100.fc21.x86_64; KDE/4.14.9; x86_64; ; ) In-Reply-To: <562E04F8.6090309@gmail.com> References: <1445812988-6456-1-git-send-email-net147@gmail.com> <22952530.4yyL14nzOX@peggleto-mobl.ger.corp.intel.com> <562E04F8.6090309@gmail.com> MIME-Version: 1.0 Cc: yocto@yoctoproject.org Subject: Re: [meta-raspberrypi][PATCH v2] qtbase: enable Raspberry Pi support X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Oct 2015 10:56:48 -0000 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" On Monday 26 October 2015 21:48:24 Jonathan Liu wrote: > On 26/10/2015 8:41 PM, Paul Eggleton wrote: > > On Monday 26 October 2015 10:15:49 Andrei Gherzan wrote: > >> Hi Paul, > >> > >> On Mon, Oct 26, 2015 at 08:08:29AM +0000, Paul Eggleton wrote: > >>> On Monday 26 October 2015 09:43:08 Jonathan Liu wrote: > >>>> [Support #16] > >>>> > >>>> Signed-off-by: Jonathan Liu > >>>> --- > >>>> > >>>> recipes-qt/qt5/qtbase_%.bbappend | 6 ++++++ > >>>> 1 file changed, 6 insertions(+) > >>>> create mode 100644 recipes-qt/qt5/qtbase_%.bbappend > >>>> > >>>> diff --git a/recipes-qt/qt5/qtbase_%.bbappend > >>>> b/recipes-qt/qt5/qtbase_%.bbappend new file mode 100644 > >>>> index 0000000..3e5e667 > >>>> --- /dev/null > >>>> +++ b/recipes-qt/qt5/qtbase_%.bbappend > >>>> @@ -0,0 +1,6 @@ > >>>> +do_configure_prepend_rpi() { > >>>> + cat > ${S}/mkspecs/oe-device-extra.pri << 'EOF' > >>>> +EGLFS_DEVICE_INTEGRATION = eglfs_brcm > >>>> +QMAKE_LIBS_EGL = -lEGL -lGLESv2 > >>>> +EOF > >>>> +} > >>> > >>> I'm wondering if this is a good idea or not. I appreciate the intention, > >>> but does bbappending non-machine-specific recipes like this play well > >>> when you have other machines enabled in the same distro? > >> > >> But this change will be applied only for _rpi. How is this affecting > >> other > >> machines? > > > > If everything works such that the resulting packages get marked as > > machine- > > specific and the package manager correctly installs them in preference to > > the generic architecture packages on the machines in question, then there > > won't be a massive problem (though the side-effect is probably that any > > recipes depending on qtbase will also become machine-specific, that is > > possibly more of an issue). > > > > Cheers, > > Paul > > Good point. The package arch needs to machine-specific. I will send a v3 > to fix this. I think that will get taken care of automatically by virtue of the machine- specific override. My question is more about: 1) Will that mechanism entirely work, including desired behaviours in both the build system and the package manager, and 2) Are any side-effects worth it? Cheers, Paul -- Paul Eggleton Intel Open Source Technology Centre