#
# Makefile for the Linux kernel hotplug controller drivers.
#

O_TARGET	:= vmlinux-obj.o

list-multi	:= cpqphpd.o

export-objs	:= hotplug_pci.o

obj-$(CONFIG_HOTPLUG_PCI)		+= hotplug_pci.o


obj-$(CONFIG_HOTPLUG_PCI_COMPAQ)	+= cpqphpd.o

cpqphpd-objs :=	ctrl.o		\
		ctrl_proc.o	\
		cpqphp.o	\
		pci.o		\
		proc.o

ifeq ($(CONFIG_HOTPLUG_PCI_COMPAQ_NVRAM),y)
	cpqphpd-objs += compaq_nvram.o
endif


include $(TOPDIR)/Rules.make

cpqphpd.o: $(cpqphpd-objs)
	$(LD) -r -o $@ $(cpqphpd-objs)

