patch-2.4.27 linux-2.4.27/drivers/hotplug/Makefile
Next file: linux-2.4.27/drivers/hotplug/acpiphp.h
Previous file: linux-2.4.27/drivers/hotplug/Config.in
Back to the patch index
Back to the overall index
- Lines: 67
- Date:
2004-08-07 16:26:04.734350065 -0700
- Orig file:
linux-2.4.26/drivers/hotplug/Makefile
- Orig date:
2003-08-25 04:44:41.000000000 -0700
diff -urN linux-2.4.26/drivers/hotplug/Makefile linux-2.4.27/drivers/hotplug/Makefile
@@ -4,7 +4,7 @@
O_TARGET := vmlinux-obj.o
-list-multi := cpqphp.o pci_hotplug.o ibmphp.o acpiphp.o
+list-multi := cpqphp.o pci_hotplug.o ibmphp.o acpiphp.o shpchp.o pciehp.o
export-objs := pci_hotplug_core.o pci_hotplug_util.o
@@ -12,6 +12,8 @@
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_SHPC) += shpchp.o
+obj-$(CONFIG_HOTPLUG_PCI_PCIE) += pciehp.o
pci_hotplug-objs := pci_hotplug_core.o \
pci_hotplug_util.o
@@ -32,11 +34,36 @@
acpiphp_pci.o \
acpiphp_res.o
+pciehp-objs := pciehp_core.o \
+ pciehp_ctrl.o \
+ pciehp_hpc.o \
+ pciehp_pci.o
+ifdef CONFIG_ACPI_INTERPRETER
+ pciehp-objs += pciehprm_acpi.o
+else
+ pciehp-objs += pciehprm_nonacpi.o
+ EXTRA_CFLAGS += -D_LINUX -I$(TOPDIR)/drivers/acpi
+endif
+
+shpchp-objs := shpchp_core.o \
+ shpchp_ctrl.o \
+ shpchp_hpc.o \
+ shpchp_pci.o
+ifdef CONFIG_ACPI_INTERPRETER
+ shpchp-objs += shpchprm_acpi.o
+ EXTRA_CFLAGS += -D_LINUX -I$(TOPDIR)/drivers/acpi
+else
+ ifdef CONFIG_HOTPLUG_PCI_SHPC_PHPRM_LEGACY
+ shpchp-objs += shpchprm_legacy.o
+ else
+ shpchp-objs += shpchprm_nonacpi.o
+ endif
+endif
+
ifeq ($(CONFIG_HOTPLUG_PCI_COMPAQ_NVRAM),y)
cpqphp-objs += cpqphp_nvram.o
endif
-
include $(TOPDIR)/Rules.make
pci_hotplug.o: $(pci_hotplug-objs)
@@ -50,3 +77,10 @@
acpiphp.o: $(acpiphp_objs)
$(LD) -r -o $@ $(acpiphp_objs)
+
+pciehp.o: $(pciehp-objs)
+ $(LD) -r -o $@ $(pciehp-objs)
+
+shpchp.o: $(shpchp-objs)
+ $(LD) -r -o $@ $(shpchp-objs)
+
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)