Return-Path: Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 77789E00706 for ; Sun, 13 Jan 2013 08:28:19 -0800 (PST) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail.windriver.com (8.14.5/8.14.3) with ESMTP id r0DGSJWi028200 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Sun, 13 Jan 2013 08:28:19 -0800 (PST) Received: from localhost.localdomain (128.224.170.79) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server (TLS) id 14.2.318.4; Sun, 13 Jan 2013 08:28:19 -0800 From: Andrei Gherzan To: Date: Sun, 13 Jan 2013 18:28:40 +0200 Message-ID: <1358094522-6543-2-git-send-email-andrei.gherzan@windriver.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1358094522-6543-1-git-send-email-andrei.gherzan@windriver.com> References: <1358094522-6543-1-git-send-email-andrei.gherzan@windriver.com> MIME-Version: 1.0 X-Originating-IP: [128.224.170.79] Cc: Andrei Gherzan Subject: [meta-fsl-arm][PATCH 2/4] xserver-xorg: Add bbappend to include dri and exclude glx for imx6 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: Sun, 13 Jan 2013 16:28:19 -0000 Content-Type: text/plain * Split glx PACKAGECONFIG flag in glx and dri. The one from oe-core includes configs for dri and glx in the same PACKAGECONFIG[glx]. * There is no libgl in imx6 graphic libraries so don't compile xserver with glx. * xserver driver for imx6 needs dri.h so compile xserver with dri for these machines Signed-off-by: Andrei Gherzan --- .../xorg-xserver/xserver-xorg_1.13.1.bbappend | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 recipes-graphics/xorg-xserver/xserver-xorg_1.13.1.bbappend diff --git a/recipes-graphics/xorg-xserver/xserver-xorg_1.13.1.bbappend b/recipes-graphics/xorg-xserver/xserver-xorg_1.13.1.bbappend new file mode 100644 index 0000000..c8b4a44 --- /dev/null +++ b/recipes-graphics/xorg-xserver/xserver-xorg_1.13.1.bbappend @@ -0,0 +1,15 @@ +PRINC := "${@int(PRINC) + 1}" + +# There are no libgl binaries for imx6 - don't compile with glx +PACKAGECONFIG_imx6qsabrelite := "${@oe_filter_out('glx', '${PACKAGECONFIG}', d)}" +PACKAGECONFIG_imx6qsabreauto := "${@oe_filter_out('glx', '${PACKAGECONFIG}', d)}" +# dri is needed for xf86-video-imxfb-vivante - xserver driver +PACKAGECONFIG_append_imx6qsabrelite = " dri" +PACKAGECONFIG_append_imx6qsabreauto = " dri" + +PACKAGECONFIG[dri] = "--enable-dri, \ + --disable-dri, \ + xf86driproto dri2proto" +PACKAGECONFIG[glx] = "--enable-glx --enable-glx-tls,\ + --disable-glx,\ + virtual/libgl" -- 1.7.9.5