
23 Feb
2024
23 Feb
'24
9:38 p.m.
On Fri, Feb 23, 2024 at 12:42:06PM +0100, Sébastien Szymanski wrote:
Without the '-undef' option, the 'linux' string in .env files is replaced with the string '1 '. For example, in the board/armadeus/opos6uldev/opos6uldev.env file,
kernelimg=opos6ul-linux.bin
becomes
kernelimg=opos6ul-1 .bin
in the include/generated/env.in file.
That's because 'linux' is a System-specific Predefined Macros. [1]
Pass the '-undef' option to fix this issue.
[1] https://gcc.gnu.org/onlinedocs/gcc-13.2.0/cpp/System-specific-Predefined-Mac...
Signed-off-by: Sébastien Szymanski sebastien.szymanski@armadeus.com
Reviewed-by: Tom Rini trini@konsulko.com
--
Tom