mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-31 22:34:33 +01:00
Removed an unnecessary local copy of zlib (sorry for the add'l traffic). Fixed 'O=' support (thanks to Jan Dittmer for pointing it out). Some minor clean-ups in the make files. Signed-off-by: Chris Zankel <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
18 lines
372 B
Makefile
18 lines
372 B
Makefile
#
|
|
# Makefile for some libs needed by zImage.
|
|
#
|
|
|
|
zlib := infblock.c infcodes.c inffast.c inflate.c inftrees.c infutil.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)
|