[oe-commits] Denys Dmytriyenko : ltp-ddt: keep do_make_scripts as separate task to lock correctly
git at git.openembedded.org
git at git.openembedded.org
Wed Sep 24 15:23:47 UTC 2014
Module: meta-openembedded.git
Branch: master-next
Commit: bb3d2d69fc3219d50ae85dd9d46baee85231f115
URL: http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=bb3d2d69fc3219d50ae85dd9d46baee85231f115
Author: Denys Dmytriyenko <denys at ti.com>
Date: Fri Sep 12 13:55:00 2014 -0400
ltp-ddt: keep do_make_scripts as separate task to lock correctly
Signed-off-by: Denys Dmytriyenko <denys at ti.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
meta-oe/recipes-devtools/ltp-ddt/ltp-ddt_0.0.5.bb | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/meta-oe/recipes-devtools/ltp-ddt/ltp-ddt_0.0.5.bb b/meta-oe/recipes-devtools/ltp-ddt/ltp-ddt_0.0.5.bb
index d0b84ad..db62ac6 100644
--- a/meta-oe/recipes-devtools/ltp-ddt/ltp-ddt_0.0.5.bb
+++ b/meta-oe/recipes-devtools/ltp-ddt/ltp-ddt_0.0.5.bb
@@ -13,7 +13,7 @@ inherit autotools-brokensep module-base kernel-module-split
PACKAGE_ARCH = "${MACHINE_ARCH}"
-SRCREV = "088356602220dd8b48aeb138d4976c05c0879574"
+SRCREV = "903f70a11eb77cbad62d7ecbe7dcbaf61be8ff99"
BRANCH ?= "master"
SRC_URI = "git://arago-project.org/git/projects/test-automation/ltp-ddt.git;branch=${BRANCH} \
@@ -67,10 +67,6 @@ do_configure() {
kmoddir = "/lib/modules/${KERNEL_VERSION}/kernel/drivers/ddt"
-do_compile_prepend () {
- do_make_scripts
-}
-
do_compile_append () {
oe_runmake modules
}
@@ -83,3 +79,8 @@ do_install() {
rm -rf ${D}${LTPROOT}/share/
mv ${D}${LTPROOT}/testcases/bin/ddt/*.ko ${D}${kmoddir}
}
+
+# do_make_scripts should be a separate task for the lock to work
+addtask make_scripts before do_compile
+do_make_scripts[lockfiles] = "${TMPDIR}/kernel-scripts.lock"
+do_make_scripts[deptask] = "do_populate_sysroot"
More information about the Openembedded-commits
mailing list