fw_env.h: include autoconf.h
authorMax Krummenacher <max.krummenacher@toradex.com>
Tue, 14 Apr 2015 19:50:47 +0000 (21:50 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:37:12 +0000 (22:37 +0200)
commit9e3055f03ed0a31b184d0ca63fbba029dc01c861
treef36b233526ace11c50ba452a565220246bb3e84d
parent24f8ed88aaa1624a861360ce32da76424a3a5772
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>
tools/env/fw_env.h