summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/imx-test/imx-test.inc
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2014-01-17 16:04:59 -0200
committerOtavio Salvador <otavio@ossystems.com.br>2014-03-05 13:32:11 -0300
commite9ff094fa624d743b1dd7311434f898309080067 (patch)
treebab620e99197816c06686a4b45a134d35fa0246c /recipes-bsp/imx-test/imx-test.inc
parente0d925bffad822651071e9d43a83e5506f6b3726 (diff)
downloadmeta-fsl-arm-e9ff094fa624d743b1dd7311434f898309080067.tar.gz
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 <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-bsp/imx-test/imx-test.inc')
-rw-r--r--recipes-bsp/imx-test/imx-test.inc7
1 files changed, 4 insertions, 3 deletions
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"
18PLATFORM_mx53 = "IMX53" 18PLATFORM_mx53 = "IMX53"
19PLATFORM_mx51 = "IMX51" 19PLATFORM_mx51 = "IMX51"
20 20
21SRC_URI = "${FSL_MIRROR}/imx-test-${PV}.tar.gz \ 21SRC_URI = "${FSL_MIRROR}/imx-test-${PV}.tar.gz"
22 file://clocks.sh"
23 22
24inherit module-base 23inherit module-base
25 24
@@ -48,8 +47,10 @@ do_compile() {
48do_install() { 47do_install() {
49 install -d ${D}/unit_tests 48 install -d ${D}/unit_tests
50 install -m 755 test-utils.sh ${D}/unit_tests/test-utils.sh 49 install -m 755 test-utils.sh ${D}/unit_tests/test-utils.sh
51 install -m 0755 ${WORKDIR}/clocks.sh ${D}/unit_tests/clocks.sh
52 install -m 755 ${S}/platform/${PLATFORM}/* ${D}/unit_tests/ 50 install -m 755 ${S}/platform/${PLATFORM}/* ${D}/unit_tests/
51 if [ -e ${WORKDIR}/clocks.sh ]; then
52 install -m 755 ${WORKDIR}/clocks.sh ${D}/unit_tests/clocks.sh
53 fi
53} 54}
54 55
55FILES_${PN} += "/unit_tests" 56FILES_${PN} += "/unit_tests"