[U-Boot] [PATCH v4 9/9] sandbox: add config_distro_defaults and config_distro_bootcmd

Joe Hershberger joe.hershberger at gmail.com
Tue Apr 21 06:31:37 CEST 2015


Hi Sjoerd,

On Mon, Apr 13, 2015 at 3:54 PM, Sjoerd Simons
<sjoerd.simons at collabora.co.uk> wrote:
> Make the sandbox setup more generic/examplary by including
> config_distro_defaults.h and config_distro_bootcmd.h.
>
> Among other things this makes it easy to test whether images will boot
> though with the standard distro bootcmds by running e.g:
>   u-boot -c 'host bind 0 myimage.img ; boot'
>
> By default there are 2 target host devices to emulate device with
> multiple storage devices (e.g. internal ("host 0") and external
> ("host 1") and verify that the prioritization and fallbacks do work
> correctly.
>
> Signed-off-by: Sjoerd Simons <sjoerd.simons at collabora.co.uk>
> Reviewed by: Simon Glass <sjg at chromium.org>
> Acked-by: Simon Glass <sjg at chromium.org>

For me this has broken the build of the "env" target.

I get this following error:

In file included from /home/joe/u-boot/tools/env/fw_env.c:117:
/usr/include/search.h:173: error: expected "}" before
"BOOT_TARGET_DEVICES_references_HOST_without_CONFIG_SANDBOX"
make[2]: *** [tools/env/fw_env.o] Error 1
make[1]: *** [env] Error 2
make: *** [sub-make] Error 2

I haven't looked closely at the header you've added. Any quick
thoughts about what's going on?

Thanks,
-Joe


More information about the U-Boot mailing list