1 --- a/arch/powerpc/kernel/Makefile
2 +++ b/arch/powerpc/kernel/Makefile
3 @@ -105,9 +105,11 @@ obj32-$(CONFIG_PPC_PERF_CTRS) += mpc7450
5 obj-$(CONFIG_8XX_MINIMAL_FPEMU) += softemu8xx.o
7 +ifneq ($(CONFIG_RB_IOMAP),y)
8 ifneq ($(CONFIG_PPC_INDIRECT_IO),y)
13 obj-$(CONFIG_PPC64) += $(obj64-y)
14 obj-$(CONFIG_PPC32) += $(obj32-y)