diff options
author | Sébastien Szymanski <sebastien.szymanski@armadeus.com> | 2024-02-23 12:42:06 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-03-04 10:25:47 -0500 |
commit | ff3bcb17f43631e5637a67df56aec6e8b8733ec4 (patch) | |
tree | 0e4809b14c1ded1e814660ae908671903a4f7be1 /scripts | |
parent | 1132471405512619241dc879861f1b5beb95c48c (diff) | |
download | u-boot-ff3bcb17f43631e5637a67df56aec6e8b8733ec4.zip u-boot-ff3bcb17f43631e5637a67df56aec6e8b8733ec4.tar.gz u-boot-ff3bcb17f43631e5637a67df56aec6e8b8733ec4.tar.bz2 |
Makefile: pass -undef option to cmd_gen_envp
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-Macros.html
Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions