summaryrefslogtreecommitdiff
path: root/drivers/hotplug/Makefile
blob: 76edd29cfd10f1c922b6a925099404c66d045d74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#
# Makefile for the Linux kernel pci hotplug controller drivers.
#

export-objs	:= pci_hotplug_core.o pci_hotplug_util.o cpci_hotplug_core.o

obj-$(CONFIG_HOTPLUG_PCI)		+= pci_hotplug.o
obj-$(CONFIG_HOTPLUG_PCI_COMPAQ)	+= cpqphp.o
obj-$(CONFIG_HOTPLUG_PCI_IBM)		+= ibmphp.o
obj-$(CONFIG_HOTPLUG_PCI_ACPI)		+= acpiphp.o
obj-$(CONFIG_HOTPLUG_PCI_CPCI)		+= cpci_hotplug.o
obj-$(CONFIG_HOTPLUG_PCI_CPCI_ZT5550)	+= cpcihp_zt5550.o
obj-$(CONFIG_HOTPLUG_PCI_CPCI_GENERIC)	+= cpcihp_generic.o

pci_hotplug-objs	:=	pci_hotplug_core.o	\
				pci_hotplug_util.o

cpqphp-objs		:=	cpqphp_core.o	\
				cpqphp_ctrl.o	\
				cpqphp_proc.o	\
				cpqphp_pci.o

ibmphp-objs		:=	ibmphp_core.o	\
				ibmphp_ebda.o	\
				ibmphp_pci.o	\
				ibmphp_res.o	\
				ibmphp_hpc.o

acpiphp-objs		:=	acpiphp_core.o	\
				acpiphp_glue.o	\
				acpiphp_pci.o	\
				acpiphp_res.o

cpci_hotplug-objs	:=	cpci_hotplug_core.o	\
				cpci_hotplug_pci.o

ifdef CONFIG_HOTPLUG_PCI_ACPI
  EXTRA_CFLAGS  += -D_LINUX -I$(TOPDIR)/drivers/acpi
  ifdef CONFIG_ACPI_DEBUG
    EXTRA_CFLAGS += -DACPI_DEBUG_OUTPUT
  endif
endif

ifeq ($(CONFIG_HOTPLUG_PCI_COMPAQ_NVRAM),y)
	cpqphp-objs += cpqphp_nvram.o
endif


include $(TOPDIR)/Rules.make