标签:compile make uil default home pwd char shell nbsp
ARCH := arm
CROSS_COMPILE := arm-linux-gnueabi-
export ARCH CROSS_COMPILE
obj-m += chardev.o
ifneq ($(KERNELRELEASE),)
else
KERNELDIR ?= /home/hugh/workspace/linux-4.9.28
PWD := $(shell pwd)
default:
$(MAKE) -C $(KERNELDIR) M=$(PWD) modules
clean:
$(MAKE) -C $(KERNELDIR) M=$(PWD) clean
endif
标签:compile make uil default home pwd char shell nbsp
原文地址:http://www.cnblogs.com/hughxu/p/7069568.html