diff options
author | Joel Stanley <joel@jms.id.au> | 2021-06-18 11:35:59 +0930 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-07-14 16:57:35 -0400 |
commit | 2a2896b17fa47168b87590a1e9b42765c598e3c7 (patch) | |
tree | 895e6fe268308ae1ac86e9a0e11317e69a324da8 /Makefile | |
parent | 473fc279c898d113cc5eff656efbbf08e1bea1d3 (diff) | |
download | u-boot-2a2896b17fa47168b87590a1e9b42765c598e3c7.zip u-boot-2a2896b17fa47168b87590a1e9b42765c598e3c7.tar.gz u-boot-2a2896b17fa47168b87590a1e9b42765c598e3c7.tar.bz2 |
Makefile: Conditionally add defaultenv_h to envtools target
When building the envtools target with CONFIG_USE_DEFAULT_ENV_FILE=y,
the tools require generated/defaultenv_autogenerated.h.
In file included from tools/env/fw_env.c:126:
include/env_default.h:115:10: fatal error: generated/defaultenv_autogenerated.h: No such file or directory
115 | #include "generated/defaultenv_autogenerated.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1871,6 +1871,8 @@ endif ifeq ($(CONFIG_USE_DEFAULT_ENV_FILE),y) prepare1: $(defaultenv_h) + +envtools: $(defaultenv_h) endif archprepare: prepare1 scripts_basic |