📄 makefile
字号:
# Makefile2.6
ifneq ($(KERNELRELEASE),)
#kbuild syntax. dependency relationshsip of files and target modules are listed here.
#mymodule-objs := file1.o file2.o
obj-m := pd6700.o #smdk2440_ov7620.o
else
PWD := $(shell pwd)
# where the kernel sources are located
KERNEL_DIR :=/usr/local/src/gec2410-linux-2.6.8.1/
#KVER ?= $(shell uname -r)
#KDIR :=/usr/local/src/gec2410-linux_2.6.8.1/lib/modules/$(KVER)/build
all:
#$(MAKE) -C $(KDIR) M=$(PWD)
cd $(KERNEL_DIR); make SUBDIRS=$(PWD) modules
clean:
rm -rf .*.cmd *.o *.mod.c *.ko .tmp_versions
endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -