diff mbox series

[2/6] kernel: Clear SYSROOT_DIRS instead of replacing sysroot_stage_all

Message ID 20221021233726.1751124-3-sean.anderson@seco.com
State Accepted, archived
Commit 849791e7086463a4c7c53c2c1ed9603a6c3a080d
Headers show
Series u-boot: Rework signing process to remove interdependencies | expand

Commit Message

Sean Anderson Oct. 21, 2022, 11:37 p.m. UTC
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 <sean.anderson@seco.com>
---

 meta/classes-recipe/kernel.bbclass | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/meta/classes-recipe/kernel.bbclass b/meta/classes-recipe/kernel.bbclass
index e4e69e0763..7bb3449223 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"