Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 95DEDE00985; Thu, 26 Jan 2017 05:01:41 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [209.85.216.195 listed in list.dnswl.org] * 0.5 RCVD_IN_SORBS_SPAM RBL: SORBS: sender is a spam source * [209.85.216.195 listed in dnsbl.sorbs.net] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail-qt0-f195.google.com (mail-qt0-f195.google.com [209.85.216.195]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id D884AE00935 for ; Thu, 26 Jan 2017 05:01:40 -0800 (PST) Received: by mail-qt0-f195.google.com with SMTP id f4so38320130qte.2 for ; Thu, 26 Jan 2017 05:01:40 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:organization; bh=/Zq+iEh8dVJtBRdPivH3h/DKJUdbphDaCIq0QIrX1SU=; b=RI8FGFUj3oJFO/wFkA1/f2ghNg/GmFlgYioQMLMrzpB/AmHKXs+YdEKwECE6oMkKZ4 cp3cYwub6qlsKy7U8DiV+jExrk5an86Z+FOFsH1/5o3K6nd/tjrNM8nMSVEqFv6AJpdr JoqUOpxYGZIhafJdrwuArPa5iRIT24dI5ALud5wJeZ5yZvU+M5Bc90zZpQvtaoCoALkM UGTMg7O0TEX93c4R++SUE6sc2SzfaYCnOxtgR7M3E7bxMRY+xsW48e65a86BslArk/j7 f1wHMq3UmZYcZsYZXdsNZxGH6/4YPhtgz64BTJs7tBxbjPQVGnaXSmwwlgbYd2lLB0ft kEHg== X-Gm-Message-State: AIkVDXKqfbf+XkuUc4K85BKQ+GB6/Ah+/2gMzMWeGLFqvizWzTTDqEnjbhMgq7/+rJvMVQ== X-Received: by 10.200.53.71 with SMTP id z7mr2325636qtb.203.1485435699884; Thu, 26 Jan 2017 05:01:39 -0800 (PST) Received: from localhost ([189.114.111.135]) by smtp.gmail.com with ESMTPSA id k8sm1137292qke.29.2017.01.26.05.01.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Jan 2017 05:01:38 -0800 (PST) Received: by localhost (sSMTP sendmail emulation); Thu, 26 Jan 2017 11:01:32 -0200 From: Otavio Salvador To: meta-freescale Mailing List Date: Thu, 26 Jan 2017 11:00:38 -0200 Message-Id: <20170126130103.6164-4-otavio@ossystems.com.br> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170126130103.6164-1-otavio@ossystems.com.br> References: <20170126130103.6164-1-otavio@ossystems.com.br> Organization: O.S. Systems Software LTDA. Cc: Otavio Salvador , prabhu.sundararaj@nxp.com Subject: [PATCH v3 03/27] mesa: Rework recipe to use the feature overrides 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: Thu, 26 Jan 2017 13:01:41 -0000 The recipe was still using the mx6 specific overrides, which is wrong. We should use the feature overrides so more SoCs can be dealt in the generic way. Signed-off-by: Otavio Salvador --- Changes in v3: None Changes in v2: None recipes-graphics/mesa/mesa_%.bbappend | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/recipes-graphics/mesa/mesa_%.bbappend b/recipes-graphics/mesa/mesa_%.bbappend index 8f5aa751..3005fd73 100644 --- a/recipes-graphics/mesa/mesa_%.bbappend +++ b/recipes-graphics/mesa/mesa_%.bbappend @@ -1,15 +1,12 @@ -PACKAGECONFIG_remove_mx6 = "egl gles" +PACKAGECONFIG_remove_imxgpu2d = "egl gles" -PROVIDES_remove_mx6 = "virtual/libgles1 virtual/libgles2 virtual/libopenvg virtual/egl" +PROVIDES_remove_imxgpu2d = "virtual/libgles1 virtual/libgles2 virtual/libopenvg virtual/egl" PROVIDES_remove_imxgpu3d = "virtual/libgl" -USE_VIV_LIBGL = "yes" -USE_VIV_LIBGL_mx6sl = "no" - # FIXME: mesa should support 'x11-no-tls' option python () { overrides = d.getVar("OVERRIDES", True).split(":") - if "mx6" not in overrides: + if "imxgpu2d" not in overrides: return extra_oeconf = d.getVar("EXTRA_OECONF", True) @@ -18,10 +15,8 @@ python () { } # FIXME: Dirty hack to allow use of Vivante GPU libGL binary -do_install_append_mx6 () { - if [ "${USE_VIV_LIBGL}" = "yes" ]; then - rm -f ${D}${libdir}/libGL.* \ - ${D}${includedir}/GL/gl.h \ - ${D}${includedir}/GL/glext.h - fi +do_install_append_imxgpu3d () { + rm -f ${D}${libdir}/libGL.* \ + ${D}${includedir}/GL/gl.h \ + ${D}${includedir}/GL/glext.h } -- 2.11.0