makefile
来自「Linux Kernel 2.6.9 for OMAP1710」· 代码 · 共 54 行
TXT
54 行
## Makefile for the PCI bus specific drivers.#obj-y += access.o bus.o probe.o remove.o pci.o quirks.o \ names.o pci-driver.o search.o pci-sysfs.oobj-$(CONFIG_PROC_FS) += proc.oifndef CONFIG_SPARC64obj-y += setup-res.oendifobj-$(CONFIG_HOTPLUG) += hotplug.o# Build the PCI Hotplug drivers if we were asked toobj-$(CONFIG_HOTPLUG_PCI) += hotplug/## Some architectures use the generic PCI setup functions#obj-$(CONFIG_ALPHA) += setup-bus.o setup-irq.oobj-$(CONFIG_ARM) += setup-bus.o setup-irq.oobj-$(CONFIG_PARISC) += setup-bus.oobj-$(CONFIG_SUPERH) += setup-bus.o setup-irq.oobj-$(CONFIG_PPC32) += setup-irq.oobj-$(CONFIG_PPC64) += setup-bus.oobj-$(CONFIG_MIPS) += setup-bus.o setup-irq.oobj-$(CONFIG_X86_VISWS) += setup-irq.oobj-$(CONFIG_PCI_MSI) += msi.o# Cardbus & CompactPCI use setup-busobj-$(CONFIG_HOTPLUG) += setup-bus.oifndef CONFIG_X86obj-y += syscall.oendifhostprogs-y := gen-devlist# Dependencies on generated files need to be listed explicitly$(obj)/names.o: $(obj)/devlist.h $(obj)/classlist.h$(obj)/classlist.h: $(obj)/devlist.h# And that's how to generate themquiet_cmd_devlist = DEVLIST $@ cmd_devlist = ( cd $(obj); ./gen-devlist ) < $<$(obj)/devlist.h: $(src)/pci.ids $(obj)/gen-devlist $(call cmd,devlist)# Files generated that shall be removed upon make cleanclean-files := devlist.h classlist.h
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?