diff options
author | Tom Zanussi <tom.zanussi@intel.com> | 2012-12-13 23:27:09 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-12-14 08:56:31 +0000 |
commit | 936c460ab8ab71d29e768e8e417abd477ece4166 (patch) | |
tree | 4f09c457ab77c885b7400583093068e1f9d7a60b /meta | |
parent | 0231336247210b7cc8a556042a8b06094376e1a5 (diff) | |
download | poky-936c460ab8ab71d29e768e8e417abd477ece4166.tar.gz |
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].
(From OE-Core rev: 824cf145bcb55bb99a717a2dfd73e43e6b3feea4)
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/module.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/module.bbclass b/meta/classes/module.bbclass index e8d32eb3f4..ebb0880cd6 100644 --- a/meta/classes/module.bbclass +++ b/meta/classes/module.bbclass | |||
@@ -3,7 +3,7 @@ DEPENDS += "virtual/kernel" | |||
3 | 3 | ||
4 | inherit module-base | 4 | inherit module-base |
5 | 5 | ||
6 | addtask make_scripts before do_compile | 6 | addtask make_scripts after do_patch before do_compile |
7 | do_make_scripts[lockfiles] = "${TMPDIR}/kernel-scripts.lock" | 7 | do_make_scripts[lockfiles] = "${TMPDIR}/kernel-scripts.lock" |
8 | do_make_scripts[deptask] = "do_populate_sysroot" | 8 | do_make_scripts[deptask] = "do_populate_sysroot" |
9 | 9 | ||