satip-axe/kernel/arch/xtensa/boot/lib/Makefile
2015-03-26 17:24:57 +01:00

18 lines
340 B
Makefile

#
# Makefile for some libs needed by zImage.
#
zlib := inffast.c inflate.c inftrees.c
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)