Return-Path: Received: from mail-gg0-f176.google.com (mail-gg0-f176.google.com [209.85.161.176]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 79728E003D9 for ; Thu, 22 Nov 2012 10:47:50 -0800 (PST) Received: by mail-gg0-f176.google.com with SMTP id h3so695677gge.35 for ; Thu, 22 Nov 2012 10:47:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=GmHNHyH5YNWUHLP7YL0RuTXD9yX7yErZVQw6XxQA68U=; b=XV5tUfK7udMh0xg5TOtgtLhOw2d4BhqOApPJaXh+E+kI09VtN499Wk2bqPCAyE0a34 LB2uR35sqP12Yw5/hBcDuUsXoga3SJw9ASh/d7RfaKtaBIfS9Q9jwnKCH/E1/9YLgnsL XN+AOaZcvHmZK2HYBwp++eOr0lfP3b4mICETWsfEdh2m7XEN6bjOZRdFAxIGfLbBf/KL RsWTGQTZWpk4PKMZB3ryX0q6mANcwmByB8t2U3pHw0MFIaOicJJyRhz+uHAJCokghtDb cuUMqxcuuX0YL+UreCzDe2dXqVYwmyV69s7K2D6Gxm0fCp2OTyX/O88yOznr0LjQ0MUE pXKA== Received: by 10.236.162.69 with SMTP id x45mr1331735yhk.111.1353610070202; Thu, 22 Nov 2012 10:47:50 -0800 (PST) Received: from nano.lab.ossystems.com.br.lab.ossystems.com.br ([177.100.163.15]) by mx.google.com with ESMTPS id s21sm4092847yhb.5.2012.11.22.10.47.46 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 22 Nov 2012 10:47:49 -0800 (PST) Sender: Otavio Salvador From: Otavio Salvador To: meta-freescale@yoctoproject.org Date: Thu, 22 Nov 2012 16:49:38 -0200 Message-Id: <1353610181-14057-6-git-send-email-otavio@ossystems.com.br> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1353610181-14057-1-git-send-email-otavio@ossystems.com.br> References: <1353610181-14057-1-git-send-email-otavio@ossystems.com.br> Cc: Otavio Salvador Subject: [meta-fsl-arm][PATCH v3 5/8] xf86-video-imxfb-vivante: Add Vivant Xorg driver for iMX SoCs 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, 22 Nov 2012 18:47:50 -0000 From: Adrian Alonso Change-Id: I2b9a107b1fe6d50f3f0aa47a0df3115d7a8bc650 Signed-off-by: Adrian Alonso Signed-off-by: Otavio Salvador --- .../Makefile.am-remove-prefixed-include-path.patch | 29 ++++++++++++++++++++ .../xf86-video-imxfb-vivante_12.09.01.bb | 27 ++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 recipes-graphics/xorg-driver/xf86-video-imxfb-vivante/Makefile.am-remove-prefixed-include-path.patch create mode 100644 recipes-graphics/xorg-driver/xf86-video-imxfb-vivante_12.09.01.bb diff --git a/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante/Makefile.am-remove-prefixed-include-path.patch b/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante/Makefile.am-remove-prefixed-include-path.patch new file mode 100644 index 0000000..4354ae4 --- /dev/null +++ b/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante/Makefile.am-remove-prefixed-include-path.patch @@ -0,0 +1,29 @@ +From 230acf40ab9ed8ab5f291ff6644160b3f3859d69 Mon Sep 17 00:00:00 2001 +From: Adrian Alonso +Date: Fri, 15 Jun 2012 00:46:28 -0500 +Subject: [PATCH] Makefile.am remove prefixed include path + +* Remove prefixed include path, use ${STAGING_INCDIR} + to locate drm headers. + +Signed-off-by: Adrian Alonso +--- + src/Makefile.am | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/src/Makefile.am b/src/Makefile.am +index 820278b..4acdf6a 100644 +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -50,7 +50,7 @@ VIVSRC_CFLAGS = \ + -I./vivante_util \ + -I./vivante_exa + +-AM_CFLAGS = @XORG_CFLAGS@ $(VIVSRC_CFLAGS) -I/usr/include/drm ++AM_CFLAGS = @XORG_CFLAGS@ $(VIVSRC_CFLAGS) ${CFLAGS} + vivante_drv_la_LTLIBRARIES = vivante_drv.la + vivante_drv_la_LDFLAGS = -module -avoid-version + vivante_drv_ladir = @moduledir@/drivers +-- +1.7.7.6 + diff --git a/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante_12.09.01.bb b/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante_12.09.01.bb new file mode 100644 index 0000000..34e68a4 --- /dev/null +++ b/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante_12.09.01.bb @@ -0,0 +1,27 @@ +# Copyright (C) 2012 Freescale Semiconductor +# Released under the MIT license (see COPYING.MIT for the terms) + +require recipes-graphics/xorg-driver/xorg-driver-video.inc + +DEPENDS += "virtual/libgal-x11 gpu-viv-bin-mx6q" + +LIC_FILES_CHKSUM = "file://src/vivante_fbdev/vivante.h;endline=19;md5=93a322f91ec495569dcbcfbb2a95454a" + +SRC_URI = "${FSL_MIRROR}/xserver-xorg-video-imx-viv-${PV}.tar.gz \ + file://Makefile.am-remove-prefixed-include-path.patch" +SRC_URI[md5sum] = "1948119717aa01bed1f630be9ee7a708" +SRC_URI[sha256sum] = "5b3be4b426d2d2803554df9e4d8919d1f9d17659c3153c71c6529f43c37e6ed1" + +EXTRA_OECONF_armv7a = " --enable-neon --disable-static" +CFLAGS += " -I${STAGING_INCDIR}/xorg -I${STAGING_INCDIR}/drm" +LDFLAGS += "-lm -ldl -lGAL-x11" + +S = "${WORKDIR}/xserver-xorg-video-imx-viv-${PV}" + +do_install_append () { + install -d ${D}${includedir} + cp -axr ${S}/src/vivante_gal/vivante_priv.h ${D}${includedir} + find ${D}${includedir} -type f -exec chmod 660 {} \; +} + +RDEPENDS_${PN} += "xserver-xorg-module-exa" -- 1.7.10.4