diff options
author | Sean Anderson <sean.anderson@seco.com> | 2022-10-21 19:37:22 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-11-09 17:42:14 +0000 |
commit | 1b5b1ba8fbf72ada850aeb822c2ddbb940dc81ed (patch) | |
tree | 877efd7f01dc2a66f5eee9ed7f68b2e8fc5b49e0 /meta | |
parent | 6bded7cb1285070c8d427df157c3c5f279f08f51 (diff) | |
download | poky-1b5b1ba8fbf72ada850aeb822c2ddbb940dc81ed.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: d9081df0dc62f733bef643340af678eeba74fe89)
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')
-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 | ||