AnsweredAssumed Answered

problem compiling u-boot 2013R1

Question asked by nathan2225 on Apr 16, 2014
Latest reply on May 5, 2014 by Aaronwu

Hi, i'm a fresh starter to u-boot/blackfin


Just have installed toolchain and u-boot/blackfin


if i do a 'make bf609-ezkit'


i got an error in file include/environment.h:175:  (inclued by common/env_embedded.c)


error: ' CONFIG_ENV_SIZE' undeclared here (not in a function)'


if have tried bf548-ezkit too, same problem


if i just replace the var with a constant i can compile the whole u-boot without a problem.


CONFIG_ENV_SIZE should normaly be defined by the build-target include file (bf609-ezkit.h) i guess, and i do find it there, but somehow it got lost on it's way to env_embedded.c


Any suggestions ?