From: Sean Anderson Date: Fri, 21 Oct 2022 23:37:22 +0000 (-0400) Subject: kernel: Clear SYSROOT_DIRS instead of replacing sysroot_stage_all X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~2729 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=849791e7086463a4c7c53c2c1ed9603a6c3a080d;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git kernel: Clear SYSROOT_DIRS instead of replacing sysroot_stage_all Replacing sysroot_stage_all by a no-op recipe makes it difficult for bbappends to stage files intentionally. Instead, just clear SYSROOT_DIRS, allowing other bbappends to easily add new directories. Signed-off-by: Sean Anderson Signed-off-by: Alexandre Belloni --- diff --git a/meta/classes-recipe/kernel.bbclass b/meta/classes-recipe/kernel.bbclass index e4e69e07637..7bb34492233 100644 --- a/meta/classes-recipe/kernel.bbclass +++ b/meta/classes-recipe/kernel.bbclass @@ -594,9 +594,7 @@ do_shared_workdir () { } # We don't need to stage anything, not the modules/firmware since those would clash with linux-firmware -sysroot_stage_all () { - : -} +SYSROOT_DIRS = "" KERNEL_CONFIG_COMMAND ?= "oe_runmake_call -C ${S} O=${B} olddefconfig || oe_runmake -C ${S} O=${B} oldnoconfig"