]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
v86d: Improve kernel dependency
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 6 Jun 2023 10:41:42 +0000 (11:41 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 6 Jun 2023 22:40:20 +0000 (23:40 +0100)
commit37ccd11cb0b89416b8e23160445186269b6c0c8a
tree6ad55d4ebbad08f8f1c1aad3544a53756b122cd4
parent08bacbf797f6a50ae8abe8fc3455b3a15a0a94b3
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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-bsp/v86d/v86d_0.1.10.bb