Commit 5ad6b7ad authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

PCI Hotplug: clean up the Makefile a bit more.

parent c7ee6396
...@@ -50,13 +50,10 @@ pciehp-objs := pciehp_core.o \ ...@@ -50,13 +50,10 @@ pciehp-objs := pciehp_core.o \
pciehp_pci.o \ pciehp_pci.o \
pciehp_sysfs.o \ pciehp_sysfs.o \
pciehp_hpc.o pciehp_hpc.o
ifdef CONFIG_ACPI_BUS
ifdef CONFIG_HOTPLUG_PCI_PCIE pciehp-objs += pciehprm_acpi.o
ifdef CONFIG_ACPI_BUS else
pciehp-objs += pciehprm_acpi.o pciehp-objs += pciehprm_nonacpi.o
else
pciehp-objs += pciehprm_nonacpi.o
endif
endif endif
shpchp-objs := shpchp_core.o \ shpchp-objs := shpchp_core.o \
...@@ -64,15 +61,12 @@ shpchp-objs := shpchp_core.o \ ...@@ -64,15 +61,12 @@ shpchp-objs := shpchp_core.o \
shpchp_pci.o \ shpchp_pci.o \
shpchp_sysfs.o \ shpchp_sysfs.o \
shpchp_hpc.o shpchp_hpc.o
ifdef CONFIG_ACPI_BUS
ifdef CONFIG_HOTPLUG_PCI_SHPC shpchp-objs += shpchprm_acpi.o
ifdef CONFIG_ACPI_BUS else
shpchp-objs += shpchprm_acpi.o ifdef CONFIG_HOTPLUG_PCI_SHPC_PHPRM_LEGACY
else shpchp-objs += shpchprm_legacy.o
ifdef CONFIG_HOTPLUG_PCI_SHPC_PHPRM_LEGACY else
shpchp-objs += shpchprm_legacy.o shpchp-objs += shpchprm_nonacpi.o
else endif
shpchp-objs += shpchprm_nonacpi.o
endif
endif
endif endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment