Small correction On Wednesday, June 17, 2015, Thirumalesha N <thiru.li...@gmail.com> wrote:
> Hi Franklin, > > Sorry for late response > > On Wednesday, June 10, 2015, Cooper Jr., Franklin <fcoo...@ti.com > <javascript:_e(%7B%7D,'cvml','fcoo...@ti.com');>> wrote: > >> >> >> > -----Original Message----- >> > From: Maxin B. John [mailto:maxin.j...@enea.com] >> > Sent: Wednesday, June 10, 2015 4:10 AM >> > To: Thirumalesha N >> > Cc: u-boot@lists.denx.de; Cooper Jr., Franklin; tr...@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. > > > I agree, CONFIG_CMD_NET Is the issue. I have tried to include the > generated/autoconf.h in include/config_defaults.h that's solve the issue > but I didnt do thoroug test, if it gets effect for other configurations. > > > >> > >> > > >> > > With same tool chain I'm able compile 2014 u-boot >> > > >> > > Regards, >> > > Thiru N >> > >> > Best Regards, >> > Maxin >> > > Regards, > Thiru N > _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot