summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonardo Sandoval <leonardo.sandoval@freescale.com>2013-02-07 15:14:34 -0600
committerOtavio Salvador <otavio@ossystems.com.br>2013-02-19 17:29:38 -0300
commitcda70925b8c6d8e2df63f310f20f3f30751f3629 (patch)
treeaedc276a6c9156fd762cee4cdea8288024aba743
parent4616e02acf6ac6e86c7c782546829af11911c687 (diff)
downloadmeta-fsl-arm-cda70925b8c6d8e2df63f310f20f3f30751f3629.tar.gz
imx-test: Condition the mxc_epdc_x11_fb_test installation
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>
-rw-r--r--recipes-bsp/imx-test/imx-test.inc5
-rw-r--r--recipes-bsp/imx-test/imx-test/mxc_x11_test-exclude-IMX-5-6-platforms.patch26
2 files changed, 29 insertions, 2 deletions
diff --git a/recipes-bsp/imx-test/imx-test.inc b/recipes-bsp/imx-test/imx-test.inc
index b3b9a07..20c65ec 100644
--- a/recipes-bsp/imx-test/imx-test.inc
+++ b/recipes-bsp/imx-test/imx-test.inc
@@ -5,14 +5,15 @@ DEPENDS = "virtual/kernel imx-lib"
5LICENSE = "GPLv2" 5LICENSE = "GPLv2"
6LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" 6LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
7 7
8INC_PR = "r6" 8INC_PR = "r7"
9 9
10PLATFORM_mx6 = "IMX6Q" 10PLATFORM_mx6 = "IMX6Q"
11PLATFORM_mx53 = "IMX53" 11PLATFORM_mx53 = "IMX53"
12PLATFORM_mx51 = "IMX51" 12PLATFORM_mx51 = "IMX51"
13 13
14SRC_URI = "${FSL_MIRROR}/imx-test-${PV}.tar.gz \ 14SRC_URI = "${FSL_MIRROR}/imx-test-${PV}.tar.gz \
15 file://clocks.sh" 15 file://clocks.sh \
16 file://mxc_x11_test-exclude-IMX-5-6-platforms.patch"
16 17
17 18
18do_compile() { 19do_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 @@
1From 868587e3e59bb70061c4c0bad9c6b6c009f8bd94 Mon Sep 17 00:00:00 2001
2From: Leonardo Sandoval <leonardo.sandoval@freescale.com>
3Date: Thu, 7 Feb 2013 14:53:02 -0600
4Subject: [PATCH] mxc_x11_test: exclude IMX[5|6] platforms
5
6Upstream-Status: Pending
7
8Signed-off-by: Leonardo Sandoval <leonardo.sandoval@freescale.com>
9---
10 test/mxc_x11_test/Makefile | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13diff --git a/test/mxc_x11_test/Makefile b/test/mxc_x11_test/Makefile
14index dd4ca7c..f4794fc 100644
15--- a/test/mxc_x11_test/Makefile
16+++ b/test/mxc_x11_test/Makefile
17@@ -1,5 +1,5 @@
18 # list of platforms which did not want this test case
19-EXCLUDE_LIST:=
20+EXCLUDE_LIST:=IMX6Q IMX53 IMX51
21 CFLAGS += -lm
22 LIBS += -lX11 -lXdamage -lXrender -lXrandr
23
24--
251.7.9.5
26