[Buildroot] [PATCH 1/1] package/uboot-tools: Fix loop positional declaration build error

Vadym Kochan vadim4j at gmail.com
Mon Mar 25 10:59:16 UTC 2019


Hi Thomas,

On Mon, Mar 18, 2019 at 05:12:37PM +0100, Thomas Petazzoni wrote:
> On Mon, 18 Mar 2019 17:36:58 +0200
> Vadim Kochan <vadim4j at gmail.com> wrote:
> 
> > From: Vadim Kochan <vadim4j at gmail.com>
> > 
> > Move 'i' variable outside of the 'for' loop to separate declaration
> > in lib/crc16.c
> > 
> > Fixes:
> > 	http://autobuild.buildroot.net/results/332c9d2232c03440bf71794ee7850b1f6fd51d11/
> > 
> > Signed-off-by: Vadim Kochan <vadim4j at gmail.com>
> 
> Thanks for the fix, but I already submitted a similar one, and upstream
> U-Boot wants to handle this different, see
> https://lists.denx.de/pipermail/u-boot/2019-February/358821.html. I
> didn't get to doing the change upstream U-Boot suggested.
> 

So, may be then just add your patch to the u-boot-tools package ?

Regards,
Vadim Kochan


More information about the buildroot mailing list