Return-Path: Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mail.openembedded.org (Postfix) with ESMTP id 8882D60167 for ; Tue, 21 Apr 2015 16:30:37 +0000 (UTC) Received: by wiun10 with SMTP id n10so28021193wiu.1 for ; Tue, 21 Apr 2015 09:30:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=WtCLxP3tL0zzg7ryQzRttb4sTpPfjcgCJZTpsTkkoPQ=; b=WozjkdFR9LP7gnQmkrleec+g+RwirVa/FyxPamvPnPHfk/vBKe4n9Z55csKdWynycx YIhb7KiPU9ARE42aZVMvZ1tXHFZWKka5qITLAwkCTSgo/669nYB+R7qxcdxfQ/8SLcTJ G+mKLmGyeKDY2pbMjT3DE1QBzu8Q5gIpjU0qtJVDoOJAxLGl3B/vRp3pbpRn6tzEQ5/B Q+s7UEVIGXoHzBXSZOjZ2mtcH+y5JcEW17JiUiDdd87rfqdVVhNFDbSzXecmqlCRpdOi U3E6IJ8I/bba3DAWcvDy3Pdi/WStAhsmuMNbRh1NBuU1MZ3YprkYTA5F/D8Jf1PXvcYQ SF/A== X-Received: by 10.180.208.7 with SMTP id ma7mr37315360wic.0.1429633838270; Tue, 21 Apr 2015 09:30:38 -0700 (PDT) Received: from localhost (ip-86-49-34-37.net.upcbroadband.cz. [86.49.34.37]) by mx.google.com with ESMTPSA id xy2sm3341739wjc.14.2015.04.21.09.30.36 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Apr 2015 09:30:36 -0700 (PDT) From: Martin Jansa X-Google-Original-From: Martin Jansa To: openembedded-core@lists.openembedded.org Date: Tue, 21 Apr 2015 18:30:39 +0200 Message-Id: <1429633839-17708-1-git-send-email-Martin.Jansa@gmail.com> X-Mailer: git-send-email 2.3.5 Subject: [PATCH] mesa: respect x11 in PACKAGECONFIG not DISTRO_FEATURES X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Apr 2015 16:30:39 -0000 * default value of PACKAGECONFIG is set from DISTRO_FEATURES, but in the end we should respect what user sets in PACKAGECONFIG Signed-off-by: Martin Jansa --- meta/recipes-graphics/mesa/mesa_10.4.4.bb | 2 +- meta/recipes-graphics/mesa/mesa_git.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-graphics/mesa/mesa_10.4.4.bb b/meta/recipes-graphics/mesa/mesa_10.4.4.bb index 8472408..7b22bb0 100644 --- a/meta/recipes-graphics/mesa/mesa_10.4.4.bb +++ b/meta/recipes-graphics/mesa/mesa_10.4.4.bb @@ -14,6 +14,6 @@ S = "${WORKDIR}/Mesa-${PV}" #make eglplatform.h independent of MESA_EGL_NO_X11_HEADER do_install_append() { if ${@bb.utils.contains('PACKAGECONFIG', 'egl', 'true', 'false', d)}; then - sed -i -e 's/^#ifdef MESA_EGL_NO_X11_HEADERS/#if ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '0', '1', d)}/' ${D}${includedir}/EGL/eglplatform.h + sed -i -e 's/^#ifdef MESA_EGL_NO_X11_HEADERS/#if ${@bb.utils.contains('PACKAGECONFIG', 'x11', '0', '1', d)}/' ${D}${includedir}/EGL/eglplatform.h fi } diff --git a/meta/recipes-graphics/mesa/mesa_git.bb b/meta/recipes-graphics/mesa/mesa_git.bb index cbe8911..a6d2880 100644 --- a/meta/recipes-graphics/mesa/mesa_git.bb +++ b/meta/recipes-graphics/mesa/mesa_git.bb @@ -13,6 +13,6 @@ S = "${WORKDIR}/git" #make eglplatform.h independent of MESA_EGL_NO_X11_HEADER do_install_append() { if ${@bb.utils.contains('PACKAGECONFIG', 'egl', 'true', 'false', d)}; then - sed -i -e 's/^#ifdef MESA_EGL_NO_X11_HEADERS/#if ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '0', '1', d)}/' ${D}${includedir}/EGL/eglplatform.h + sed -i -e 's/^#ifdef MESA_EGL_NO_X11_HEADERS/#if ${@bb.utils.contains('PACKAGECONFIG', 'x11', '0', '1', d)}/' ${D}${includedir}/EGL/eglplatform.h fi } -- 2.3.5