From: Tom Zanussi Date: Fri, 14 Dec 2012 05:27:09 +0000 (-0600) Subject: module.bbclass: make sure do_make_scripts() executes after do_patch() X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~39189 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=824cf145bcb55bb99a717a2dfd73e43e6b3feea4;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git module.bbclass: make sure do_make_scripts() executes after do_patch() 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 Signed-off-by: Richard Purdie --- diff --git a/meta/classes/module.bbclass b/meta/classes/module.bbclass index e8d32eb3f44..ebb0880cd69 100644 --- a/meta/classes/module.bbclass +++ b/meta/classes/module.bbclass @@ -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"