Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
at v2.6.21 23 lines 516 B view raw
1# 2# Makefile for some libs needed by zImage. 3# 4 5CFLAGS_kbd.o := -Idrivers/char 6CFLAGS_vreset.o := -Iarch/ppc/boot/include 7 8zlib := inffast.c inflate.c inftrees.c 9 10lib-y += $(zlib:.c=.o) div64.o 11lib-$(CONFIG_VGA_CONSOLE) += vreset.o kbd.o 12 13 14# zlib files needs header from their original place 15EXTRA_CFLAGS += -Ilib/zlib_inflate 16 17quiet_cmd_copy_zlib = COPY $@ 18 cmd_copy_zlib = cat $< > $@ 19 20$(addprefix $(obj)/,$(zlib)): $(obj)/%: $(srctree)/lib/zlib_inflate/% 21 $(call cmd,copy_zlib) 22 23clean-files := $(zlib)