📄 makefile
字号:
KERNELDIR = /home/utu-linux_for_s3c2440_dm9000_V1.5.8/# The current directory is passed to sub-makes as argumentPWD := $(shell pwd)CROSS_COMPILE =/usr/local/arm/3.4.1/bin/arm-linux-CC = $(CROSS_COMPILE)gcc# Comment/uncomment the following line to disable/enable debuggingDEBUG = n# Add your debugging flag (or not) to CFLAGSifeq ($(DEBUG),y) DEBFLAGS = -O -g -DSCULL_DEBUG # "-O" is needed to expand inlineselse DEBFLAGS = -O2endifCFLAGS += $(DEBFLAGS)obj-m := adconvert.o modules: $(MAKE) -C $(KERNELDIR) M=$(PWD) modulesmodules_install: cp scull.ko $(INSTALLDIR)clean: rm -rf *.o *~ core .depend .*.cmd *.ko *.mod.c .tmp_versions.PHONY: modules modules_install clean
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -