]> code.ossystems Code Review - meta-freescale.git/commitdiff
imx-test: Condition the mxc_epdc_x11_fb_test installation
authorLeonardo Sandoval <leonardo.sandoval@freescale.com>
Thu, 7 Feb 2013 21:14:34 +0000 (15:14 -0600)
committerOtavio Salvador <otavio@ossystems.com.br>
Fri, 8 Feb 2013 17:39:44 +0000 (15:39 -0200)
Condition the compilation/installation of the unit test
'/unit_tests/mxc_epdc_x11_fb_test'.

This binary is only valid on specific platforms (not yet supported by
current layer) like IMX508.

Tested on a Sabre SD i.MX6Q board. Fixes:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=3615

[YOCTO #3615]

Signed-off-by: Leonardo Sandoval <leonardo.sandoval@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
meta-fsl-arm/recipes-bsp/imx-test/imx-test.inc
meta-fsl-arm/recipes-bsp/imx-test/imx-test/mxc_x11_test-exclude-IMX-5-6-platforms.patch [new file with mode: 0644]

index b3b9a07c54a60dbbaa2b56856c4a6ea153e3e980..20c65ec5dc3b07c6054540ccee7d9b3f500986df 100644 (file)
@@ -5,14 +5,15 @@ DEPENDS = "virtual/kernel imx-lib"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
 
-INC_PR = "r6"
+INC_PR = "r7"
 
 PLATFORM_mx6 = "IMX6Q"
 PLATFORM_mx53 = "IMX53"
 PLATFORM_mx51 = "IMX51"
 
 SRC_URI = "${FSL_MIRROR}/imx-test-${PV}.tar.gz \
-           file://clocks.sh"
+           file://clocks.sh \
+           file://mxc_x11_test-exclude-IMX-5-6-platforms.patch"
 
 
 do_compile() {
diff --git a/meta-fsl-arm/recipes-bsp/imx-test/imx-test/mxc_x11_test-exclude-IMX-5-6-platforms.patch b/meta-fsl-arm/recipes-bsp/imx-test/imx-test/mxc_x11_test-exclude-IMX-5-6-platforms.patch
new file mode 100644 (file)
index 0000000..0940780
--- /dev/null
@@ -0,0 +1,26 @@
+From 868587e3e59bb70061c4c0bad9c6b6c009f8bd94 Mon Sep 17 00:00:00 2001
+From: Leonardo Sandoval <leonardo.sandoval@freescale.com>
+Date: Thu, 7 Feb 2013 14:53:02 -0600
+Subject: [PATCH] mxc_x11_test: exclude IMX[5|6] platforms
+
+Upstream-Status: Pending
+
+Signed-off-by: Leonardo Sandoval <leonardo.sandoval@freescale.com>
+---
+ test/mxc_x11_test/Makefile |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/test/mxc_x11_test/Makefile b/test/mxc_x11_test/Makefile
+index dd4ca7c..f4794fc 100644
+--- a/test/mxc_x11_test/Makefile
++++ b/test/mxc_x11_test/Makefile
+@@ -1,5 +1,5 @@
+ # list of platforms which did not want this test case
+-EXCLUDE_LIST:=
++EXCLUDE_LIST:=IMX6Q IMX53 IMX51
+ CFLAGS += -lm
+ LIBS += -lX11 -lXdamage -lXrender -lXrandr
+-- 
+1.7.9.5
+