STAGING_KERNEL_DIR changes if KERNEL_PACKAGE_NAME is not set to default string "kernel". Add workaround to find virtual/kernel WORKDIR.
Signed-off-by: Vincent Davis Jr <[email protected]> --- meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb b/meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb index 4b0630313f..f4222375c5 100644 --- a/meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb +++ b/meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb @@ -10,6 +10,11 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" S = "${UNPACKDIR}" +python set_kernel_vars() { + set_kernel_staging_vars(d) +} + +do_configure[prefuncs] += "set_kernel_vars" do_configure[depends] += "virtual/kernel:do_shared_workdir openssl-native:do_populate_sysroot" do_compile[depends] += "virtual/kernel:do_compile_kernelmodules" -- 2.43.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#240751): https://lists.openembedded.org/g/openembedded-core/message/240751 Mute This Topic: https://lists.openembedded.org/mt/120230966/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
