[meta-freescale] [meta-fsl-arm][PATCH 03/12] imx-test: Stop installing clocks.sh in MX6
Otavio Salvador
otavio at ossystems.com.br
Fri Jan 17 18:41:06 PST 2014
Change-Id: Ief01c62025faa2927a226f9cd670e52dabb304be
Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
---
recipes-bsp/imx-test/imx-test.inc | 7 ++++---
recipes-bsp/imx-test/imx-test_11.09.01.bb | 4 +++-
recipes-bsp/imx-test/imx-test_2.6.35.3-1.1.0.bb | 2 ++
3 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/recipes-bsp/imx-test/imx-test.inc b/recipes-bsp/imx-test/imx-test.inc
index a98313c..0e5ae86 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
@@ -47,8 +46,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"
diff --git a/recipes-bsp/imx-test/imx-test_11.09.01.bb b/recipes-bsp/imx-test/imx-test_11.09.01.bb
index 81df189..54a03f7 100644
--- a/recipes-bsp/imx-test/imx-test_11.09.01.bb
+++ b/recipes-bsp/imx-test/imx-test_11.09.01.bb
@@ -6,6 +6,8 @@ COMPATIBLE_MACHINE = "(mx5)"
SRC_URI += "file://0001-ENGR00158471-fix-ipu-unit-test-application-missing-i.patch \
file://0002-ENGR00170223-vpu-Fix-encoder-with-rotation-90-or-270.patch \
- file://0003-ENGR00162747-fix-asrc-sample-rate-convert-issue.patch"
+ file://0003-ENGR00162747-fix-asrc-sample-rate-convert-issue.patch \
+ file://clocks.sh"
+
SRC_URI[md5sum] = "5512dc0340cb71087c78f13bb6710ee0"
SRC_URI[sha256sum] = "b788ac9c787b665c49596726e0095cef9ad835be4c616d2454543ae5f41a81af"
diff --git a/recipes-bsp/imx-test/imx-test_2.6.35.3-1.1.0.bb b/recipes-bsp/imx-test/imx-test_2.6.35.3-1.1.0.bb
index 33febf8..2626276 100644
--- a/recipes-bsp/imx-test/imx-test_2.6.35.3-1.1.0.bb
+++ b/recipes-bsp/imx-test/imx-test_2.6.35.3-1.1.0.bb
@@ -5,6 +5,8 @@ DEPENDS = "virtual/kernel"
PR = "${INC_PR}.0"
PE = "1"
+SRC_URI += " file://clocks.sh"
+
SRC_URI[md5sum] = "e30d557aea2ef3cc5840a3cfc81364bc"
SRC_URI[sha256sum] = "ce7dc16bc2e7e56d9394d8d899a4cdd73e416f8cec4d4a8acec946c8922028bf"
--
1.8.5.2
More information about the meta-freescale
mailing list