From 5c96306171eac736af7336cf8bd59b0a8694da8b Mon Sep 17 00:00:00 2001 From: Randolph Sapp Date: Wed, 10 Jul 2024 14:21:54 -0500 Subject: ti-img-rogue-umlibs_23: add ldflags to INSANE_SKIP Adding this sanity check here preemptively. Since these libraries were compiled with an older version of GCC than what is currently in use on scarthgap and master they won't trip the sanity check just yet, but if someone attempts to update them and uses a newer compiler (for some reason) it will trigger the sanity checks again. This also keeps the DDK 23.3 and 24.1 recipe diff to a minimum. Signed-off-by: Randolph Sapp Signed-off-by: Ryan Eatmon --- .../powervr-umlibs/ti-img-rogue-umlibs_23.3.6512818.bb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-img-rogue-umlibs_23.3.6512818.bb b/meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-img-rogue-umlibs_23.3.6512818.bb index 288eb52b..40835439 100644 --- a/meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-img-rogue-umlibs_23.3.6512818.bb +++ b/meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-img-rogue-umlibs_23.3.6512818.bb @@ -109,7 +109,7 @@ python __anonymous() { mlprefix = d.getVar("MLPREFIX") pkgs = " " + " ".join(mlprefix + x + suffix for x in p[1:]) d.setVar("DEBIAN_NOAUTONAME:" + fullp, "1") - d.setVar("INSANE_SKIP:" + fullp, "dev-so") + d.setVar("INSANE_SKIP:" + fullp, "dev-so ldflags") d.appendVar("RRECOMMENDS:" + fullp, " ${MLPREFIX}ti-img-rogue-umlibs" + suffix) } @@ -129,10 +129,12 @@ RDEPENDS:libopencl-rogue += "opencl-icd-loader" RRECOMMENDS:libopencl-rogue += "libopencl-rogue-tools" FILES:libopencl-rogue-tools += "${bindir}/ocl*" DEBIAN_NOAUTONAME:libopencl-rogue-tools = "1" +INSANE_SKIP:libopencl-rogue-tools = "ldflags" # optional tools and tests FILES:${PN}-tools = "${bindir}/" RDEPENDS:${PN}-tools = "python3-core ${PN}" +INSANE_SKIP:${PN}-tools = "ldflags" # required firmware FILES:${PN}-firmware = "${base_libdir}/firmware/*" @@ -142,4 +144,4 @@ RRECOMMENDS:${PN} += " \ ${PN}-tools \ " -INSANE_SKIP:${PN} += "already-stripped dev-so" +INSANE_SKIP:${PN} += "already-stripped dev-so ldflags" -- cgit v1.2.3-54-g00ecf