From 92c7da007d0c054c04f930c740aca57e52d939ae Mon Sep 17 00:00:00 2001 From: Oleksandr Suvorov Date: Thu, 3 Aug 2023 11:55:38 +0300 Subject: jailhouse: mx93: drop cortex-a55 tune meta-freescale uses cortexa55 as a tune for mx93, while jailhouse intentionally sets march=armv8-a+nofp to disable using FPU registers by jailhouse. It leads to a building error [1]. Drop cortex-a55 from TUNE_CCARGS (used for generating CC) for mx93. [1] cc1: error: switch '-mcpu=cortex-a55' conflicts with '-march=armv8-a+nofp' switch [-Werror] Signed-off-by: Oleksandr Suvorov --- recipes-extended/jailhouse/jailhouse-imx_git.bb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'recipes-extended') diff --git a/recipes-extended/jailhouse/jailhouse-imx_git.bb b/recipes-extended/jailhouse/jailhouse-imx_git.bb index a51848cf..c0f1b27d 100644 --- a/recipes-extended/jailhouse/jailhouse-imx_git.bb +++ b/recipes-extended/jailhouse/jailhouse-imx_git.bb @@ -39,6 +39,8 @@ CELL_DIR ?= "${JH_DATADIR}/cells" CELLCONF_DIR ?= "${JH_DATADIR}/configs" INMATES_DIR ?= "${JH_DATADIR}/inmates" +TUNE_CCARGS:remove:mx93-nxp-bsp = "-mcpu=cortex-a55" + do_configure() { if [ -d ${STAGING_DIR_HOST}/${CELLCONF_DIR} ]; then -- cgit v1.2.3-54-g00ecf