2005-06-24 01:01:12 -04:00
|
|
|
#
|
|
|
|
# Makefile for some libs needed by zImage.
|
|
|
|
#
|
|
|
|
|
2005-06-30 05:58:59 -04:00
|
|
|
zlib := infblock.c infcodes.c inffast.c inflate.c inftrees.c infutil.c
|
2005-06-24 01:01:12 -04:00
|
|
|
|
2005-06-30 05:58:59 -04:00
|
|
|
lib-y += $(zlib:.c=.o) zmem.o
|
|
|
|
|
|
|
|
EXTRA_CFLAGS += -Ilib/zlib_inflate
|
|
|
|
|
|
|
|
quiet_cmd_copy_zlib = COPY $@
|
|
|
|
cmd_copy_zlib = cat $< > $@
|
|
|
|
|
|
|
|
$(addprefix $(obj)/,$(zlib)): $(obj)/%: $(srctree)/lib/zlib_inflate/%
|
|
|
|
$(call cmd,copy_zlib)
|
|
|
|
|
|
|
|
clean-files := $(zlib)
|