summaryrefslogtreecommitdiffstats
path: root/target/linux/mpc83xx/patches-2.6.33/005-kernel_Makefile.patch
blob: 392f62a84125b84120139bd07a54da11098c5bb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/arch/powerpc/kernel/Makefile	
+++ b/arch/powerpc/kernel/Makefile	
@@ -97,9 +97,11 @@ obj-$(CONFIG_FUNCTION_GRAPH_TRACER)	+= f
 
 obj-$(CONFIG_8XX_MINIMAL_FPEMU) += softemu8xx.o
 
+ifneq ($(CONFIG_RB_IOMAP),y)
 ifneq ($(CONFIG_PPC_INDIRECT_IO),y)
 obj-y				+= iomap.o
 endif
+endif
 
 obj-$(CONFIG_PPC64)		+= $(obj64-y)