1
0
Fork 0

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>
utp
Max Krummenacher 2015-04-14 21:50:47 +02:00 committed by Tom Rini
parent d81572c272
commit 1bfb9222ae
1 changed files with 1 additions and 0 deletions

1
tools/env/fw_env.h vendored
View File

@ -13,6 +13,7 @@
#else
#include <config.h>
#endif
#include <generated/autoconf.h>
/*
* To build the utility with the static configuration