Re: [PATCH 4/6] [POWERPC] allow pSeries to build without CONFIG_PCI
From: Arnd Bergmann <arnd@arndb.de>
Date: 2007-03-04 14:06:53
On Sunday 04 March 2007 07:04:44 Stephen Rothwell wrote:
=A0config PCI =A0=A0=A0=A0=A0=A0=A0=A0bool "PCI support" if 40x || CPM2 || PPC_83xx || =
PPC_85xx || PPC_86xx \=20
-=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0|| PPC_MPC52xx || (EMBEDDED=
&& PPC_ISERIES) || MPC7448HPC2 || PPC_PS3=20
+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0|| PPC_MPC52xx || (EMBEDDED=
&& (PPC_PSERIES || PPC_ISERIES)) \=20
+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0|| MPC7448HPC2 || PPC_PS3=20
This may be a dumb question, but system would you want to run a pSeries kernel without PCI on? Is this just for build tests, or is there an actual application for this?
procfs-$(CONFIG_PPC64) :=3D proc_ppc64.o obj-$(CONFIG_PROC_FS) +=3D $(procfs-y) -rtaspci-$(CONFIG_PPC64) :=3D rtas_pci.o -obj-$(CONFIG_PPC_RTAS) +=3D rtas.o rtas-rtc.o $(rtaspci-y) +rtaspci-$(CONFIG_PPC64)-$(CONFIG_PCI) :=3D rtas_pci.o +obj-$(CONFIG_PPC_RTAS) +=3D rtas.o rtas-rtc.o $(rtaspci-y-y) obj-$(CONFIG_RTAS_FLASH) +=3D rtas_flash.o obj-$(CONFIG_RTAS_PROC) +=3D rtas-proc.o
The double -y suffix always confuses me. Do you mind turning this into a Kconfig symbol instead? config RTAS_PCI default y depends on PCI && PPC64 && PPC_RTAS obj-$(CONFIG_RTAS_PCI) +=3D rtas_pci.o Arnd <><