diff options
author | Chris Zankel <czankel@tensilica.com> | 2005-06-30 05:58:59 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-30 11:45:11 -0400 |
commit | e7d163f7666560c90b163907b9d96ec6207e0f6f (patch) | |
tree | 88ea7add42a8fec465528ebdb856ed09d4661aa3 /arch/xtensa/boot/lib/Makefile | |
parent | 82300bf479d7cdf87214b81ca5dc003bbc4f7e8f (diff) |
[PATCH] xtensa: Removed local copy of zlib and fixed O= support
Removed an unnecessary local copy of zlib (sorry for the add'l traffic).
Fixed 'O=' support (thanks to Jan Dittmer for pointing it out). Some minor
clean-ups in the make files.
Signed-off-by: Chris Zankel <chris@zankel.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/xtensa/boot/lib/Makefile')
-rw-r--r-- | arch/xtensa/boot/lib/Makefile | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/arch/xtensa/boot/lib/Makefile b/arch/xtensa/boot/lib/Makefile index c0a74dc3a0df..9e73bb8aeb7a 100644 --- a/arch/xtensa/boot/lib/Makefile +++ b/arch/xtensa/boot/lib/Makefile | |||
@@ -2,5 +2,16 @@ | |||
2 | # Makefile for some libs needed by zImage. | 2 | # Makefile for some libs needed by zImage. |
3 | # | 3 | # |
4 | 4 | ||
5 | zlib := infblock.c infcodes.c inffast.c inflate.c inftrees.c infutil.c | ||
5 | 6 | ||
6 | lib-y := zlib.o zmem.o | 7 | lib-y += $(zlib:.c=.o) zmem.o |
8 | |||
9 | EXTRA_CFLAGS += -Ilib/zlib_inflate | ||
10 | |||
11 | quiet_cmd_copy_zlib = COPY $@ | ||
12 | cmd_copy_zlib = cat $< > $@ | ||
13 | |||
14 | $(addprefix $(obj)/,$(zlib)): $(obj)/%: $(srctree)/lib/zlib_inflate/% | ||
15 | $(call cmd,copy_zlib) | ||
16 | |||
17 | clean-files := $(zlib) | ||