mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
protobuf: conditionally depend on ${PN}-compiler
If ${PN}-compiler is not build due to PACKAGECONFIG, we shouldn't depend
on it. Otherwise installation on -dev package fails during
populate_sdk.
Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
77397ccbb9
commit
d76997b74c
|
|
@ -109,7 +109,7 @@ SYSROOT_DIRS += "${bindir}"
|
|||
RDEPENDS:${PN} = "abseil-cpp"
|
||||
RDEPENDS:${PN}-lite = "abseil-cpp"
|
||||
RDEPENDS:${PN}-compiler = "${PN}"
|
||||
RDEPENDS:${PN}-dev += "${PN}-compiler"
|
||||
RDEPENDS:${PN}-dev += "${@bb.utils.contains('PACKAGECONFIG', 'compiler', '${PN}-compiler', '', d)}"
|
||||
RDEPENDS:${PN}-ptest = "bash ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3-protobuf', '', d)}"
|
||||
|
||||
MIPS_INSTRUCTION_SET = "mips"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user