Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 140A8E00C88; Wed, 25 Jan 2017 04:22:25 -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=-1.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_SPAM autolearn=no version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [209.85.220.195 listed in list.dnswl.org] * 0.5 RCVD_IN_SORBS_SPAM RBL: SORBS: sender is a spam source * [209.85.220.195 listed in dnsbl.sorbs.net] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail-qk0-f195.google.com (mail-qk0-f195.google.com [209.85.220.195]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 20DF6E00C40 for ; Wed, 25 Jan 2017 04:22:14 -0800 (PST) Received: by mail-qk0-f195.google.com with SMTP id u25so9971617qki.2 for ; Wed, 25 Jan 2017 04:22:14 -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=fiKcDDyaWSXb96SDw6h/dtV+ioNe6K8RWuoxVAMb/9E=; b=icoODaB+N1mlejuB6WlMgKK1+ANyNKIYqvqBRZRZ8xCKJI51xc8DnV8DBlTK+C7c5e Ss8jjXCSlY0OKH+PHEeg/AY6DmajNDRlMHfsrkN6vFnZwUaDc8QYzyplgTHwp0hartv/ pisZ84lRg26djcqt75eSPd89qLpRXZGt8rNGX/L+m0jTY7pJrWTFot0+WGeDl4To/iSP 5SEnEnw520cn1iPeRtzCWYdaLFh9Q91+RLkblp+beCq5OQ5pzOTpqUZcfkIyWQqYuzKn GRv9vSleXOU6twg6wxiriGriZWcXFfuX+74/fdlK2EQjxD05saNITQSwDMT/rXMO2wDm 86Eg== X-Gm-Message-State: AIkVDXLEJi4G8EB9sfEexwnGJBfHL1W2gYM2+Z8/hucxHThVTWR15oLAzFzj+2WF/FEcTQ== X-Received: by 10.200.0.213 with SMTP id d21mr32242820qtg.44.1485346934243; Wed, 25 Jan 2017 04:22:14 -0800 (PST) Received: from localhost ([189.114.111.135]) by smtp.gmail.com with ESMTPSA id 23sm18664711qtp.20.2017.01.25.04.22.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Jan 2017 04:22:13 -0800 (PST) Received: by localhost (sSMTP sendmail emulation); Wed, 25 Jan 2017 10:22:07 -0200 From: Otavio Salvador To: meta-freescale Mailing List Date: Wed, 25 Jan 2017 10:21:27 -0200 Message-Id: <20170125122143.23033-4-otavio@ossystems.com.br> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170125122143.23033-1-otavio@ossystems.com.br> References: <20170125122143.23033-1-otavio@ossystems.com.br> Organization: O.S. Systems Software LTDA. Cc: Otavio Salvador , prabhu.sundararaj@nxp.com Subject: [PATCH 03/19] 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: Wed, 25 Jan 2017 12:22:25 -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 --- 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