makefile
来自「一个基于s3c2440-linux2.6按键驱动程序的tasklet的典型运用并」· 代码 · 共 26 行
TXT
26 行
# Makefile
# Please modify here or set environments.
# KSOURCE should be pointed to the build directory of your kernel.
#
DEBUG ?= n
KSOURCE ?= /home/lwcheng/document/utu-linux/
%.x:%.c
arm-linux-gcc -o $@ $<
KBUILD_VERBOSE:=1
obj-m := key_tasklet.o
default:
make -C $(KSOURCE) LANG=C KBUILD_VERBOSE=${KBUILD_VERBOSE} SUBDIRS=`pwd` modules
.PHONY: cscope
cscope:
cscope -b -k -R
.PHONY: clean
clean:
make -C $(KSOURCE) LANG=C KBUILD_VERBOSE=${KBUILD_VERBOSE} SUBDIRS=`pwd` clean
rm -f *.x *~
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?