Re: Moving zlib so that others may use it

Corey Minyard (minyard@acm.org)
Thu, 10 Jan 2002 10:20:47 -0600


Tom Rini wrote:

>
>It's possible they can share, but the bootloaders (PPC & MIPS) need a
>slight change to the zlib.c code to to allow using zero as a real
>address to store the uncompressed data. So we'd want to guard the
>changes with __BOOTER__ or so, and then cp the file or do
>#define __BOOTER__
>#include "zlib.c"
>
>And do -I$(TOPDIR)/lib, or something along those lines.
>

I agree, but I think it would be better to do this one step at a time.
Let's get the things in the kernel working first to get rid of the
namespace crash, then get the bootloaders to share the code. I can't
test out a lot of the code, so I can't really do the bootloader changes,
and the bootloader changes are completely independent, anyway, once zlib
is moved.

-Corey

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/