mirror of
https://git.yoctoproject.org/poky
synced 2026-02-26 19:39:40 +01:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
2f030dfc08
commit
bb5a8acd65
@@ -1,9 +1,5 @@
|
||||
inherit module-base kernel-module-split pkgconfig
|
||||
|
||||
addtask make_scripts after do_prepare_recipe_sysroot before do_configure
|
||||
do_make_scripts[lockfiles] = "${TMPDIR}/kernel-scripts.lock"
|
||||
do_make_scripts[depends] += "virtual/kernel:do_shared_workdir"
|
||||
|
||||
EXTRA_OEMAKE += "KERNEL_SRC=${STAGING_KERNEL_DIR}"
|
||||
|
||||
MODULES_INSTALL_TARGET ?= "modules_install"
|
||||
|
||||
Reference in New Issue
Block a user