buildroot/boot/arm-trusted-firmware
Arnout Vandecappelle (Essensium/Mind) 03c52fef81 boot/arm-trusted-firmware: set CFLAGS from environment, not override
Older versions of TF-A don't support setting CFLAGS on the make command
line. They use 'CFLAGS += ...' in the Makefile, which is still
overridden by the CFLAGS on the command line.

Fix this by moving the CFLAGS setting to the environment. Both older and
newer versions of TF-A handle this correctly.

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/2781800954
and a large number of other defconfigs

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Kory Maincent <kory.maincent@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 4d919211ed)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2022-09-13 16:34:39 +02:00
..
Config.in Merge branch 'master' into next 2021-08-26 23:40:57 +02:00
arm-trusted-firmware.hash boot/arm-trusted-firmware: point LICENSE_FILES to correct file 2021-09-24 21:49:37 +02:00
arm-trusted-firmware.mk boot/arm-trusted-firmware: set CFLAGS from environment, not override 2022-09-13 16:34:39 +02:00