From 1596147a847ff76dd8848aa43ec5cef4b54b8aa3 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Thu, 20 Apr 2023 13:52:30 +0100 Subject: [PATCH] arm/trusted-firmware-m: package .elf files in PN-dbg Some platforms install .elf files, so put those into the -dbg package. This means expanding the buildpaths QA exclusion. Whilst here, expand the comments for the other INSANE_SKIP statements. Signed-off-by: Ross Burton Signed-off-by: Jon Mason --- .../recipes-bsp/trusted-firmware-m/trusted-firmware-m.inc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m.inc b/meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m.inc index 09efaffa..d0744423 100644 --- a/meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m.inc +++ b/meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m.inc @@ -106,11 +106,16 @@ do_install() { FILES:${PN} = "/firmware" SYSROOT_DIRS += "/firmware" +FILES:${PN}-dbg = "/firmware/*.elf" addtask deploy after do_install do_deploy() { cp -rf ${D}/firmware/* ${DEPLOYDIR}/ } -# Build paths are currently embedded +# Build paths are currently embedded because it's impossible to pass -fdebug-prefix-map INSANE_SKIP:${PN} += "buildpaths" +INSANE_SKIP:${PN}-dbg += "buildpaths" +# Target binaries will be 32-bit Arm +INSANE_SKIP:${PN} += "arch" +INSANE_SKIP:${PN}-dbg += "arch"