From e9ff094fa624d743b1dd7311434f898309080067 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Fri, 17 Jan 2014 16:04:59 -0200 Subject: imx-test: Don't install clocks.sh in MX6 as it uses 3.10 kernel Kernel 3.10 uses the common clock framework, so the clock tree information can be retrieved from the standard /sys/kernel/debug location, which means we don't really need a custom clocks.sh script for the 3.10 kernel. You just don't need to install it if you use a recent kernel that deploys the common clock tree framework (like it is the case for MX6 running 3.10). Change-Id: Ief01c62025faa2927a226f9cd670e52dabb304be Signed-off-by: Otavio Salvador --- recipes-bsp/imx-test/imx-test.inc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'recipes-bsp/imx-test/imx-test.inc') diff --git a/recipes-bsp/imx-test/imx-test.inc b/recipes-bsp/imx-test/imx-test.inc index c03e865..78e14d8 100644 --- a/recipes-bsp/imx-test/imx-test.inc +++ b/recipes-bsp/imx-test/imx-test.inc @@ -18,8 +18,7 @@ PLATFORM_mx6sl = "IMX6S" PLATFORM_mx53 = "IMX53" PLATFORM_mx51 = "IMX51" -SRC_URI = "${FSL_MIRROR}/imx-test-${PV}.tar.gz \ - file://clocks.sh" +SRC_URI = "${FSL_MIRROR}/imx-test-${PV}.tar.gz" inherit module-base @@ -48,8 +47,10 @@ do_compile() { do_install() { install -d ${D}/unit_tests install -m 755 test-utils.sh ${D}/unit_tests/test-utils.sh - install -m 0755 ${WORKDIR}/clocks.sh ${D}/unit_tests/clocks.sh install -m 755 ${S}/platform/${PLATFORM}/* ${D}/unit_tests/ + if [ -e ${WORKDIR}/clocks.sh ]; then + install -m 755 ${WORKDIR}/clocks.sh ${D}/unit_tests/clocks.sh + fi } FILES_${PN} += "/unit_tests" -- cgit v1.2.3-54-g00ecf