imx-codec: skip 'file-rdeps' QA check when building with MUSL
Otherwise there are QA check failures: package imx-codec-test-bin requires librt.so.1, but no providers found in RDEPENDS_imx-codec-test-bin? [file-rdeps] package imx-codec-test-bin requires libc.so.6(GLIBC_2.4), but no providers found in RDEPENDS_imx-codec-test-bin? [file-rdeps] ... This is due to the 'imx-codec-test-bin' package containing NXP-provided pre-built binaries that are compiled with GLIBC. Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
parent
da46ed4a07
commit
0aa52b8a6e
|
|
@ -49,6 +49,11 @@ python __set_insane_skip() {
|
||||||
if p == 'imx-codec-test-bin':
|
if p == 'imx-codec-test-bin':
|
||||||
# FIXME: includes the DUT .so files so we need to deploy those
|
# FIXME: includes the DUT .so files so we need to deploy those
|
||||||
d.setVar("INSANE_SKIP_%s" % p, "ldflags textrel libdir")
|
d.setVar("INSANE_SKIP_%s" % p, "ldflags textrel libdir")
|
||||||
|
|
||||||
|
# Skip 'file-rdeps' for builds with MUSL C library
|
||||||
|
overrides = d.getVar("OVERRIDES").split(":")
|
||||||
|
if "libc-musl" in overrides:
|
||||||
|
d.appendVar("INSANE_SKIP_%s" % p, " file-rdeps")
|
||||||
else:
|
else:
|
||||||
d.setVar("INSANE_SKIP_%s" % p, "ldflags textrel")
|
d.setVar("INSANE_SKIP_%s" % p, "ldflags textrel")
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue