diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2015-04-14 21:50:47 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-05-05 19:52:07 -0400 |
commit | 1bfb9222aee2fd1030121e3c5cdd244048c5f419 (patch) | |
tree | 508c368b6925fc18d5565b42b0fa4b4af0bb0dd4 /tools/env/fw_env.h | |
parent | d81572c272d4b0980fb9b8a02e1357090b002398 (diff) | |
download | u-boot-imx-1bfb9222aee2fd1030121e3c5cdd244048c5f419.zip u-boot-imx-1bfb9222aee2fd1030121e3c5cdd244048c5f419.tar.gz u-boot-imx-1bfb9222aee2fd1030121e3c5cdd244048c5f419.tar.bz2 |
fw_env.h: include autoconf.h
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
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'tools/env/fw_env.h')
-rw-r--r-- | tools/env/fw_env.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/env/fw_env.h b/tools/env/fw_env.h index aff471b..d6faf34 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 |