diff options
author | Denys Dmytriyenko <denys@ti.com> | 2014-09-12 13:55:00 -0400 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-09-26 05:42:53 +0200 |
commit | bb1773547109be47968b0e644ca8449e50d847bb (patch) | |
tree | a41d48b1e89059b128ac9408c1e0a7ec1ad79d99 /meta-oe | |
parent | 9c7899e0df435655870798c15580b1c0967ca30c (diff) | |
download | meta-openembedded-bb1773547109be47968b0e644ca8449e50d847bb.tar.gz |
ltp-ddt: keep do_make_scripts as separate task to lock correctly
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r-- | meta-oe/recipes-devtools/ltp-ddt/ltp-ddt_0.0.5.bb | 11 |
1 files 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 d0b84ad52..db62ac63a 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 | |||
13 | 13 | ||
14 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 14 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
15 | 15 | ||
16 | SRCREV = "088356602220dd8b48aeb138d4976c05c0879574" | 16 | SRCREV = "903f70a11eb77cbad62d7ecbe7dcbaf61be8ff99" |
17 | BRANCH ?= "master" | 17 | BRANCH ?= "master" |
18 | 18 | ||
19 | SRC_URI = "git://arago-project.org/git/projects/test-automation/ltp-ddt.git;branch=${BRANCH} \ | 19 | SRC_URI = "git://arago-project.org/git/projects/test-automation/ltp-ddt.git;branch=${BRANCH} \ |
@@ -67,10 +67,6 @@ do_configure() { | |||
67 | 67 | ||
68 | kmoddir = "/lib/modules/${KERNEL_VERSION}/kernel/drivers/ddt" | 68 | kmoddir = "/lib/modules/${KERNEL_VERSION}/kernel/drivers/ddt" |
69 | 69 | ||
70 | do_compile_prepend () { | ||
71 | do_make_scripts | ||
72 | } | ||
73 | |||
74 | do_compile_append () { | 70 | do_compile_append () { |
75 | oe_runmake modules | 71 | oe_runmake modules |
76 | } | 72 | } |
@@ -83,3 +79,8 @@ do_install() { | |||
83 | rm -rf ${D}${LTPROOT}/share/ | 79 | rm -rf ${D}${LTPROOT}/share/ |
84 | mv ${D}${LTPROOT}/testcases/bin/ddt/*.ko ${D}${kmoddir} | 80 | mv ${D}${LTPROOT}/testcases/bin/ddt/*.ko ${D}${kmoddir} |
85 | } | 81 | } |
82 | |||
83 | # do_make_scripts should be a separate task for the lock to work | ||
84 | addtask make_scripts before do_compile | ||
85 | do_make_scripts[lockfiles] = "${TMPDIR}/kernel-scripts.lock" | ||
86 | do_make_scripts[deptask] = "do_populate_sysroot" | ||