summaryrefslogtreecommitdiffstats
path: root/meta/classes/module.bbclass
diff options
context:
space:
mode:
authorJoe Slater <jslater@windriver.com>2018-02-20 11:25:16 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-02-24 10:31:44 +0000
commitbb5a8acd65f98c37365bb03dcb898f2da23f17c2 (patch)
treea56515d1bb1d7c8922db2ca994c4edb3a4dd0a28 /meta/classes/module.bbclass
parent2f030dfc082d6d8143c712cd9e18a0da13ec66e1 (diff)
downloadpoky-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.bbclass4
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 @@
1inherit module-base kernel-module-split pkgconfig 1inherit module-base kernel-module-split pkgconfig
2 2
3addtask make_scripts after do_prepare_recipe_sysroot before do_configure
4do_make_scripts[lockfiles] = "${TMPDIR}/kernel-scripts.lock"
5do_make_scripts[depends] += "virtual/kernel:do_shared_workdir"
6
7EXTRA_OEMAKE += "KERNEL_SRC=${STAGING_KERNEL_DIR}" 3EXTRA_OEMAKE += "KERNEL_SRC=${STAGING_KERNEL_DIR}"
8 4
9MODULES_INSTALL_TARGET ?= "modules_install" 5MODULES_INSTALL_TARGET ?= "modules_install"