mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-25 05:34:00 +08:00
570977a1fc
The dc21285.c source file cannot be built when CONFIG_PCI is disabled, because it calls a number of PCI core interfaces. This changes the Makefile so we don't include this file in the build if CONFIG_PCI is disabled. No other code references anything defined inside of this file in this case. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Cc: Russell King <linux@arm.linux.org.uk>
26 lines
636 B
Makefile
26 lines
636 B
Makefile
#
|
|
# Makefile for the linux kernel.
|
|
#
|
|
|
|
# Object file lists.
|
|
|
|
obj-y := common.o dma.o isa-irq.o
|
|
obj-m :=
|
|
obj-n :=
|
|
obj- :=
|
|
|
|
pci-y += dc21285.o
|
|
pci-$(CONFIG_ARCH_CATS) += cats-pci.o
|
|
pci-$(CONFIG_ARCH_EBSA285_HOST) += ebsa285-pci.o
|
|
pci-$(CONFIG_ARCH_NETWINDER) += netwinder-pci.o
|
|
pci-$(CONFIG_ARCH_PERSONAL_SERVER) += personal-pci.o
|
|
|
|
obj-$(CONFIG_ARCH_CATS) += cats-hw.o isa-timer.o
|
|
obj-$(CONFIG_ARCH_EBSA285) += ebsa285.o dc21285-timer.o
|
|
obj-$(CONFIG_ARCH_NETWINDER) += netwinder-hw.o isa-timer.o
|
|
obj-$(CONFIG_ARCH_PERSONAL_SERVER) += personal.o dc21285-timer.o
|
|
|
|
obj-$(CONFIG_PCI) +=$(pci-y)
|
|
|
|
obj-$(CONFIG_ISA) += isa.o isa-rtc.o
|