?? makefile
字號:
KERNEL_VERSION = $(shell uname -r)KERNEL_MODLIB = /lib/modules/$(KERNEL_VERSION)KERNEL_BUILD = $(KERNEL_MODLIB)/buildKERNEL_SOURCE = $(KERNEL_MODLIB)/sourceSUB=c64xexport CONFIG_DAVINCI_C64X=mifeq ($(shell test -e $(KERNEL_BUILD)/include/linux/autoconf.h && echo yes),yes) AUTOCONF_H = -include $(KERNEL_BUILD)/include/linux/autoconf.hendififeq ($(shell test -e $(KERNEL_BUILD)/include/linux/config.h && echo yes),yes) CPPFLAGS += -DHAVE_LINUX_CONFIG_HendifCPPFLAGS += -DMODULE.PHONY: all install cleanit all: $(MAKE) -C $(KERNEL_BUILD) \ CPPFLAGS="$(CPPFLAGS) -D__KERNEL__ -I$(KERNEL_BUILD)/include -I$(KERNEL_SOURCE)/include $(AUTOCONF_H)" \ SUBDIRS=`pwd`/$(SUB) modulesinstall: allclean: $(RM) -r $(SUB)/.tmp_versions $(SUB)/Module.symvers find $(SUB) -name *.o -o -name *.ko -o -name .*.cmd -o -name *.mod.* | xargs rm -fso: it find $(SUB) -name "*.ko" | xargs strip -x -R .comment -R .note
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -