Makefile (8dc2a7e8027fbeca0c7df81d4c82e735a59b5741) | Makefile (a91a9ffbd3a55a0ae1bb75e2b6e85b2a03f64e8f) |
---|---|
1# SPDX-License-Identifier: GPL-2.0-only 2# 3# Makefile for the RISC-V Linux kernel 4# 5 6ifdef CONFIG_FTRACE 7CFLAGS_REMOVE_ftrace.o = $(CC_FLAGS_FTRACE) 8CFLAGS_REMOVE_patch.o = $(CC_FLAGS_FTRACE) --- 9 unchanged lines hidden (view full) --- 18# cmodel=medany and notrace when patching early 19ifdef CONFIG_RISCV_ALTERNATIVE_EARLY 20CFLAGS_alternative.o := -mcmodel=medany 21CFLAGS_cpufeature.o := -mcmodel=medany 22ifdef CONFIG_FTRACE 23CFLAGS_REMOVE_alternative.o = $(CC_FLAGS_FTRACE) 24CFLAGS_REMOVE_cpufeature.o = $(CC_FLAGS_FTRACE) 25endif | 1# SPDX-License-Identifier: GPL-2.0-only 2# 3# Makefile for the RISC-V Linux kernel 4# 5 6ifdef CONFIG_FTRACE 7CFLAGS_REMOVE_ftrace.o = $(CC_FLAGS_FTRACE) 8CFLAGS_REMOVE_patch.o = $(CC_FLAGS_FTRACE) --- 9 unchanged lines hidden (view full) --- 18# cmodel=medany and notrace when patching early 19ifdef CONFIG_RISCV_ALTERNATIVE_EARLY 20CFLAGS_alternative.o := -mcmodel=medany 21CFLAGS_cpufeature.o := -mcmodel=medany 22ifdef CONFIG_FTRACE 23CFLAGS_REMOVE_alternative.o = $(CC_FLAGS_FTRACE) 24CFLAGS_REMOVE_cpufeature.o = $(CC_FLAGS_FTRACE) 25endif |
26ifdef CONFIG_RELOCATABLE 27CFLAGS_alternative.o += -fno-pie 28CFLAGS_cpufeature.o += -fno-pie 29endif | |
30ifdef CONFIG_KASAN 31KASAN_SANITIZE_alternative.o := n 32KASAN_SANITIZE_cpufeature.o := n 33endif 34endif 35 36extra-y += vmlinux.lds 37 --- 53 unchanged lines hidden (view full) --- 91obj-$(CONFIG_JUMP_LABEL) += jump_label.o 92 93obj-$(CONFIG_EFI) += efi.o 94obj-$(CONFIG_COMPAT) += compat_syscall_table.o 95obj-$(CONFIG_COMPAT) += compat_signal.o 96obj-$(CONFIG_COMPAT) += compat_vdso/ 97 98obj-$(CONFIG_64BIT) += pi/ | 26ifdef CONFIG_KASAN 27KASAN_SANITIZE_alternative.o := n 28KASAN_SANITIZE_cpufeature.o := n 29endif 30endif 31 32extra-y += vmlinux.lds 33 --- 53 unchanged lines hidden (view full) --- 87obj-$(CONFIG_JUMP_LABEL) += jump_label.o 88 89obj-$(CONFIG_EFI) += efi.o 90obj-$(CONFIG_COMPAT) += compat_syscall_table.o 91obj-$(CONFIG_COMPAT) += compat_signal.o 92obj-$(CONFIG_COMPAT) += compat_vdso/ 93 94obj-$(CONFIG_64BIT) += pi/ |
95obj-$(CONFIG_ACPI) += acpi.o |
|