]> pilppa.org Git - linux-2.6-omap-h63xx.git/blob - arch/xtensa/boot/lib/Makefile
[PATCH] zlib_inflate: Upgrade library code to a recent version
[linux-2.6-omap-h63xx.git] / arch / xtensa / boot / lib / Makefile
1 #
2 # Makefile for some libs needed by zImage.
3 #
4
5 zlib    := inffast.c inflate.c inftrees.c
6
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)