summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2014-10-31 19:33:47 +0100
committerMax Krummenacher <max.krummenacher@toradex.com>2014-10-31 20:19:00 +0100
commit7031ed747021815dd8303d8a70b8c070ba709c56 (patch)
tree5fc5a50a2be4711cfb853a844f5111c7b5c2b71e
parent67c3a4aee6c0af124ce779aed1be70c7a92d0916 (diff)
Without this, when CONFIG_ENV_VARS_UBOOT_CONFIG is active we get a compile time error when doing 'make env'. In file included from tools/env/fw_env.c:117:0: include/env_default.h:110:11: error: expected ‘}’ before ‘CONFIG_SYS_ARCH’ When building U-Boot this is included indirectly by the compiler switch -include /home/trdx/git.toradex.com/u-boot-2014.10-toradex/include/linux/kconfig.h
-rw-r--r--tools/env/fw_env.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/env/fw_env.h b/tools/env/fw_env.h
index aff471ba192..d6faf349125 100644
--- a/tools/env/fw_env.h
+++ b/tools/env/fw_env.h
@@ -13,6 +13,7 @@
#else
#include <config.h>
#endif
+#include <generated/autoconf.h>
/*
* To build the utility with the static configuration