diff options
author | Leonardo Sandoval <leonardo.sandoval@freescale.com> | 2013-02-07 15:14:34 -0600 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2013-02-19 17:29:38 -0300 |
commit | cda70925b8c6d8e2df63f310f20f3f30751f3629 (patch) | |
tree | aedc276a6c9156fd762cee4cdea8288024aba743 | |
parent | 4616e02acf6ac6e86c7c782546829af11911c687 (diff) | |
download | meta-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.inc | 5 | ||||
-rw-r--r-- | recipes-bsp/imx-test/imx-test/mxc_x11_test-exclude-IMX-5-6-platforms.patch | 26 |
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" | |||
5 | LICENSE = "GPLv2" | 5 | LICENSE = "GPLv2" |
6 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" | 6 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" |
7 | 7 | ||
8 | INC_PR = "r6" | 8 | INC_PR = "r7" |
9 | 9 | ||
10 | PLATFORM_mx6 = "IMX6Q" | 10 | PLATFORM_mx6 = "IMX6Q" |
11 | PLATFORM_mx53 = "IMX53" | 11 | PLATFORM_mx53 = "IMX53" |
12 | PLATFORM_mx51 = "IMX51" | 12 | PLATFORM_mx51 = "IMX51" |
13 | 13 | ||
14 | SRC_URI = "${FSL_MIRROR}/imx-test-${PV}.tar.gz \ | 14 | SRC_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 | ||
18 | do_compile() { | 19 | 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 @@ | |||
1 | From 868587e3e59bb70061c4c0bad9c6b6c009f8bd94 Mon Sep 17 00:00:00 2001 | ||
2 | From: Leonardo Sandoval <leonardo.sandoval@freescale.com> | ||
3 | Date: Thu, 7 Feb 2013 14:53:02 -0600 | ||
4 | Subject: [PATCH] mxc_x11_test: exclude IMX[5|6] platforms | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | |||
8 | Signed-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 | |||
13 | diff --git a/test/mxc_x11_test/Makefile b/test/mxc_x11_test/Makefile | ||
14 | index 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 | -- | ||
25 | 1.7.9.5 | ||
26 | |||