[PATCH] [MTD-UTILS] Makefile: Add Optional ZLIB and LZO CFLAGS and LDFLAGS

Josh Boyer jwboyer at linux.vnet.ibm.com
Wed Jun 18 09:01:24 EDT 2008


On Fri, 13 Jun 2008 08:46:20 -0700
Grant Erickson <gerickson at nuovations.com> wrote:

> This adds support for allowing the specification of unique CFLAGS and 
> LDFLAGS for both LZO and ZLIB. In addition, it allows for independently 
> specifying both PREFIX and EXEC_PREFIX.
> 
> The former is useful in some cross-compilation environments where the 
> LZO and ZLIB versions being built against are not those installed in the 
> standard locations.
> 
> The latter is useful when installing mtd-utils in a multi-architecture 
> installation area.

I like this, but due to my ineptitude I committed Mike's CFLAGS rework
patch first so this no longer applies.  Could you rework this based on
today's latest Makefile?

josh



More information about the linux-mtd mailing list