标签:io ar os for on ad ef linux as
ifneq ($(KERNELRELEASE),)
obj-m := hello.o
hello-objs := main.o add.o
else
KDIR := /lib/modules/2.6.18-53.el5/build
all:
make -C $(KDIR) M=$(PWD) modules ARCH=arm CROSS_COMPILE=/usr/local/arm/4.4.1/bin/arm-linux-
clean:
rm -f *.ko *.o *.mod.o *.mod.c *.symvers
endif
modprobe --force-modversion
标签:io ar os for on ad ef linux as
原文地址:http://www.cnblogs.com/tolimit/p/4109388.html