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 \
pciehp_pci.o \
pciehp_sysfs.o \
pciehp_hpc.o
ifdef CONFIG_HOTPLUG_PCI_PCIE
ifdef CONFIG_ACPI_BUS
ifdef CONFIG_ACPI_BUS
pciehp-objs += pciehprm_acpi.o
else
else
pciehp-objs += pciehprm_nonacpi.o
endif
endif
shpchp-objs := shpchp_core.o \
......@@ -64,15 +61,12 @@ shpchp-objs := shpchp_core.o \
shpchp_pci.o \
shpchp_sysfs.o \
shpchp_hpc.o
ifdef CONFIG_HOTPLUG_PCI_SHPC
ifdef CONFIG_ACPI_BUS
ifdef CONFIG_ACPI_BUS
shpchp-objs += shpchprm_acpi.o
else
else
ifdef CONFIG_HOTPLUG_PCI_SHPC_PHPRM_LEGACY
shpchp-objs += shpchprm_legacy.o
else
shpchp-objs += shpchprm_nonacpi.o
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