Makefile (3136254ca5dfaf53486f7032c674f9b6d7fd1d53) Makefile (7568cb4ef6c507164b65b01f972a3bd026898ae1)
1#
2# Makefile for the linux kernel.
3#
4
5ifeq ($(CONFIG_PPC64),y)
6EXTRA_CFLAGS += -mno-minimal-toc
7CFLAGS_ioctl32.o += -Ifs/
8endif

--- 35 unchanged lines hidden (view full) ---

44extra-$(CONFIG_44x) := head_44x.o
45extra-$(CONFIG_FSL_BOOKE) := head_fsl_booke.o
46extra-$(CONFIG_8xx) := head_8xx.o
47extra-y += vmlinux.lds
48
49obj-y += process.o init_task.o time.o \
50 prom.o traps.o setup-common.o
51obj-$(CONFIG_PPC32) += entry_32.o setup_32.o misc_32.o systbl.o
1#
2# Makefile for the linux kernel.
3#
4
5ifeq ($(CONFIG_PPC64),y)
6EXTRA_CFLAGS += -mno-minimal-toc
7CFLAGS_ioctl32.o += -Ifs/
8endif

--- 35 unchanged lines hidden (view full) ---

44extra-$(CONFIG_44x) := head_44x.o
45extra-$(CONFIG_FSL_BOOKE) := head_fsl_booke.o
46extra-$(CONFIG_8xx) := head_8xx.o
47extra-y += vmlinux.lds
48
49obj-y += process.o init_task.o time.o \
50 prom.o traps.o setup-common.o
51obj-$(CONFIG_PPC32) += entry_32.o setup_32.o misc_32.o systbl.o
52obj-$(CONFIG_PPC64) += misc_64.o
52obj-$(CONFIG_PPC64) += misc_64.o dma_64.o iommu.o
53obj-$(CONFIG_PPC_OF) += prom_init.o
54obj-$(CONFIG_MODULES) += ppc_ksyms.o
55obj-$(CONFIG_BOOTX_TEXT) += btext.o
56obj-$(CONFIG_6xx) += idle_6xx.o
57obj-$(CONFIG_SMP) += smp.o
53obj-$(CONFIG_PPC_OF) += prom_init.o
54obj-$(CONFIG_MODULES) += ppc_ksyms.o
55obj-$(CONFIG_BOOTX_TEXT) += btext.o
56obj-$(CONFIG_6xx) += idle_6xx.o
57obj-$(CONFIG_SMP) += smp.o
58obj-$(CONFIG_KPROBES) += kprobes.o
58
59
60module-$(CONFIG_PPC64) += module_64.o
61obj-$(CONFIG_MODULES) += $(module-y)
62
63pci64-$(CONFIG_PPC64) += pci_64.o pci_dn.o pci_iommu.o \
64 pci_direct_iommu.o iomap.o
65obj-$(CONFIG_PCI) += $(pci64-y)
66
67kexec64-$(CONFIG_PPC64) += machine_kexec_64.o
68obj-$(CONFIG_KEXEC) += $(kexec64-y)
69
59ifeq ($(CONFIG_PPC_ISERIES),y)
60$(obj)/head_64.o: $(obj)/lparmap.s
61AFLAGS_head_64.o += -I$(obj)
62endif
63
64else
70ifeq ($(CONFIG_PPC_ISERIES),y)
71$(obj)/head_64.o: $(obj)/lparmap.s
72AFLAGS_head_64.o += -I$(obj)
73endif
74
75else
65# stuff used from here for ARCH=ppc or ARCH=ppc64
76# stuff used from here for ARCH=ppc
66smpobj-$(CONFIG_SMP) += smp.o
77smpobj-$(CONFIG_SMP) += smp.o
67obj-$(CONFIG_PPC64) += traps.o process.o init_task.o time.o \
68 setup-common.o $(smpobj-y)
69
78
70
71endif
72
73extra-$(CONFIG_PPC_FPU) += fpu.o
74extra-$(CONFIG_PPC64) += entry_64.o
79endif
80
81extra-$(CONFIG_PPC_FPU) += fpu.o
82extra-$(CONFIG_PPC64) += entry_64.o