Return-Path: Received: from mail-gh0-f176.google.com (mail-gh0-f176.google.com [209.85.160.176]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 89785E003D9 for ; Thu, 22 Nov 2012 10:47:46 -0800 (PST) Received: by mail-gh0-f176.google.com with SMTP id g10so474463ghb.35 for ; Thu, 22 Nov 2012 10:47:46 -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=HWsBRQRrsHxypjuVRu9XHqWYK6Y7Ht0QCrGMs5HGGv4=; b=BW7zOD2AncJS+ZChrB8payqva2DeT7fbYdwpdSetXOfSyVPU1KmaKxSrJwjfZaTfzT hn3WxqriIz4cr4fvzpWxKB5hFTUj8h0tx7KXzyC+MRUOdyPyCBsLrNTmo3mxJpxxAftT kRjhYbG/GPQRb5D+pQOI7/VlKUi7ZFLgAaccoAf5ixxHY64CFfA6EfMB5vF/sqp3RrTY AHG+OPpHpFXqxI0pU+UvpwDxmGGjWu+WZwcVRmUh4pokY1BBkNa7amddXawbgNwlBADp xogRUPqn6o/2Xq+U24C8zDqBxApA7Z3ONFNW4Yl+qQWXpcxSfAfVucmR7FxH26kUtlM3 0YyQ== Received: by 10.101.41.8 with SMTP id t8mr386752anj.35.1353610066128; Thu, 22 Nov 2012 10:47:46 -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.43 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 22 Nov 2012 10:47:45 -0800 (PST) Sender: Otavio Salvador From: Otavio Salvador To: meta-freescale@yoctoproject.org Date: Thu, 22 Nov 2012 16:49:37 -0200 Message-Id: <1353610181-14057-5-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> Subject: [meta-fsl-arm][PATCH v3 4/8] xf86-dri-vivante: Add Vivant DRI driver for Xorg 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:46 -0000 From: Adrian Alonso Change-Id: I07eeb3ce0960021a12c04a38447c379318821f75 Signed-off-by: Adrian Alonso --- .../xorg-driver/xf86-dri-vivante_12.09.01.bb | 31 ++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 recipes-graphics/xorg-driver/xf86-dri-vivante_12.09.01.bb diff --git a/recipes-graphics/xorg-driver/xf86-dri-vivante_12.09.01.bb b/recipes-graphics/xorg-driver/xf86-dri-vivante_12.09.01.bb new file mode 100644 index 0000000..3bf133b --- /dev/null +++ b/recipes-graphics/xorg-driver/xf86-dri-vivante_12.09.01.bb @@ -0,0 +1,31 @@ +# Copyright (C) 2012 Freescale Semiconductor +# Released under the MIT license (see COPYING.MIT for the terms) + +LICENSE = "MIT" +SECTION = "x11/base" +DEPENDS = "virtual/libx11 util-macros xf86-video-vivante" +LIC_FILES_CHKSUM = "file://src/dri.h;enline=27;md5=1d0d59e1dc96f5197ea3a8b101bf1fcc" + +SRC_URI = "${FSL_MIRROR}/dri-xorg-graphic-imx-viv-${PV}.tar.gz" +SRC_URI[md5sum] = "6a3d8130945a24294d34b61cd59e5d59" +SRC_URI[sha256sum] = "437187360fe76fbee5ad70b1a661d3196568cc8c28a457170494effef859d054" + +S = "${WORKDIR}/dri-xorg-graphic-imx-viv-${PV}" + +inherit autotools pkgconfig + +EXTRA_OECONF_armv7a = " --enable-neon " +CFLAGS += " -I${STAGING_INCDIR}/xorg" + +do_install_append () { +# Install header files + install -d ${D}${includedir}/xorg + cp -axr ${S}/src/*.h ${D}${includedir}/xorg + find ${D}${includedir} -type f -exec chmod 660 {} \; +# don't install libtool (*.la) archive not usefull, fix Makefile.am + find ${D}${libdir}/xorg/modules -regex ".*\.la$" | xargs rm -f -- +} + +FILES_${PN}-dev += "${includedir}/xorg/*.h" +FILES_${PN} += " ${libdir}/xorg/modules/extensions/*.so" +FILES_${PN}-dbg += " ${libdir}/xorg/modules/extensions/.debug" -- 1.7.10.4