Hi,
We have got a customized board which is designed based on reference board (Wandboard-dual). While board bringing up we have used yocto's "BSP porting Guide".
While we have run the command: $ bash ./build_u-boot.sh
it is trying to build and finally issuing following error:
error: expected '}' before 'CONFIG_DEFAULT_FDT_FILE'
"fdt_file=" CONFIG_DEFAULT_FDT_FILE "\0" \
^
/home/srinivas/fsl-community-bsp/build/tmp/work/wandboard_dual-poky-linux-gnueabi/u-boot-fslc/v2013.10-r0/git/include/env_default.h:122:2: note: in expansion of macro 'CONFIG_EXTRA_ENV_SETTINGS'
CONFIG_EXTRA_ENV_SETTINGS
^
make[1]: *** [env_common.o] Error 1
make[1]: Leaving directory `/home/srinivas/fsl-community-bsp/build/tmp/work/wandboard_dual-poky-linux-gnueabi/u-boot-fslc/v2013.10-r0/git/common'
make: *** [common/libcommon.o] Error 2
how to resolve this problem
Hi,
Just with that information is difficult to have a clear idea about the issue.
My suggestion is to try to build u-boot from the original code with the configuration you used as reference and make sure it builds.
After that you can start to narrow down the problem.
Best Regards,
Alejandro