diff options
author | Milan Svoboda <msvoboda@ra.rockwell.com> | 2006-06-25 17:12:12 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-06-25 17:12:12 -0400 |
commit | 689391210a4a8a1bf35119f87c51b3e01ef549e6 (patch) | |
tree | b53e15b38b89412f3722df766d32dd94f991e9eb /arch/arm/mach-ixp4xx/Makefile | |
parent | 801194e3bcf7cde163b23c6279c559e69cb4ca57 (diff) |
[ARM] 3612/1: make pci bus optional for ixp4xx platform
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>
Diffstat (limited to 'arch/arm/mach-ixp4xx/Makefile')
-rw-r--r-- | arch/arm/mach-ixp4xx/Makefile | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/arch/arm/mach-ixp4xx/Makefile b/arch/arm/mach-ixp4xx/Makefile index 5a4aaa0e0a09..640315d8b96a 100644 --- a/arch/arm/mach-ixp4xx/Makefile +++ b/arch/arm/mach-ixp4xx/Makefile | |||
@@ -2,13 +2,23 @@ | |||
2 | # Makefile for the linux kernel. | 2 | # Makefile for the linux kernel. |
3 | # | 3 | # |
4 | 4 | ||
5 | obj-pci-y := | ||
6 | obj-pci-n := | ||
7 | |||
8 | obj-pci-$(CONFIG_ARCH_IXDP4XX) += ixdp425-pci.o | ||
9 | obj-pci-$(CONFIG_MACH_IXDPG425) += ixdpg425-pci.o | ||
10 | obj-pci-$(CONFIG_ARCH_ADI_COYOTE) += coyote-pci.o | ||
11 | obj-pci-$(CONFIG_MACH_GTWX5715) += gtwx5715-pci.o | ||
12 | obj-pci-$(CONFIG_MACH_NSLU2) += nslu2-pci.o | ||
13 | obj-pci-$(CONFIG_MACH_NAS100D) += nas100d-pci.o | ||
14 | |||
5 | obj-y += common.o | 15 | obj-y += common.o |
6 | 16 | ||
7 | obj-$(CONFIG_PCI) += common-pci.o | 17 | obj-$(CONFIG_ARCH_IXDP4XX) += ixdp425-setup.o |
8 | obj-$(CONFIG_ARCH_IXDP4XX) += ixdp425-pci.o ixdp425-setup.o | 18 | obj-$(CONFIG_MACH_IXDPG425) += coyote-setup.o |
9 | obj-$(CONFIG_MACH_IXDPG425) += ixdpg425-pci.o coyote-setup.o | 19 | obj-$(CONFIG_ARCH_ADI_COYOTE) += coyote-setup.o |
10 | obj-$(CONFIG_ARCH_ADI_COYOTE) += coyote-pci.o coyote-setup.o | 20 | obj-$(CONFIG_MACH_GTWX5715) += gtwx5715-setup.o |
11 | obj-$(CONFIG_MACH_GTWX5715) += gtwx5715-pci.o gtwx5715-setup.o | 21 | obj-$(CONFIG_MACH_NSLU2) += nslu2-setup.o nslu2-power.o |
12 | obj-$(CONFIG_MACH_NSLU2) += nslu2-pci.o nslu2-setup.o nslu2-power.o | 22 | obj-$(CONFIG_MACH_NAS100D) += nas100d-setup.o nas100d-power.o |
13 | obj-$(CONFIG_MACH_NAS100D) += nas100d-pci.o nas100d-setup.o nas100d-power.o | ||
14 | 23 | ||
24 | obj-$(CONFIG_PCI) += $(obj-pci-$(CONFIG_PCI)) common-pci.o | ||