dccp: do not assume DCCP code is non preemptible
[linux/fpc-iii.git] / arch / xtensa / boot / lib / Makefile
blob6868f2ca6af83372bfd336686e07a14d9c231b66
2 # Makefile for some libs needed by zImage.
5 zlib := inffast.c inflate.c inftrees.c
7 lib-y += $(zlib:.c=.o) zmem.o
9 ccflags-y := -Ilib/zlib_inflate
10 ifdef CONFIG_FUNCTION_TRACER
11 CFLAGS_REMOVE_inflate.o = -pg
12 CFLAGS_REMOVE_zmem.o = -pg
13 CFLAGS_REMOVE_inftrees.o = -pg
14 CFLAGS_REMOVE_inffast.o = -pg
15 endif
18 quiet_cmd_copy_zlib = COPY $@
19 cmd_copy_zlib = cat $< > $@
21 $(addprefix $(obj)/,$(zlib)): $(obj)/%: $(srctree)/lib/zlib_inflate/%
22 $(call cmd,copy_zlib)
24 clean-files := $(zlib)