First Support on Ginger and OMAP TI
[linux-ginger.git] / arch / xtensa / boot / lib / Makefile
blobd3d2aa2d883aa6e4d9abfc7571b7e3e5eadbc30f
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 EXTRA_CFLAGS += -Ilib/zlib_inflate
11 quiet_cmd_copy_zlib = COPY $@
12 cmd_copy_zlib = cat $< > $@
14 $(addprefix $(obj)/,$(zlib)): $(obj)/%: $(srctree)/lib/zlib_inflate/%
15 $(call cmd,copy_zlib)
17 clean-files := $(zlib)