summaryrefslogtreecommitdiffstats
path: root/target/linux/mpc83xx/patches-2.6.36/005-kernel_Makefile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/mpc83xx/patches-2.6.36/005-kernel_Makefile.patch')
-rw-r--r--target/linux/mpc83xx/patches-2.6.36/005-kernel_Makefile.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/mpc83xx/patches-2.6.36/005-kernel_Makefile.patch b/target/linux/mpc83xx/patches-2.6.36/005-kernel_Makefile.patch
new file mode 100644
index 000000000..329aa5885
--- /dev/null
+++ b/target/linux/mpc83xx/patches-2.6.36/005-kernel_Makefile.patch
@@ -0,0 +1,14 @@
+--- a/arch/powerpc/kernel/Makefile
++++ b/arch/powerpc/kernel/Makefile
+@@ -116,9 +116,11 @@ obj-$(CONFIG_FSL_EMB_PERF_EVENT_E500) +=
+
+ 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)
+ obj-$(CONFIG_PPC32) += $(obj32-y)