交叉编译驱动模块

时间:2016-01-28 09:17:06
【文件属性】:

文件名称:交叉编译驱动模块

文件大小:26KB

文件格式:DOC

更新时间:2016-01-28 09:17:06

交叉编译模块

ifneq ($(KERNELRELEASE),)obj-m:=hello.oelseKERNELDIR:=/lib/modules/$(shell uname -r)/buildPWD:=$(shell pwd)default: $(MAKE) -C $(KERNELDIR) M=$(PWD) modulesclean: rm -rf *.o *.mod.c *.mod.o *.koendif


网友评论