From: Mike Frysinger Date: Mon, 27 Jul 2009 14:58:59 -0400 Subject: [U-Boot] [PATCH] Refresh LZMA-lib to v4.65 In-Reply-To: References: <1248165949-5845-1-git-send-email-luigi.mantellini.ml@gmail.com> <200907271427.33088.vapier@gentoo.org> Message-ID: <200907271458.59916.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > >> > > >> > 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