summaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel/Makefile
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2014-08-20 08:00:05 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2014-09-25 23:14:40 +1000
commit5144b6bfe25fda7c51f6f9d8d79cf0fe61df5c28 (patch)
tree106dd73d74fa3ba6305eb6460a1bb7bff55d082f /arch/powerpc/kernel/Makefile
parent7b20a955c3eec58e87f3d32cc1438eab6447ff4c (diff)
downloadlwn-5144b6bfe25fda7c51f6f9d8d79cf0fe61df5c28.tar.gz
lwn-5144b6bfe25fda7c51f6f9d8d79cf0fe61df5c28.zip
powerpc: Separate ppc32 symbol exports into ppc_ksyms_32.c
Simplify things considerably by moving all the ppc32 specific symbol exports into its own file. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/Makefile')
-rw-r--r--arch/powerpc/kernel/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/Makefile b/arch/powerpc/kernel/Makefile
index 670c312d914e..502cf69b6c89 100644
--- a/arch/powerpc/kernel/Makefile
+++ b/arch/powerpc/kernel/Makefile
@@ -93,6 +93,9 @@ obj-$(CONFIG_PPC32) += entry_32.o setup_32.o
obj-$(CONFIG_PPC64) += dma-iommu.o iommu.o
obj-$(CONFIG_KGDB) += kgdb.o
obj-$(CONFIG_MODULES) += ppc_ksyms.o
+ifeq ($(CONFIG_PPC32),y)
+obj-$(CONFIG_MODULES) += ppc_ksyms_32.o
+endif
obj-$(CONFIG_BOOTX_TEXT) += btext.o
obj-$(CONFIG_SMP) += smp.o
obj-$(CONFIG_KPROBES) += kprobes.o