📄 makefile
字号:
## Makefile for the kernel ata, atapi, and ide block device drivers.## 12 September 2000, Bartlomiej Zolnierkiewicz <bkz@linux-ide.org># Rewritten to use lists instead of if-statements.## Note : at this point, these files are compiled on all systems.# In the future, some of these should be built conditionally.#O_TARGET := idedriver.oexport-objs := ide-iops.o ide-taskfile.o ide-proc.o ide.o ide-probe.o ide-dma.o ide-lib.o setup-pci.o ide-io.o ide-disk.oall-subdirs := arm legacy pci ppc raidmod-subdirs := arm legacy pci ppc raidobj-y :=obj-m :=ide-obj-y :=subdir-$(CONFIG_BLK_DEV_IDE) += legacy ppc arm raid pci# First come modules that register themselves with the coreifeq ($(CONFIG_BLK_DEV_IDE),y) obj-y += pci/idedriver-pci.oendif# Core IDE code - must come before legacyobj-$(CONFIG_BLK_DEV_IDE) += ide-probe.o ide-geometry.o ide-iops.o ide-taskfile.o ide.o ide-lib.o ide-io.o ide-default.oobj-$(CONFIG_BLK_DEV_IDEDISK) += ide-disk.oobj-$(CONFIG_BLK_DEV_IDECD) += ide-cd.oobj-$(CONFIG_BLK_DEV_IDETAPE) += ide-tape.oobj-$(CONFIG_BLK_DEV_IDEFLOPPY) += ide-floppy.oifeq ($(CONFIG_BLK_DEV_IDEPCI),y)obj-$(CONFIG_BLK_DEV_IDE) += setup-pci.oendififeq ($(CONFIG_BLK_DEV_IDEDMA_PCI),y)obj-$(CONFIG_BLK_DEV_IDE) += ide-dma.oendifobj-$(CONFIG_BLK_DEV_ISAPNP) += ide-pnp.oifeq ($(CONFIG_BLK_DEV_IDE),y)obj-$(CONFIG_PROC_FS) += ide-proc.oendififeq ($(CONFIG_BLK_DEV_IDE),y) obj-y += legacy/idedriver-legacy.o obj-y += ppc/idedriver-ppc.o obj-y += arm/idedriver-arm.oelse ifeq ($(CONFIG_BLK_DEV_HD_ONLY),y) obj-y += legacy/idedriver-legacy.o endifendififeq ($(CONFIG_BLK_DEV_IDE),y)# RAID must be last of all obj-y += raid/idedriver-raid.oendifinclude $(TOPDIR)/Rules.make
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -