全部博文(70)
分类: LINUX
2010-02-02 14:24:29
chinaunix网友2010-06-08 15:15:30
驱动的Makefile PWD:=$(shell pwd) KERNEL_SRC = /lib/modules/`uname -r`/build obj-m:=sk_b.o sk_b-objs:=skb.o all: make -C $(KERNEL_SRC) M=$(PWD) modules clean: rm -f *.o rm -f *.ko rm -f .*.cmd rm -rf .tmp_versions rm -f *.mod.c rm -f *.symvers rm -f *.order