1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-01-12 03:10:15 +00:00

arm/trusted-services: Move ts-newlib compilation fix to meta-arm

This change moves ts-newlib compilation fix from
meta-arm-bsp to meta-arm, as this compilation failure
is not specific to meta-arm-bsp platforms.

Signed-off-by: Mariam Elshakfy <mariam.elshakfy@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
Mariam Elshakfy
2024-08-07 21:43:43 +01:00
committed by Jon Mason
parent 1d21bf1577
commit 5e27594771
2 changed files with 3 additions and 1 deletions

View File

@@ -4,6 +4,5 @@ COMPATIBLE_MACHINE:corstone1000 = "corstone1000"
SRC_URI:append:corstone1000 = " \
file://0001-newlib-memcpy-remove-optimized-version.patch;patchdir=../newlib \
"
export NEWLIB_CFLAGS_TARGET = "-Wno-implicit-function-declaration -Wno-int-conversion"
COMPATIBLE_MACHINE:fvp-base = "fvp-base"

View File

@@ -20,6 +20,9 @@ EXTRA_OECMAKE += '-DNEWLIB_SOURCE_DIR=${WORKDIR}/git/newlib \
OECMAKE_SOURCEPATH = "${S}/deployments/newlib/${TS_ENV}/"
# Silence compilation errors from GCC 14.1 due to stricter code validation
export NEWLIB_CFLAGS_TARGET = "-Wno-implicit-function-declaration -Wno-int-conversion"
# TS ships a patch that needs to be applied to newlib
apply_ts_patch() {
( cd ${WORKDIR}/git/newlib; git stash; git branch -f bf_am; git am ${S}/external/newlib/*.patch; git reset bf_am )