![Milan Svoboda](/assets/img/avatar_default.png)
Patch from Milan Svoboda IXP4XX platform can happily live without pci bus. This patch modifies Kconfig to support this option and modifies Makefile so pci only files are compiled only when pci is really selected. Patch is tested and ixdp465 runs fine with or without the pci bus.-- Signed-off-by: Milan Svoboda <msvoboda@ra.rockwell.com>Signed-off-by: Deepak Saxena <dsaxena@plexity.net>Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
25 lines
747 B
Makefile
25 lines
747 B
Makefile
#
|
|
# Makefile for the linux kernel.
|
|
#
|
|
|
|
obj-pci-y :=
|
|
obj-pci-n :=
|
|
|
|
obj-pci-$(CONFIG_ARCH_IXDP4XX) += ixdp425-pci.o
|
|
obj-pci-$(CONFIG_MACH_IXDPG425) += ixdpg425-pci.o
|
|
obj-pci-$(CONFIG_ARCH_ADI_COYOTE) += coyote-pci.o
|
|
obj-pci-$(CONFIG_MACH_GTWX5715) += gtwx5715-pci.o
|
|
obj-pci-$(CONFIG_MACH_NSLU2) += nslu2-pci.o
|
|
obj-pci-$(CONFIG_MACH_NAS100D) += nas100d-pci.o
|
|
|
|
obj-y += common.o
|
|
|
|
obj-$(CONFIG_ARCH_IXDP4XX) += ixdp425-setup.o
|
|
obj-$(CONFIG_MACH_IXDPG425) += coyote-setup.o
|
|
obj-$(CONFIG_ARCH_ADI_COYOTE) += coyote-setup.o
|
|
obj-$(CONFIG_MACH_GTWX5715) += gtwx5715-setup.o
|
|
obj-$(CONFIG_MACH_NSLU2) += nslu2-setup.o nslu2-power.o
|
|
obj-$(CONFIG_MACH_NAS100D) += nas100d-setup.o nas100d-power.o
|
|
|
|
obj-$(CONFIG_PCI) += $(obj-pci-$(CONFIG_PCI)) common-pci.o
|