Makefile (728d90bdc9e480dc93913e59a0aa3c896c7aa697) | Makefile (6266a4dadb1d0976490fdf5af4f7941e36f64e80) |
---|---|
1# SPDX-License-Identifier: GPL-2.0 2# 3# Makefile for the linux kernel. 4# 5 6CFLAGS_ptrace.o += -DUTS_MACHINE='"$(UTS_MACHINE)"' 7 8# Disable clang warning for using setjmp without setjmp.h header --- 8 unchanged lines hidden (view full) --- 17endif 18 19CFLAGS_cputable.o += $(DISABLE_LATENT_ENTROPY_PLUGIN) 20CFLAGS_prom_init.o += $(DISABLE_LATENT_ENTROPY_PLUGIN) 21CFLAGS_btext.o += $(DISABLE_LATENT_ENTROPY_PLUGIN) 22CFLAGS_prom.o += $(DISABLE_LATENT_ENTROPY_PLUGIN) 23 24CFLAGS_prom_init.o += $(call cc-option, -fno-stack-protector) | 1# SPDX-License-Identifier: GPL-2.0 2# 3# Makefile for the linux kernel. 4# 5 6CFLAGS_ptrace.o += -DUTS_MACHINE='"$(UTS_MACHINE)"' 7 8# Disable clang warning for using setjmp without setjmp.h header --- 8 unchanged lines hidden (view full) --- 17endif 18 19CFLAGS_cputable.o += $(DISABLE_LATENT_ENTROPY_PLUGIN) 20CFLAGS_prom_init.o += $(DISABLE_LATENT_ENTROPY_PLUGIN) 21CFLAGS_btext.o += $(DISABLE_LATENT_ENTROPY_PLUGIN) 22CFLAGS_prom.o += $(DISABLE_LATENT_ENTROPY_PLUGIN) 23 24CFLAGS_prom_init.o += $(call cc-option, -fno-stack-protector) |
25CFLAGS_prom_init.o += -DDISABLE_BRANCH_PROFILING |
|
25 26ifdef CONFIG_FUNCTION_TRACER 27# Do not trace early boot code 28CFLAGS_REMOVE_cputable.o = $(CC_FLAGS_FTRACE) 29CFLAGS_REMOVE_prom_init.o = $(CC_FLAGS_FTRACE) 30CFLAGS_REMOVE_btext.o = $(CC_FLAGS_FTRACE) 31CFLAGS_REMOVE_prom.o = $(CC_FLAGS_FTRACE) 32endif 33 34KASAN_SANITIZE_early_32.o := n 35KASAN_SANITIZE_cputable.o := n 36KASAN_SANITIZE_prom_init.o := n 37KASAN_SANITIZE_btext.o := n 38 39ifdef CONFIG_KASAN 40CFLAGS_early_32.o += -DDISABLE_BRANCH_PROFILING 41CFLAGS_cputable.o += -DDISABLE_BRANCH_PROFILING | 26 27ifdef CONFIG_FUNCTION_TRACER 28# Do not trace early boot code 29CFLAGS_REMOVE_cputable.o = $(CC_FLAGS_FTRACE) 30CFLAGS_REMOVE_prom_init.o = $(CC_FLAGS_FTRACE) 31CFLAGS_REMOVE_btext.o = $(CC_FLAGS_FTRACE) 32CFLAGS_REMOVE_prom.o = $(CC_FLAGS_FTRACE) 33endif 34 35KASAN_SANITIZE_early_32.o := n 36KASAN_SANITIZE_cputable.o := n 37KASAN_SANITIZE_prom_init.o := n 38KASAN_SANITIZE_btext.o := n 39 40ifdef CONFIG_KASAN 41CFLAGS_early_32.o += -DDISABLE_BRANCH_PROFILING 42CFLAGS_cputable.o += -DDISABLE_BRANCH_PROFILING |
42CFLAGS_prom_init.o += -DDISABLE_BRANCH_PROFILING | |
43CFLAGS_btext.o += -DDISABLE_BRANCH_PROFILING 44endif 45 46obj-y := cputable.o ptrace.o syscalls.o \ 47 irq.o align.o signal_32.o pmc.o vdso.o \ 48 process.o systbl.o idle.o \ 49 signal.o sysfs.o cacheinfo.o time.o \ 50 prom.o traps.o setup-common.o \ --- 22 unchanged lines hidden (view full) --- 73obj-$(CONFIG_PPC_RTAS_DAEMON) += rtasd.o 74obj-$(CONFIG_RTAS_FLASH) += rtas_flash.o 75obj-$(CONFIG_RTAS_PROC) += rtas-proc.o 76obj-$(CONFIG_PPC_DT_CPU_FTRS) += dt_cpu_ftrs.o 77obj-$(CONFIG_EEH) += eeh.o eeh_pe.o eeh_dev.o eeh_cache.o \ 78 eeh_driver.o eeh_event.o eeh_sysfs.o 79obj-$(CONFIG_GENERIC_TBSYNC) += smp-tbsync.o 80obj-$(CONFIG_CRASH_DUMP) += crash_dump.o | 43CFLAGS_btext.o += -DDISABLE_BRANCH_PROFILING 44endif 45 46obj-y := cputable.o ptrace.o syscalls.o \ 47 irq.o align.o signal_32.o pmc.o vdso.o \ 48 process.o systbl.o idle.o \ 49 signal.o sysfs.o cacheinfo.o time.o \ 50 prom.o traps.o setup-common.o \ --- 22 unchanged lines hidden (view full) --- 73obj-$(CONFIG_PPC_RTAS_DAEMON) += rtasd.o 74obj-$(CONFIG_RTAS_FLASH) += rtas_flash.o 75obj-$(CONFIG_RTAS_PROC) += rtas-proc.o 76obj-$(CONFIG_PPC_DT_CPU_FTRS) += dt_cpu_ftrs.o 77obj-$(CONFIG_EEH) += eeh.o eeh_pe.o eeh_dev.o eeh_cache.o \ 78 eeh_driver.o eeh_event.o eeh_sysfs.o 79obj-$(CONFIG_GENERIC_TBSYNC) += smp-tbsync.o 80obj-$(CONFIG_CRASH_DUMP) += crash_dump.o |
81ifneq ($(CONFIG_FA_DUMP)$(CONFIG_PRESERVE_FA_DUMP),) 82obj-y += fadump.o 83endif | 81obj-$(CONFIG_FA_DUMP) += fadump.o 82obj-$(CONFIG_PRESERVE_FA_DUMP) += fadump.o |
84ifdef CONFIG_PPC32 85obj-$(CONFIG_E500) += idle_e500.o 86endif 87obj-$(CONFIG_PPC_BOOK3S_32) += idle_6xx.o l2cr_6xx.o cpu_setup_6xx.o 88obj-$(CONFIG_TAU) += tau_6xx.o 89obj-$(CONFIG_HIBERNATION) += swsusp.o suspend.o 90ifdef CONFIG_FSL_BOOKE 91obj-$(CONFIG_HIBERNATION) += swsusp_booke.o --- 110 unchanged lines hidden --- | 83ifdef CONFIG_PPC32 84obj-$(CONFIG_E500) += idle_e500.o 85endif 86obj-$(CONFIG_PPC_BOOK3S_32) += idle_6xx.o l2cr_6xx.o cpu_setup_6xx.o 87obj-$(CONFIG_TAU) += tau_6xx.o 88obj-$(CONFIG_HIBERNATION) += swsusp.o suspend.o 89ifdef CONFIG_FSL_BOOKE 90obj-$(CONFIG_HIBERNATION) += swsusp_booke.o --- 110 unchanged lines hidden --- |