diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-06-06 11:41:42 +0100 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2023-06-30 04:07:59 -1000 |
commit | e928604680f66966a2d9fc594d3e9f50f26b1723 (patch) | |
tree | e0695e9610a3c4ee564f9052859813f6247a28f3 | |
parent | efa26ceb510bac843cbb9f870aaac54bef71dc08 (diff) | |
download | poky-e928604680f66966a2d9fc594d3e9f50f26b1723.tar.gz |
v86d: Improve kernel dependency
Working with enabling SPDX, an issue was observerd where v86d wasn't rebuilding
when the kernel was changed from linux-yocto to linux-yocto-rt.
This is due to the code in sstatesig.py which was seeing the RRECOMMENDS on a
kernel module and ignoring the DEPENDS. The v86d is technically a kernel module
since it uses kernel header files.
There are two ways to address this, we could inherit the module-base class and
the dependency code does the correct thing. It appears the code doesn't look into
STAGING_KERNEL_DIR though and doesn't use the kernel sources. We can therefore drop
the DEPENDS and the code will the do the correct thing.
(From OE-Core rev: 4250a456e3aad41bab1793258b29e96c4a9fe5bb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 37ccd11cb0b89416b8e23160445186269b6c0c8a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r-- | meta/recipes-bsp/v86d/v86d_0.1.10.bb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/meta/recipes-bsp/v86d/v86d_0.1.10.bb b/meta/recipes-bsp/v86d/v86d_0.1.10.bb index 5f342b1120..b4fe362f8e 100644 --- a/meta/recipes-bsp/v86d/v86d_0.1.10.bb +++ b/meta/recipes-bsp/v86d/v86d_0.1.10.bb | |||
@@ -6,7 +6,6 @@ DESCRIPTION = "v86d provides a backend for kernel drivers that need to execute x | |||
6 | LICENSE = "GPL-2.0-only" | 6 | LICENSE = "GPL-2.0-only" |
7 | LIC_FILES_CHKSUM = "file://README;md5=94ac1971e4f2309dc322d598e7b1f7dd" | 7 | LIC_FILES_CHKSUM = "file://README;md5=94ac1971e4f2309dc322d598e7b1f7dd" |
8 | 8 | ||
9 | DEPENDS = "virtual/kernel" | ||
10 | RRECOMMENDS:${PN} = "kernel-module-uvesafb" | 9 | RRECOMMENDS:${PN} = "kernel-module-uvesafb" |
11 | PR = "r2" | 10 | PR = "r2" |
12 | 11 | ||