Makefile (c9f289701540baeef9ac7c9977d67a7259f404db) Makefile (0a7601b6ffddec11d7cc0bc3264daf0159f5e1a6)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for the linux kernel.
4#
5
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for the linux kernel.
4#
5
6CFLAGS_ptrace.o += -DUTS_MACHINE='"$(UTS_MACHINE)"'
7
8ifdef CONFIG_PPC64
9CFLAGS_prom_init.o += $(NO_MINIMAL_TOC)
10endif
11ifdef CONFIG_PPC32
12CFLAGS_prom_init.o += -fPIC
13CFLAGS_btext.o += -fPIC
14endif
15

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

36KASAN_SANITIZE_btext.o := n
37
38ifdef CONFIG_KASAN
39CFLAGS_early_32.o += -DDISABLE_BRANCH_PROFILING
40CFLAGS_cputable.o += -DDISABLE_BRANCH_PROFILING
41CFLAGS_btext.o += -DDISABLE_BRANCH_PROFILING
42endif
43
6ifdef CONFIG_PPC64
7CFLAGS_prom_init.o += $(NO_MINIMAL_TOC)
8endif
9ifdef CONFIG_PPC32
10CFLAGS_prom_init.o += -fPIC
11CFLAGS_btext.o += -fPIC
12endif
13

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

34KASAN_SANITIZE_btext.o := n
35
36ifdef CONFIG_KASAN
37CFLAGS_early_32.o += -DDISABLE_BRANCH_PROFILING
38CFLAGS_cputable.o += -DDISABLE_BRANCH_PROFILING
39CFLAGS_btext.o += -DDISABLE_BRANCH_PROFILING
40endif
41
44obj-y := cputable.o ptrace.o syscalls.o \
45 irq.o align.o signal_32.o pmc.o vdso.o \
42obj-y := cputable.o syscalls.o \
43 irq.o align.o signal_$(BITS).o pmc.o vdso.o \
46 process.o systbl.o idle.o \
47 signal.o sysfs.o cacheinfo.o time.o \
48 prom.o traps.o setup-common.o \
49 udbg.o misc.o io.o misc_$(BITS).o \
50 of_platform.o prom_parse.o
44 process.o systbl.o idle.o \
45 signal.o sysfs.o cacheinfo.o time.o \
46 prom.o traps.o setup-common.o \
47 udbg.o misc.o io.o misc_$(BITS).o \
48 of_platform.o prom_parse.o
51obj-$(CONFIG_PPC64) += setup_64.o sys_ppc32.o \
52 signal_64.o ptrace32.o \
53 paca.o nvram_64.o firmware.o note.o
49obj-y += ptrace/
50obj-$(CONFIG_PPC64) += setup_64.o \
51 paca.o nvram_64.o firmware.o note.o \
52 syscall_64.o
53obj-$(CONFIG_COMPAT) += sys_ppc32.o signal_32.o
54obj-$(CONFIG_VDSO32) += vdso32/
55obj-$(CONFIG_PPC_WATCHDOG) += watchdog.o
56obj-$(CONFIG_HAVE_HW_BREAKPOINT) += hw_breakpoint.o
57obj-$(CONFIG_PPC_DAWR) += dawr.o
58obj-$(CONFIG_PPC_BOOK3S_64) += cpu_setup_ppc970.o cpu_setup_pa6t.o
59obj-$(CONFIG_PPC_BOOK3S_64) += cpu_setup_power.o
60obj-$(CONFIG_PPC_BOOK3S_64) += mce.o mce_power.o
61obj-$(CONFIG_PPC_BOOK3E_64) += exceptions-64e.o idle_book3e.o

--- 125 unchanged lines hidden ---
54obj-$(CONFIG_VDSO32) += vdso32/
55obj-$(CONFIG_PPC_WATCHDOG) += watchdog.o
56obj-$(CONFIG_HAVE_HW_BREAKPOINT) += hw_breakpoint.o
57obj-$(CONFIG_PPC_DAWR) += dawr.o
58obj-$(CONFIG_PPC_BOOK3S_64) += cpu_setup_ppc970.o cpu_setup_pa6t.o
59obj-$(CONFIG_PPC_BOOK3S_64) += cpu_setup_power.o
60obj-$(CONFIG_PPC_BOOK3S_64) += mce.o mce_power.o
61obj-$(CONFIG_PPC_BOOK3E_64) += exceptions-64e.o idle_book3e.o

--- 125 unchanged lines hidden ---