Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 89F63E00942; Wed, 25 Jan 2017 08:10:46 -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.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham 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] * -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 B8ECCE0094C for ; Wed, 25 Jan 2017 08:10:29 -0800 (PST) Received: by mail-qk0-f195.google.com with SMTP id 11so10825161qkl.0 for ; Wed, 25 Jan 2017 08:10:29 -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=q18vp/8I4rwURZiv7BDkRsjQL2u5/6w50SngD2fUHAc=; b=TRJl7/TxSZA8MlS22hh0CP0/IdjMhwIS2niGCvapiogzfGVuNECSClLTC0dd63tUeQ 7PD71w5rWmVWVuYwy44VKfr4D6qT0asgC3bzvyE/9fHnVt1xbz94Kzt4ja/wk6vormMd 4wvVopnO/vdFpyppDlfp/Arkn0B9D6+99LZE+fgaIpmVbzGIo/H0uwpq7j8xsbgdhLbh z6CslgAfnESOaVyHyYIFJRhfPcyBjpAgfsRl6vZQ/pbxQz90yLXLa8EuwlWCjqoHwiLl XugBi7RvpGQcuYtmZA9YqN0Ibo04OJw4Yqq+8CvDrNF0lzSlOtwRKR1rguGSrsNhQnKn aCtw== X-Gm-Message-State: AIkVDXLJM0LAWX4uuL93DmoAgzVfiDCvYBXivHVN42bk1vwAdnVe/D3X9fb/IhbcJPlztg== X-Received: by 10.55.38.200 with SMTP id m69mr36561838qkm.100.1485360628907; Wed, 25 Jan 2017 08:10:28 -0800 (PST) Received: from localhost ([189.114.111.135]) by smtp.gmail.com with ESMTPSA id z23sm14794984qkb.30.2017.01.25.08.10.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Jan 2017 08:10:27 -0800 (PST) Received: by localhost (sSMTP sendmail emulation); Wed, 25 Jan 2017 14:10:22 -0200 From: Otavio Salvador To: meta-freescale Mailing List Date: Wed, 25 Jan 2017 14:09:36 -0200 Message-Id: <20170125161000.820-4-otavio@ossystems.com.br> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170125161000.820-1-otavio@ossystems.com.br> References: <20170125161000.820-1-otavio@ossystems.com.br> Organization: O.S. Systems Software LTDA. Cc: Otavio Salvador , prabhu.sundararaj@nxp.com Subject: [PATCH v2 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: Wed, 25 Jan 2017 16:10:46 -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 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