fw_env.h: include autoconf.h
authorMax Krummenacher <max.krummenacher@toradex.com>
Fri, 31 Oct 2014 18:33:47 +0000 (19:33 +0100)
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>
Wed, 15 Apr 2015 11:46:28 +0000 (13:46 +0200)
commit6e1476cadb428edcc9549962fc0a6e90415db54a
tree93b6ffe6fc784f820fdd6b9457e22ab58ae286ec
parent3b035ea82dd47f0b4fd3aff6a3806a0f8d4b243e
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

(cherry picked from commit 7031ed747021815dd8303d8a70b8c070ba709c56)
tools/env/fw_env.h