summaryrefslogtreecommitdiffstats
path: root/meta/classes/kernel.bbclass
diff options
context:
space:
mode:
authorSean Anderson <sean.anderson@seco.com>2022-10-21 19:37:22 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-11-10 14:39:24 +0000
commitec67581366b28da91cb01b9cc02ad3f83cdb5467 (patch)
treec963975164578f00ecec2354b351537902c64daf /meta/classes/kernel.bbclass
parent541402f288067e69200dea2521ca200de6b580d1 (diff)
downloadpoky-ec67581366b28da91cb01b9cc02ad3f83cdb5467.tar.gz
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 <sean.anderson@seco.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 849791e7086463a4c7c53c2c1ed9603a6c3a080d) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/kernel.bbclass')
-rw-r--r--meta/classes/kernel.bbclass4
1 files changed, 1 insertions, 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 () {
588} 588}
589 589
590# We don't need to stage anything, not the modules/firmware since those would clash with linux-firmware 590# We don't need to stage anything, not the modules/firmware since those would clash with linux-firmware
591sysroot_stage_all () { 591SYSROOT_DIRS = ""
592 :
593}
594 592
595KERNEL_CONFIG_COMMAND ?= "oe_runmake_call -C ${S} O=${B} olddefconfig || oe_runmake -C ${S} O=${B} oldnoconfig" 593KERNEL_CONFIG_COMMAND ?= "oe_runmake_call -C ${S} O=${B} olddefconfig || oe_runmake -C ${S} O=${B} oldnoconfig"
596 594