diff options
author | Heiko <heiko.thole@entwicklung.eq-3.de> | 2024-04-15 07:34:22 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-04-25 13:39:31 +0100 |
commit | 5533d33d1e3b9be299230530c8e6ac6d0968631f (patch) | |
tree | fc63ef88ac9e03b1500f55e7034dd3635290bb91 /meta/recipes-core/musl/bsd-headers | |
parent | aaf2ad624b98472989cf6ccc4a4f1403de00b3bc (diff) | |
download | poky-5533d33d1e3b9be299230530c8e6ac6d0968631f.tar.gz |
kernel.bbclass: check, if directory exists before removing empty module directory
If the kernel folder does not exist, find will result in an error.
This can occur if the kernel has no modules but, for example, custom modules are created.
Add check before deleting.
(From OE-Core rev: 7ef767d84d56b25498e45db83bb8f9d9caebeaf9)
Signed-off-by: Heiko Thole <heiko.thole@entwicklung.eq-3.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/musl/bsd-headers')
0 files changed, 0 insertions, 0 deletions