From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp3-g21.free.fr (smtp3-g21.free.fr [212.27.42.3]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id D39DFE014E2 for ; Fri, 31 May 2013 13:39:03 -0700 (PDT) Received: from e6520eb (tal33-3-82-233-81-124.fbx.proxad.net [82.233.81.124]) (Authenticated sender: eukrea) by smtp3-g21.free.fr (Postfix) with ESMTPSA id ADAB8A6242; Fri, 31 May 2013 22:38:56 +0200 (CEST) Date: Fri, 31 May 2013 22:38:54 +0200 From: Eric =?UTF-8?B?QsOpbmFyZA==?= To: Javier Viguera Message-ID: <20130531223854.76cf003d@e6520eb> In-Reply-To: <51A720B8.2030002@digi.com> References: <1369850483-17206-1-git-send-email-eric@eukrea.com> <1369850483-17206-3-git-send-email-eric@eukrea.com> <51A720B8.2030002@digi.com> Organization: =?UTF-8?B?RXVrcsOpYQ==?= Electromatique X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.18; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Cc: "meta-freescale@yoctoproject.org" Subject: Re: [PATCH v4 3/3] amd-gpu-bin-mx51: new recipe X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 May 2013 20:39:05 -0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Javier, Le Thu, 30 May 2013 11:49:44 +0200, Javier Viguera a =C3=A9crit : > On 29/05/13 20:01, Eric B=C3=A9nard wrote: > > diff --git a/recipes-graphics/amd-gpu-x11-bin/amd-gpu-bin-mx51_11.09.01= .bb b/recipes-graphics/amd-gpu-x11-bin/amd-gpu-bin-mx51_11.09.01.bb > > +COMPATIBLE_MACHINE =3D "(mx5)" >=20 > > diff --git a/recipes-graphics/amd-gpu-x11-bin/amd-gpu-x11-bin-mx51_11.0= 9.01.bb b/recipes-graphics/amd-gpu-x11-bin/amd-gpu-x11-bin-mx51_11.09.01.bb > > COMPATIBLE_MACHINE =3D "${@base_contains('DISTRO_FEATURES', 'x11', '(= mx5)', '', d)}" >=20 > I'm still learning yocto/openembedded so bear with me if all the > following does not make sense, but is this correct? >=20 > When DISTRO_FEATURES contains x11, *both* packages will have: >=20 > COMPATIBLE_MACHINE =3D "(mx5)" >=20 > so both will be available. >=20 > When DISTRO_FEATURES does *NOT* contain x11, then: >=20 > amd-gpu-bin-mx51: COMPATIBLE_MACHINE =3D "(mx5)" > amd-gpu-x11-bin-mx51: COMPATIBLE_MACHINE =3D "" >=20 > But in this case if i have not misunderstood the semantics of > COMPATIBLE_MACHINE both will be again available as an empty > COMPATIBLE_MACHINE means that it's available. >=20 after some testings I confirm you are right. Eric