From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oa0-f53.google.com (mail-oa0-f53.google.com [209.85.219.53]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id A40DCE004CF for ; Wed, 29 May 2013 10:34:08 -0700 (PDT) Received: by mail-oa0-f53.google.com with SMTP id g12so11886629oah.26 for ; Wed, 29 May 2013 10:34:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=OIZLjwXHJrrwzycqG+grPXnFmfyRHllTJ74jNlL76rI=; b=m3+HT08c78YgPhoy04OFSRV7v89VvRe/31+yMcyxt/86olilwbkOlgspoTD5JTfjBv rGkX2hkbUk7V+LuXlaSHKIibC5Aj/+dIZ2R16bysByUmwsl/SdCXZJwR4t0iuZX/lTJo 9OCgbibFloUavu1Erzz+ontUPkjyjqrTdvvEFPpC38+GZ8JDdZFptjXxeu/MLwdQF4pi lfYj2hQzP/s52uL7fLAFWmTXe3l3QMu3IAVXiAF5HclBk+enJH0ZeeQWLw+y3UNP6tcq OBpevtxCae+291swbfOnu9GRMVrGvxpSKPi2O7OsXJQar/5lTS9+clPQINZffTO2Lgj+ 96JQ== MIME-Version: 1.0 X-Received: by 10.182.240.136 with SMTP id wa8mr2372359obc.2.1369848847884; Wed, 29 May 2013 10:34:07 -0700 (PDT) Sender: otavio.salvador@gmail.com Received: by 10.182.108.167 with HTTP; Wed, 29 May 2013 10:34:07 -0700 (PDT) In-Reply-To: <1369769087-6106-1-git-send-email-eric@eukrea.com> References: <1369769087-6106-1-git-send-email-eric@eukrea.com> Date: Wed, 29 May 2013 14:34:07 -0300 X-Google-Sender-Auth: HHMGL1L8ngSZR9HQRx-BG6qSCwE Message-ID: From: Otavio Salvador To: =?ISO-8859-1?Q?Eric_B=E9nard?= Cc: "meta-freescale@yoctoproject.org" Subject: Re: [meta-fsl-arm][PATCH v2 1/3] amd-gpu-x11-bin-mx51: only enable when x11 is in DISTRO_FEATURES 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: Wed, 29 May 2013 17:34:08 -0000 Content-Type: multipart/alternative; boundary=089e01634f0ef9b55004dddec906 --089e01634f0ef9b55004dddec906 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Tue, May 28, 2013 at 4:24 PM, Eric B=E9nard wrote: > this prevent warnings and parse errors > > Signed-off-by: Eric B=E9nard > --- > recipes-graphics/amd-gpu-x11-bin/amd-gpu-x11-bin-mx51_11.09.01.bb | 2 > +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/recipes-graphics/amd-gpu-x11-bin/ > amd-gpu-x11-bin-mx51_11.09.01.bb b/recipes-graphics/amd-gpu-x11-bin/ > amd-gpu-x11-bin-mx51_11.09.01.bb > index 2dee47a..8c3557b 100644 > --- a/recipes-graphics/amd-gpu-x11-bin/amd-gpu-x11-bin-mx51_11.09.01.bb > +++ b/recipes-graphics/amd-gpu-x11-bin/amd-gpu-x11-bin-mx51_11.09.01.bb > @@ -84,5 +84,5 @@ FILES_lib2dz160-mx51-dbg =3D > "${libdir}/.debug/lib2dz160${SOLIBS}" > FILES_lib2dz430-mx51 =3D "${libdir}/lib2dz430${SOLIBS}" > FILES_lib2dz430-mx51-dbg =3D "${libdir}/.debug/lib2dz430${SOLIBS}" > > -COMPATIBLE_MACHINE =3D "(mx5)" > +COMPATIBLE_MACHINE =3D "{@base_contains('DISTRO_FEATURES', 'x11', '(mx5)= ', > '', d)}" > PACKAGE_ARCH =3D "${MACHINE_ARCH}" > This is wrong; you need '${@...}' convention for the inline python code to be run. --=20 Otavio Salvador O.S. Systems http://www.ossystems.com.br http://projetos.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750 --089e01634f0ef9b55004dddec906 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable



On Tue, May 28, 2013 at 4:24 PM, Eric B=E9nard &l= t;eric@eukrea.com&= gt; wrote:
this prevent warnings and = parse errors

Signed-off-by: Eric B=E9nard <eric@eu= krea.com>
---
=A0recipes-graphics/amd-gpu-x11-bin/amd-gpu-x11-bin-mx51_11.09.01.bb | =A0 = =A02 +-
=A01 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-graphics/amd-gpu-x11-bin/amd-gpu-x11-bin-mx51_11.09.01.bb b/recipes-graphics/amd-gpu-x11-bin/amd-gpu-x11-bin-mx51_11.09.01.bb
index 2dee47a..8c3557b 100644
--- a/recipes-graphics/amd-gpu-x11-bin/amd-gpu-x11-bin-mx51_11.09.01.bb
+++ b/recipes-graphics/amd-gpu-x11-bin/amd-gpu-x11-bin-mx51_11.09.01.bb
@@ -84,5 +84,5 @@ FILES_lib2dz160-mx51-dbg =3D "${libdir}/.debug/lib2d= z160${SOLIBS}"
=A0FILES_lib2dz430-mx51 =3D "${libdir}/lib2dz430${SO= LIBS}"
=A0FILES_lib2dz430-mx51-dbg =3D "${libdir}/.debug/lib2dz430${SOLIBS}&q= uot;

-COMPATIBLE_MACHINE =3D "(mx5)"
+COMPATIBLE_MACHINE =3D "{@base_contains('DISTRO_FEATURES', &#= 39;x11', '(mx5)', '', d)}"
=A0PACKAGE_ARCH =3D "${MACHINE= _ARCH}"

This is = wrong; you need '${@...}' convention for the inline python code to = be run.=A0

--
Otavio Salvador =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 O.S. Systems
http://www.ossystems.com.br =A0 =A0 =A0 =A0http://projetos.= ossystems.com.br
Mobile: +55 (53) 9981-7854 =A0 =A0 =A0 =A0 =A0 =A0Mobile: +1 (347) 903-9750=
--089e01634f0ef9b55004dddec906--