makefile
来自「这是一个基于S3C2440 的VGA 驱动程序, 其中fc.c 是驱动程序,fc」· 代码 · 共 18 行
TXT
18 行
#If KERNELRELEASE is defined, we've been invoked from the#kernel build system and can use its language.#ifneq($(KERNELRELEASE),)#ARCH :=arm#CROSS_COMPILE :=/usr/local/arm/3.3.2/bin/arm-linux-#AS = $(CROSS_COMPILE)as#LD = $(CROSS_COMPILE)ld#CC = $(CROSS_COMPILE)gccobj-m:=fm.o#Otherwise we were called directly from the command #line,invoke the kernel build system.#elseKDIR := /KB2440/Kernel/linux-2.6.12
PWD := $(shell pwd)
default:
$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules #endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?