mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
bitbake.conf/recipes: Introduce add DEV_PKG_DEPENDENCY to change RDEPENDS:${PN}-dev
There is a pattern that several recipes need to break the dependency of ${PN}-dev
on ${PN}, most often as ${PN} may be be empty. Add a new variable to parameterise
this and allow it to be changed more easily.
(From OE-Core rev: a5b381c0f45c590a762647a9956a8f41e2e2315e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -52,8 +52,8 @@ do_install:append:libc-newlib () {
|
||||
}
|
||||
|
||||
# No rpm package is actually created but -dev depends on it, avoid dnf error
|
||||
RDEPENDS:${PN}-dev:libc-baremetal = ""
|
||||
RDEPENDS:${PN}-dev:libc-newlib = ""
|
||||
DEV_PKG_DEPENDENCY:libc-baremetal = ""
|
||||
DEV_PKG_DEPENDENCY:libc-newlib = ""
|
||||
|
||||
BBCLASSEXTEND = "nativesdk"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user