[meta-freescale] [meta-fsl-arm][PATCH v2 7/8] glproto: Don't install glxtokens.h for imx6qsabrelite
Otavio Salvador
otavio at ossystems.com.br
Tue Jan 29 13:01:04 PST 2013
From: Andrei Gherzan <andrei.gherzan at 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 at windriver.com>
Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
---
recipes-graphics/xorg-proto/glproto_1.4.16.bbappend | 8 ++++++++
recipes-graphics/xorg-xserver/xserver-xorg_1.13.1.bbappend | 2 ++
2 files changed, 10 insertions(+)
create mode 100644 recipes-graphics/xorg-proto/glproto_1.4.16.bbappend
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}"
diff --git a/recipes-graphics/xorg-xserver/xserver-xorg_1.13.1.bbappend b/recipes-graphics/xorg-xserver/xserver-xorg_1.13.1.bbappend
index 3a4fb5d..fedd907 100644
--- a/recipes-graphics/xorg-xserver/xserver-xorg_1.13.1.bbappend
+++ b/recipes-graphics/xorg-xserver/xserver-xorg_1.13.1.bbappend
@@ -1,3 +1,5 @@
+DEPENDS += "gpu-viv-bin-mx6q"
+
PACKAGECONFIG_mx6 = "dri"
PACKAGE_ARCH_mx6 = "${MACHINE_ARCH}"
--
1.8.1
More information about the meta-freescale
mailing list