diff options
| -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 d0b84ad524..db62ac63a5 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" | ||
