[U-Boot] Compilation of env error u-boot 2015.07-rc2

Maxin B. John maxin.john at enea.com
Wed Jun 10 11:09:51 CEST 2015


Hi,

On Wed, Jun 10, 2015 at 10:29:47AM +0530, Thirumalesha N wrote:
> Hi all,
> 
> I have pulled latest code from u-boot main line through git.
> 
> Using linaro tool chain for am335x board
> 
> I'm trying to compile tools/env but its giving an error
> 
> #make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- env
> 
> HOSTCC tools/env/fw_env.o
> 
> arm-linux-gnueabihf/include/search.h:173:1 erro: expected '}' before
> 'NETARGS'
> make[1]: *** [ tools/env/few.env.o] error 1

I have managed to re-create the same problem.

Revert this commit: 2320866b978fc12904eeba37236f35d12b4aec30
ie: 
# git revert 2320866b978fc12904eeba37236f35d12b4aec30

and then try building again. 

Apparently network arguments were moved to ti_armv7_common.h. 
However, it wasn't included in the am335x config.

> 
> With same tool chain I'm able compile 2014 u-boot
> 
> Regards,
> Thiru N

Best Regards,
Maxin                                                                    


More information about the U-Boot mailing list