From ec67581366b28da91cb01b9cc02ad3f83cdb5467 Mon Sep 17 00:00:00 2001 From: Sean Anderson Date: Fri, 21 Oct 2022 19:37:22 -0400 Subject: [PATCH] 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. (From OE-Core rev: 45ed53ec09e24956ce3d7d008e254bc759cf5f85) Signed-off-by: Sean Anderson Signed-off-by: Alexandre Belloni (cherry picked from commit 849791e7086463a4c7c53c2c1ed9603a6c3a080d) Signed-off-by: Steve Sakoman Signed-off-by: Richard Purdie --- meta/classes/kernel.bbclass | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 8dff68612d..d878d4e167 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass @@ -588,9 +588,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"