Home
last modified time | relevance | path

Searched hist:"6 f105fafa881f2a2e9e87ca050773045b55f25a3" (Results 1 – 1 of 1) sorted by relevance

/optee_os/mk/
H A Dcompile.mk6f105fafa881f2a2e9e87ca050773045b55f25a3 Thu Aug 01 13:58:36 UTC 2024 Mikko Rapeli <mikko.rapeli@linaro.org> compile.mk: use CFLAGS from environment

Users can set CFLAGS just like AFLAGS, CC,
LD etc and expect them to be used. It's ok to amend
to them but overwriting should not be done.
Build environment like yocto expect that these
variables are used to call the compiler etc tools.
Linux distro build environments usually set
these variables.

Helps to remove build time paths from generated binaries
since mappings to remove them can be set by the distro
build system in CFLAGS automatically for each SW component
in the build.

Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>