Re: [PATCH 1/3] Remove unused dependency

From: Joe Perches
Date: Sun Dec 30 2007 - 19:16:36 EST


On Sun, 2007-12-30 at 23:00 +0100, Sam Ravnborg wrote:
> Can you please remind me what problem you are actually trying to solve here.
> Your current approach it not good - we do not want .c code in include/*
> And what is wrong with the current include path?

It's not a bit deal.

inflate.c is #include'd with different depth "../" prefixes.
Currently, depths 1, 3, 4 and 5 are used.

It seemed neater to take this inflate.c file, which can not
be stand-alone compiled, and move it to somewhere on the
include path so that it may be included via #include <inflate.c>

I was originally trying to make each file in a directory via

for file in $(ls lib/*.c) ; do file=${file%.c}.o ; make $file ; done

and I noticed that inflate.o wasn't made.

cheers, Joe

--
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/