Patchwork [meta-fsl-arm,v4,9/9] glproto: Don't install glxtokens.h for imx6qsabrelite

login
register
mail settings
Submitter Otavio Salvador
Date Feb. 12, 2013, 9:58 p.m.
Message ID <1360706330-12665-10-git-send-email-otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/44561/
State Changes Requested
Delegated to: Otavio Salvador
Headers show

Comments

Otavio Salvador - Feb. 12, 2013, 9:58 p.m.
From: Andrei Gherzan <andrei.gherzan@windriver.com>

Avoid in this way duplicate file warnings in sysroot.
This header is provided by freescale.

Change-Id: I604702b1e35500ce65b8f6b16ffc9ce107908364
Signed-off-by: Andrei Gherzan <andrei.gherzan@windriver.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 recipes-graphics/xorg-proto/glproto_1.4.16.bbappend | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 recipes-graphics/xorg-proto/glproto_1.4.16.bbappend

Patch

diff --git a/recipes-graphics/xorg-proto/glproto_1.4.16.bbappend b/recipes-graphics/xorg-proto/glproto_1.4.16.bbappend
new file mode 100644
index 0000000..9be81d3
--- /dev/null
+++ b/recipes-graphics/xorg-proto/glproto_1.4.16.bbappend
@@ -0,0 +1,8 @@ 
+PRINC := "${@int(PRINC) + 1}"
+
+do_install_append_mx6() {
+    # This is a header provided by fsl so don't use this header
+    rm -rf ${D}${includedir}/GL/glxtokens.h
+}
+
+PACKAGE_ARCH_mx6 = "${MACHINE_ARCH}"