Makefile (2d4b3f37ded8998a362c8d0b4be02f583dd9a002) Makefile (4e491d14f2506b218d678935c25a7027b79178b1)
1#
2# Makefile for the linux kernel.
3#
4
5CFLAGS_ptrace.o += -DUTS_MACHINE='"$(UTS_MACHINE)"'
6
7ifeq ($(CONFIG_PPC64),y)
8CFLAGS_prom_init.o += -mno-minimal-toc
9endif
10ifeq ($(CONFIG_PPC32),y)
11CFLAGS_prom_init.o += -fPIC
12CFLAGS_btext.o += -fPIC
13endif
14
1#
2# Makefile for the linux kernel.
3#
4
5CFLAGS_ptrace.o += -DUTS_MACHINE='"$(UTS_MACHINE)"'
6
7ifeq ($(CONFIG_PPC64),y)
8CFLAGS_prom_init.o += -mno-minimal-toc
9endif
10ifeq ($(CONFIG_PPC32),y)
11CFLAGS_prom_init.o += -fPIC
12CFLAGS_btext.o += -fPIC
13endif
14
15ifdef CONFIG_FTRACE
16# Do not trace early boot code
17CFLAGS_REMOVE_cputable.o = -pg
18CFLAGS_REMOVE_prom_init.o = -pg
19
20ifdef CONFIG_DYNAMIC_FTRACE
21# dynamic ftrace setup.
22CFLAGS_REMOVE_ftrace.o = -pg
23endif
24
25endif
26
15obj-y := cputable.o ptrace.o syscalls.o \
16 irq.o align.o signal_32.o pmc.o vdso.o \
17 init_task.o process.o systbl.o idle.o \
18 signal.o
19obj-y += vdso32/
20obj-$(CONFIG_PPC64) += setup_64.o sys_ppc32.o \
21 signal_64.o ptrace32.o \
22 paca.o cpu_setup_ppc970.o \

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

73obj-$(CONFIG_PCI) += pci_$(CONFIG_WORD_SIZE).o $(pci64-y) \
74 pci-common.o
75obj-$(CONFIG_PCI_MSI) += msi.o
76obj-$(CONFIG_KEXEC) += machine_kexec.o crash.o \
77 machine_kexec_$(CONFIG_WORD_SIZE).o
78obj-$(CONFIG_AUDIT) += audit.o
79obj64-$(CONFIG_AUDIT) += compat_audit.o
80
27obj-y := cputable.o ptrace.o syscalls.o \
28 irq.o align.o signal_32.o pmc.o vdso.o \
29 init_task.o process.o systbl.o idle.o \
30 signal.o
31obj-y += vdso32/
32obj-$(CONFIG_PPC64) += setup_64.o sys_ppc32.o \
33 signal_64.o ptrace32.o \
34 paca.o cpu_setup_ppc970.o \

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

85obj-$(CONFIG_PCI) += pci_$(CONFIG_WORD_SIZE).o $(pci64-y) \
86 pci-common.o
87obj-$(CONFIG_PCI_MSI) += msi.o
88obj-$(CONFIG_KEXEC) += machine_kexec.o crash.o \
89 machine_kexec_$(CONFIG_WORD_SIZE).o
90obj-$(CONFIG_AUDIT) += audit.o
91obj64-$(CONFIG_AUDIT) += compat_audit.o
92
93obj-$(CONFIG_DYNAMIC_FTRACE) += ftrace.o
94
81obj-$(CONFIG_8XX_MINIMAL_FPEMU) += softemu8xx.o
82
83ifneq ($(CONFIG_PPC_INDIRECT_IO),y)
84obj-y += iomap.o
85endif
86
87else
88# stuff used from here for ARCH=ppc

--- 35 unchanged lines hidden ---
95obj-$(CONFIG_8XX_MINIMAL_FPEMU) += softemu8xx.o
96
97ifneq ($(CONFIG_PPC_INDIRECT_IO),y)
98obj-y += iomap.o
99endif
100
101else
102# stuff used from here for ARCH=ppc

--- 35 unchanged lines hidden ---