From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeroen Hofstee Date: Sun, 02 Nov 2014 11:05:04 +0100 Subject: [U-Boot] Building fw_printenv (e.g. make env) failing In-Reply-To: <1414892811.2407.12.camel@localhost.localdomain> References: <1414892811.2407.12.camel@localhost.localdomain> Message-ID: <545601D0.4000605@myspectrum.nl> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Marcel, On 02-11-14 02:46, Marcel Ziswiler wrote: > Quick question: How does one actually go about building fw_printenv > nowadays? At lest just doing 'make env' fails for me: > > [user at host u-boot.git]$ make env > HOSTCC tools/env/aes.o > HOSTCC tools/env/crc32.o > HOSTCC tools/env/ctype.o > HOSTCC tools/env/env_attr.o > HOSTCC tools/env/env_flags.o > 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? > make[1]: *** [tools/env/fw_env.o] Error 1 > make: *** [env] Error 2 > > I suspect some generated/autoconf.h discrepancy but am unsure how to > properly fix that. Any suggestions? > > make sandbox_config make env Should do the job. Regards, Jeroen