makefile

来自「arm平台上的uclinux系统全部源代码」· 代码 · 共 37 行

TXT
37 行
字号
## Makefile for the linux kernel device drivers.## Note! Dependencies are done automagically by 'make dep', which also# removes any old dependencies. DON'T put your own dependencies here# unless it's something special (ie not a .c file).## Note 2! The CFLAGS definitions are now in the main makefile...SUB_DIRS     := block char net #streamsMOD_SUB_DIRS := $(SUB_DIRS)ALL_SUB_DIRS := $(SUB_DIRS) scsi sound# If CONFIG_SCSI is set, the core of scsi support will be added to the kernel,# but some of the low-level things may also be modules.ifeq ($(CONFIG_SCSI),y)SUB_DIRS += scsiMOD_SUB_DIRS += scsielse  ifeq ($(CONFIG_SCSI),m)  MOD_SUB_DIRS += scsi  endifendififeq ($(CONFIG_SOUND),y)SUB_DIRS += soundelse  ifeq ($(CONFIG_SOUND),m)  MOD_SUB_DIRS += sound  endifendifinclude $(TOPDIR)/Rules.makemrproper:	set -e; for i in $(ALL_SUB_DIRS); do $(MAKE) -C $$i mrproper; done

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?