From ab8e9d74c88b18349e119a3ce804a7e08b8d96f0 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 26 Oct 2023 21:14:39 -0700 Subject: [PATCH] imx-sc-firmware: Remove -fcanon-prefix-map Its not supported by gcc < 13 and this package uses a prebuilt toolchain based on gcc 8 Fixes | arm-none-eabi-gcc: error: unrecognized command line option '-fcanon-prefix-map'; did you mean '-fmacro-prefix-map='? Signed-off-by: Khem Raj --- recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.15.0.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.15.0.bb b/recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.15.0.bb index 24236a1697..7dc2e593e7 100644 --- a/recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.15.0.bb +++ b/recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.15.0.bb @@ -40,4 +40,6 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" LDFLAGS:remove = "-fuse-ld=lld" +DEBUG_PREFIX_MAP:remove = "-fcanon-prefix-map" + COMPATIBLE_MACHINE = "(mx8qm-generic-bsp|mx8qxp-generic-bsp|mx8dxl-generic-bsp|mx8dx-generic-bsp)"