From: Leonardo Sandoval Date: Thu, 7 Feb 2013 21:14:34 +0000 (-0600) Subject: imx-test: Condition the mxc_epdc_x11_fb_test installation X-Git-Tag: 2.1~1518 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=7545ccc067ccc23b91bdb585f0c230c83aae7502;p=meta-freescale.git 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 Signed-off-by: Otavio Salvador --- diff --git a/meta-fsl-arm/recipes-bsp/imx-test/imx-test.inc b/meta-fsl-arm/recipes-bsp/imx-test/imx-test.inc index b3b9a07c..20c65ec5 100644 --- a/meta-fsl-arm/recipes-bsp/imx-test/imx-test.inc +++ b/meta-fsl-arm/recipes-bsp/imx-test/imx-test.inc @@ -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 index 00000000..0940780b --- /dev/null +++ b/meta-fsl-arm/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 +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 +--- + 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 +