From 7f3cfc86ae4eedf3494e5ea9ccffa53379fc7a69 Mon Sep 17 00:00:00 2001 From: Lionel VITTE Date: Wed, 12 Jun 2019 08:07:41 +0200 Subject: [PATCH] Baremetal GCC: improve generated package to avoid QA issues Change-Id: I36472784a5462bab20826e2a4808d3800e60cbcf Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/meta-st/+/135644 Reviewed-by: CITOOLS Reviewed-by: CIBUILD Reviewed-by: Lionel VITTE Reviewed-by: Romuald JEANNE Tested-by: Lionel VITTE --- .../nativesdk-gcc-arm-none-eabi_7.bb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/recipes-devtools/gcc-arm-none-eabi/nativesdk-gcc-arm-none-eabi_7.bb b/recipes-devtools/gcc-arm-none-eabi/nativesdk-gcc-arm-none-eabi_7.bb index bfc7ccc..0ba0acc 100644 --- a/recipes-devtools/gcc-arm-none-eabi/nativesdk-gcc-arm-none-eabi_7.bb +++ b/recipes-devtools/gcc-arm-none-eabi/nativesdk-gcc-arm-none-eabi_7.bb @@ -5,4 +5,19 @@ require gcc-arm-none-eabi_${PV}.inc inherit nativesdk +FILES_${PN}-doc = "${datadir}/gcc-arm-none-eabi/share/doc" + +FILES_${PN}-staticdev = "${datadir}/gcc-arm-none-eabi/*/*/*.a \ + ${datadir}/gcc-arm-none-eabi/*/*/*/*.a \ + ${datadir}/gcc-arm-none-eabi/*/*/*/*/*.a \ + ${datadir}/gcc-arm-none-eabi/*/*/*/*/*/*.a \ + ${datadir}/gcc-arm-none-eabi/*/*/*/*/*/*/*.a \ + ${datadir}/gcc-arm-none-eabi/*/*/*/*/*/*/*/*.a \ + ${datadir}/gcc-arm-none-eabi/*/*/*/*/*/*/*/*/*.a \ + " + FILES_${PN} += "${datadir}/gcc-arm-none-eabi" + +# Some library files in the tarball are not at the expected place, +# and it's working. But QA will complain, so skip the complaint on libdir +INSANE_SKIP_${PN} += "libdir"