[U-Boot] Compilation of env error u-boot 2015.07-rc2
Cooper Jr., Franklin
fcooper at ti.com
Wed Jun 10 15:58:05 CEST 2015
> -----Original Message-----
> From: Maxin B. John [mailto:maxin.john at enea.com]
> Sent: Wednesday, June 10, 2015 4:10 AM
> To: Thirumalesha N
> Cc: u-boot at lists.denx.de; Cooper Jr., Franklin; trini at konsulko.com
> Subject: Re: [U-Boot] Compilation of env error u-boot 2015.07-rc2
>
> 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.
[Franklin] I haven't used make env before but from my understanding there is no config for it. The other configs for am335x that I saw all had CONFIG_CMD_NET enabled. So I'm guessing that when doing make env CONFIG_CMD_NET isn't enabled which is why we get that error. I just sent a patch that fixed this error.
>
> >
> > 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