]> code.ossystems Code Review - openembedded-core.git/commitdiff
module.bbclass: make sure do_make_scripts() executes after do_patch()
authorTom Zanussi <tom.zanussi@intel.com>
Fri, 14 Dec 2012 05:27:09 +0000 (23:27 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 14 Dec 2012 08:55:33 +0000 (08:55 +0000)
If do_make_scripts() executes before do_unpack()/do_patch(), the build
fails because it can't cd into the workdir of a recipe using this
class, so make sure do_make_scripts() doesn't run before the package
has been unpacked and patched.

Fixes [YOCTO #3589].

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/module.bbclass

index e8d32eb3f44b35ed715cdb68b9ed408e970d66a8..ebb0880cd692f8b923e204b7bc068c29cba7425c 100644 (file)
@@ -3,7 +3,7 @@ DEPENDS += "virtual/kernel"
 
 inherit module-base
 
-addtask make_scripts before do_compile
+addtask make_scripts after do_patch before do_compile
 do_make_scripts[lockfiles] = "${TMPDIR}/kernel-scripts.lock"
 do_make_scripts[deptask] = "do_populate_sysroot"