1 --- a/arch/powerpc/kernel/Makefile
2 +++ b/arch/powerpc/kernel/Makefile
3 @@ -97,9 +97,11 @@ obj-$(CONFIG_FUNCTION_GRAPH_TRACER) += f
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)