diff options
| author | Heinrich Schuchardt <[email protected]> | 2024-08-02 15:50:23 +0200 |
|---|---|---|
| committer | Heinrich Schuchardt <[email protected]> | 2024-08-11 07:54:58 +0200 |
| commit | 2956a84ba70176333743773c9a2bf0353add65c9 (patch) | |
| tree | dc5c147ed0bccf1899b9d755c9ebaa405cc7689d | |
| parent | 02214c8b9dd879ed31973e865a2968167a3a95f5 (diff) | |
Makefile: don't use CFLAGS for environment text file
We use KCPPFLAGS to let the user set flags when invoking the C precompiler.
These should also be used when generating the environment text file.
Reported-by: Dave Jones <[email protected]>
Signed-off-by: Heinrich Schuchardt <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
| -rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1839,7 +1839,7 @@ ENV_FILE := $(if $(ENV_SOURCE_FILE),$(ENV_FILE_CFG),$(wildcard $(ENV_FILE_BOARD) quiet_cmd_gen_envp = ENVP $@ cmd_gen_envp = \ if [ -s "$(ENV_FILE)" ]; then \ - $(CPP) -P $(CFLAGS) -x assembler-with-cpp -undef \ + $(CPP) -P $(cpp_flags) -x assembler-with-cpp -undef \ -D__ASSEMBLY__ \ -D__UBOOT_CONFIG__ \ -I . -I include -I $(srctree)/include \ |
