[U-Boot] [PATCH] Refresh LZMA-lib to v4.65

Mike Frysinger vapier at gentoo.org
Mon Jul 27 20:58:59 CEST 2009


On Monday 27 July 2009 14:48:54 Luigi Mantellini wrote:
> On Mon, Jul 27, 2009 at 8:27 PM, Mike Frysinger wrote:
> > On Monday 27 July 2009 14:17:44 Luigi Mantellini wrote:
> >> On Mon, Jul 27, 2009 at 7:40 PM, Mike Frysinger wrote:
> >> > On Tuesday 21 July 2009 04:45:49 Luigi 'Comio' Mantellini wrote:
> >> >> --- /dev/null
> >> >> +++ b/lib_generic/lzma/LzmaDec.c
> >> >> @@ -0,0 +1,1007 @@
> >> >> +/* LzmaDec.c -- LZMA Decoder
> >> >> +2008-11-06 : Igor Pavlov : Public domain */
> >> >> +
> >> >> +#include "LzmaDec.h"
> >> >> +
> >> >> +#include <string.h>
> >> >
> >> > there is no string.h in the source tree.  because of this, the .depend
> >> > step fails:
> >> > make[1]: Entering directory
> >> > `/usr/local/src/u-boot/blackfin/lib_generic/lzma' LzmaDec.c:9:20:
> >> > error: string.h: No such file or directory
> >> >
> >> > i know there's a hack in the Makefile:
> >> > CFLAGS += -D_LZMA_PROB32 -I$(TOPDIR)/include/linux
> >> >
> >> > looks like this should be CPPFLAGS, not CFLAGS.  or fix the source and
> >> > drop the -I hack.
> >>
> >> I preferred to not touch the lzma sourcers. Anyway, on my system the
> >> hack works fine... can you try to do a "make mrproper && make
> >> your_board_config" before to compile?
> >
> > this is using MAKEALL, so that should be sufficient.  at any rate, if you
> > simply read the .depend target you'll see CFLAGS is not used (whether
> > that's a bug in .depend is a different discussion).
>
> (sent again)

please dont top post ;)

> CFLAGS bugs?
> I tried to comment the -I...blablalb... and the build (crrectly) fails.
> Can you remove the .depend from your source dir?

i said it doesnt matter.  but if you're going to continue down this line of 
reasoning anyways, i just did `git clean -x -d` and got the same result.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20090727/7d040891/attachment-0001.pgp 


More information about the U-Boot mailing list