发布时间:2011-08-03 09:12:04
Makefile:#ifneq($(KERNELRELEASE),)obj-m := hello.o#elseKERNELDIR := /usr/src/linux/modules: $(MAKE) -C $(KERNELDIR) SUBDIRS=$(PWD) $@install: insmod hello.kouninstall: rmmod hello.koclean: rm -rf *.ko *.o *.mod..........【阅读全文】
阅读(1017) | 评论(0) | 转发(0)