aboutsummaryrefslogblamecommitdiffstats
path: root/arch/xtensa/boot/lib/Makefile
blob: d3d2aa2d883aa6e4d9abfc7571b7e3e5eadbc30f (plain) (tree)
1
2
3
4
5
6



                                          
                                         
 










                                                                     
#
# 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)