diff options
author | Joe Slater <jslater@windriver.com> | 2018-02-20 11:25:16 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-02-24 10:31:44 +0000 |
commit | bb5a8acd65f98c37365bb03dcb898f2da23f17c2 (patch) | |
tree | a56515d1bb1d7c8922db2ca994c4edb3a4dd0a28 /meta/classes/module.bbclass | |
parent | 2f030dfc082d6d8143c712cd9e18a0da13ec66e1 (diff) | |
download | poky-bb5a8acd65f98c37365bb03dcb898f2da23f17c2.tar.gz |
make-mod-scripts: change how some kernel module tools are built
Remove do_make_scripts() from module-base.bbclass and put
functionality in a recipe. This will build the scripts only
once instead of each time an external module is built.
[YOCTO #12228]
(From OE-Core rev: ea12c46fe8748fb6606c603d463075a8624e6563)
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/module.bbclass')
-rw-r--r-- | meta/classes/module.bbclass | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/meta/classes/module.bbclass b/meta/classes/module.bbclass index 78d1b21dbd..e344960244 100644 --- a/meta/classes/module.bbclass +++ b/meta/classes/module.bbclass | |||
@@ -1,9 +1,5 @@ | |||
1 | inherit module-base kernel-module-split pkgconfig | 1 | inherit module-base kernel-module-split pkgconfig |
2 | 2 | ||
3 | addtask make_scripts after do_prepare_recipe_sysroot before do_configure | ||
4 | do_make_scripts[lockfiles] = "${TMPDIR}/kernel-scripts.lock" | ||
5 | do_make_scripts[depends] += "virtual/kernel:do_shared_workdir" | ||
6 | |||
7 | EXTRA_OEMAKE += "KERNEL_SRC=${STAGING_KERNEL_DIR}" | 3 | EXTRA_OEMAKE += "KERNEL_SRC=${STAGING_KERNEL_DIR}" |
8 | 4 | ||
9 | MODULES_INSTALL_TARGET ?= "modules_install" | 5 | MODULES_INSTALL_TARGET ?= "modules_install" |