Re: [2.6 patch] Build Error 2: build of pca200e.bin fails
From: Adrian Bunk
Date: Tue Nov 30 2004 - 21:38:19 EST
On Tue, Nov 30, 2004 at 03:00:31PM -0200, Marcelo Tosatti wrote:
> On Sun, Nov 28, 2004 at 08:21:21PM +0100, Adrian Bunk wrote:
> >
> > I have no problems with this patch, but shouldn't the same be done
> > in 2.6?
> >
> >
> > Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>
> >
> > --- linux-2.6.10-rc2-mm3-full/drivers/atm/Makefile.old 2004-11-28 20:18:04.000000000 +0100
> > +++ linux-2.6.10-rc2-mm3-full/drivers/atm/Makefile 2004-11-28 20:18:15.000000000 +0100
> > @@ -68,4 +68,4 @@
> > # deal with the various suffixes of the binary firmware images
> > $(obj)/%.bin $(obj)/%.bin1 $(obj)/%.bin2: $(src)/%.data
> > objcopy -Iihex $< -Obinary $@.gz
> > - gzip -df $@.gz
> > + gzip -n -df $@.gz
>
> Isnt it exactly the same of what has been merged in v2.4?
>
> I can't see any difference.
>
> [marcelo@dmt atm]$ bk diffs -u -r1.8 -r1.9 Makefile
> ===== Makefile 1.8 vs 1.9 =====
> --- 1.8/drivers/atm/Makefile Mon Jul 28 11:35:31 2003
> +++ 1.9/drivers/atm/Makefile Mon Nov 22 21:54:09 2004
> @@ -92,7 +92,7 @@
> # deal with the various suffixes of the binary firmware images
> %.bin %.bin1 %.bin2: %.data
> objcopy -Iihex $< -Obinary $@.gz
> - gzip -df $@.gz
> + gzip -n -df $@.gz
>
> fore_200e.o: $(fore_200e-objs)
> $(LD) -r -o $@ $(fore_200e-objs)
It is exactly the same except for the patch context (note that in 2.6,
the gzip is the last line of the Makefile).
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/