Makefile (cdd5b5a9761fd66d17586e4f4ba6588c70e640ea) Makefile (af71bc194916b10f9b394f9b14419d99700a5e67)
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)

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

33endif
34endif
35
36extra-y += vmlinux.lds
37
38obj-y += head.o
39obj-y += soc.o
40obj-$(CONFIG_RISCV_ALTERNATIVE) += alternative.o
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)

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

33endif
34endif
35
36extra-y += vmlinux.lds
37
38obj-y += head.o
39obj-y += soc.o
40obj-$(CONFIG_RISCV_ALTERNATIVE) += alternative.o
41obj-y += copy-unaligned.o
41obj-y += cpu.o
42obj-y += cpufeature.o
43obj-y += entry.o
44obj-y += irq.o
45obj-y += process.o
46obj-y += ptrace.o
47obj-y += reset.o
48obj-y += setup.o
49obj-y += signal.o
50obj-y += syscall_table.o
51obj-y += sys_riscv.o
52obj-y += time.o
53obj-y += traps.o
54obj-y += riscv_ksyms.o
55obj-y += stacktrace.o
56obj-y += cacheinfo.o
57obj-y += patch.o
58obj-y += probes/
42obj-y += cpu.o
43obj-y += cpufeature.o
44obj-y += entry.o
45obj-y += irq.o
46obj-y += process.o
47obj-y += ptrace.o
48obj-y += reset.o
49obj-y += setup.o
50obj-y += signal.o
51obj-y += syscall_table.o
52obj-y += sys_riscv.o
53obj-y += time.o
54obj-y += traps.o
55obj-y += riscv_ksyms.o
56obj-y += stacktrace.o
57obj-y += cacheinfo.o
58obj-y += patch.o
59obj-y += probes/
60obj-y += tests/
59obj-$(CONFIG_MMU) += vdso.o vdso/
60
61obj-$(CONFIG_RISCV_M_MODE) += traps_misaligned.o
62obj-$(CONFIG_FPU) += fpu.o
63obj-$(CONFIG_RISCV_ISA_V) += vector.o
64obj-$(CONFIG_SMP) += smpboot.o
65obj-$(CONFIG_SMP) += smp.o
66obj-$(CONFIG_SMP) += cpu_ops.o

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

86obj-$(CONFIG_KGDB) += kgdb.o
87obj-$(CONFIG_KEXEC_CORE) += kexec_relocate.o crash_save_regs.o machine_kexec.o
88obj-$(CONFIG_KEXEC_FILE) += elf_kexec.o machine_kexec_file.o
89obj-$(CONFIG_CRASH_DUMP) += crash_dump.o
90obj-$(CONFIG_CRASH_CORE) += crash_core.o
91
92obj-$(CONFIG_JUMP_LABEL) += jump_label.o
93
61obj-$(CONFIG_MMU) += vdso.o vdso/
62
63obj-$(CONFIG_RISCV_M_MODE) += traps_misaligned.o
64obj-$(CONFIG_FPU) += fpu.o
65obj-$(CONFIG_RISCV_ISA_V) += vector.o
66obj-$(CONFIG_SMP) += smpboot.o
67obj-$(CONFIG_SMP) += smp.o
68obj-$(CONFIG_SMP) += cpu_ops.o

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

88obj-$(CONFIG_KGDB) += kgdb.o
89obj-$(CONFIG_KEXEC_CORE) += kexec_relocate.o crash_save_regs.o machine_kexec.o
90obj-$(CONFIG_KEXEC_FILE) += elf_kexec.o machine_kexec_file.o
91obj-$(CONFIG_CRASH_DUMP) += crash_dump.o
92obj-$(CONFIG_CRASH_CORE) += crash_core.o
93
94obj-$(CONFIG_JUMP_LABEL) += jump_label.o
95
96obj-$(CONFIG_CFI_CLANG) += cfi.o
97
94obj-$(CONFIG_EFI) += efi.o
95obj-$(CONFIG_COMPAT) += compat_syscall_table.o
96obj-$(CONFIG_COMPAT) += compat_signal.o
97obj-$(CONFIG_COMPAT) += compat_vdso/
98
99obj-$(CONFIG_64BIT) += pi/
100obj-$(CONFIG_ACPI) += acpi.o
98obj-$(CONFIG_EFI) += efi.o
99obj-$(CONFIG_COMPAT) += compat_syscall_table.o
100obj-$(CONFIG_COMPAT) += compat_signal.o
101obj-$(CONFIG_COMPAT) += compat_vdso/
102
103obj-$(CONFIG_64BIT) += pi/
104obj-$(CONFIG_ACPI) += acpi.o