diff options
| author | Sean Anderson <sean.anderson@seco.com> | 2022-10-21 19:37:22 -0400 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-10-26 12:28:40 +0100 |
| commit | 00ce3bb06f0b39916a5ba1707a0d932ede4a06a6 (patch) | |
| tree | 477405c4b7b8fd9db630cdb0f3368c0b302fb274 | |
| parent | c755c37efbab43d7d06dc9b6c139a181d3757b0c (diff) | |
| download | poky-00ce3bb06f0b39916a5ba1707a0d932ede4a06a6.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: 849791e7086463a4c7c53c2c1ed9603a6c3a080d)
Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/classes-recipe/kernel.bbclass | 4 |
1 files changed, 1 insertions, 3 deletions
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 () { | |||
| 594 | } | 594 | } |
| 595 | 595 | ||
| 596 | # We don't need to stage anything, not the modules/firmware since those would clash with linux-firmware | 596 | # We don't need to stage anything, not the modules/firmware since those would clash with linux-firmware |
| 597 | sysroot_stage_all () { | 597 | SYSROOT_DIRS = "" |
| 598 | : | ||
| 599 | } | ||
| 600 | 598 | ||
| 601 | KERNEL_CONFIG_COMMAND ?= "oe_runmake_call -C ${S} O=${B} olddefconfig || oe_runmake -C ${S} O=${B} oldnoconfig" | 599 | KERNEL_CONFIG_COMMAND ?= "oe_runmake_call -C ${S} O=${B} olddefconfig || oe_runmake -C ${S} O=${B} oldnoconfig" |
| 602 | 600 | ||
