[meta-freescale] [meta-fsl-arm][PATCH] imx-test: Condition the mxc_epdc_x11_fb_test installation

Leonardo Sandoval leonardo.sandoval at freescale.com
Thu Feb 7 13:14:34 PST 2013


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 at freescale.com>
---
 recipes-bsp/imx-test/imx-test.inc                  |    3 ++-
 .../mxc_x11_test-exclude-IMX-5-6-platforms.patch   |   26 ++++++++++++++++++++
 2 files changed, 28 insertions(+), 1 deletion(-)
 create mode 100644 recipes-bsp/imx-test/imx-test/mxc_x11_test-exclude-IMX-5-6-platforms.patch

diff --git a/recipes-bsp/imx-test/imx-test.inc b/recipes-bsp/imx-test/imx-test.inc
index b3b9a07..70ee2c3 100644
--- a/recipes-bsp/imx-test/imx-test.inc
+++ b/recipes-bsp/imx-test/imx-test.inc
@@ -12,7 +12,8 @@ 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/recipes-bsp/imx-test/imx-test/mxc_x11_test-exclude-IMX-5-6-platforms.patch b/recipes-bsp/imx-test/imx-test/mxc_x11_test-exclude-IMX-5-6-platforms.patch
new file mode 100644
index 0000000..0940780
--- /dev/null
+++ b/recipes-bsp/imx-test/imx-test/mxc_x11_test-exclude-IMX-5-6-platforms.patch
@@ -0,0 +1,26 @@
+From 868587e3e59bb70061c4c0bad9c6b6c009f8bd94 Mon Sep 17 00:00:00 2001
+From: Leonardo Sandoval <leonardo.sandoval at 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 at 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
+
-- 
1.7.9.5





More information about the meta-freescale mailing list