The API between lttng-tools and lttng-modules is safe, whitelist it as
the dependency fixes tools failures. This needs a hack in the multilib
class as right now there is no way to know if a given recipe is a kernel
module or not. This needs to be revisited.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
d.renameVar(prov, provexp)
def translate_provide(prefix, prov):
+ # Really need to know if kernel modules class is inherited somehow
+ if prov == "lttng-modules":
+ return prov
if not prov.startswith("virtual/"):
return prefix + "-" + prov
if prov == "virtual/kernel":
weston-init->weston \
weston-init->kbd \
connman->xl2tpd \
+ lttng-tools->lttng-modules \
"
# Avoid adding bison-native to the sysroot without a specific