[U-Boot] Building fw_env tools seems broken

Denys Dmytriyenko denys at ti.com
Mon Nov 24 22:19:18 CET 2014


Hi,

I came across this issue recently, that affects 2014.10 as well as master, but 
used to work fine in 2014.07 and older. Please let me know if I'm missing 
something or you need additional info. Thanks!


$ make CROSS_COMPILE=arm-linux-gnueabihf- am335x_evm_defconfig
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
#
# configuration written to .config
#
#
# configuration written to spl/.config
#

$ make CROSS_COMPILE=arm-linux-gnueabihf- env
scripts/kconfig/conf --silentoldconfig Kconfig
scripts/kconfig/conf --silentoldconfig Kconfig
  CHK     include/config.h
  GEN     include/autoconf.mk
  GEN     include/autoconf.mk.dep
  GEN     spl/include/autoconf.mk
  HOSTCC  tools/env/fw_env.o
In file included from tools/env/fw_env.c:117:0:
include/env_default.h:110:11: error: expected ‘}’ before ‘CONFIG_SYS_ARCH’
scripts/Makefile.host:108: recipe for target 'tools/env/fw_env.o' failed
make[1]: *** [tools/env/fw_env.o] Error 1
Makefile:1208: recipe for target 'env' failed
make: *** [env] Error 2

-- 
Denys


More information about the U-Boot mailing list