aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ppc64/kernel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ppc64/kernel/Makefile')
-rw-r--r--arch/ppc64/kernel/Makefile41
1 files changed, 1 insertions, 40 deletions
diff --git a/arch/ppc64/kernel/Makefile b/arch/ppc64/kernel/Makefile
index dac4cc20fa93..e876c213f5ce 100644
--- a/arch/ppc64/kernel/Makefile
+++ b/arch/ppc64/kernel/Makefile
@@ -2,45 +2,6 @@
2# Makefile for the linux ppc64 kernel. 2# Makefile for the linux ppc64 kernel.
3# 3#
4 4
5ifneq ($(CONFIG_PPC_MERGE),y) 5obj-y += idle.o align.o
6
7EXTRA_CFLAGS += -mno-minimal-toc
8extra-y := head.o vmlinux.lds
9
10obj-y := misc.o prom.o
11
12endif
13
14obj-y += idle.o dma.o \
15 align.o \
16 rtc.o \
17 iommu.o
18
19pci-obj-$(CONFIG_PPC_MULTIPLATFORM) += pci_dn.o pci_direct_iommu.o
20
21obj-$(CONFIG_PCI) += pci.o pci_iommu.o iomap.o $(pci-obj-y)
22 6
23obj-$(CONFIG_PPC_MULTIPLATFORM) += nvram.o 7obj-$(CONFIG_PPC_MULTIPLATFORM) += nvram.o
24ifneq ($(CONFIG_PPC_MERGE),y)
25obj-$(CONFIG_PPC_MULTIPLATFORM) += prom_init.o
26endif
27
28obj-$(CONFIG_KEXEC) += machine_kexec.o
29obj-$(CONFIG_MODULES) += module.o
30ifneq ($(CONFIG_PPC_MERGE),y)
31obj-$(CONFIG_MODULES) += ppc_ksyms.o
32endif
33obj-$(CONFIG_HVC_CONSOLE) += hvconsole.o
34ifneq ($(CONFIG_PPC_MERGE),y)
35obj-$(CONFIG_BOOTX_TEXT) += btext.o
36endif
37obj-$(CONFIG_HVCS) += hvcserver.o
38
39obj-$(CONFIG_KPROBES) += kprobes.o
40
41ifneq ($(CONFIG_PPC_MERGE),y)
42ifeq ($(CONFIG_PPC_ISERIES),y)
43arch/ppc64/kernel/head.o: arch/powerpc/kernel/lparmap.s
44AFLAGS_head.o += -Iarch/powerpc/kernel
45endif
46endif