Makefile (f4a1692491b5cce8978cea19cb8946bc2c6f14bc) Makefile (20d38f7c45a44e4b762b586a7bcacbc93ddb3153)
1# SPDX-License-Identifier: GPL-2.0-only
2# Copied from arch/tile/kernel/vdso/Makefile
3
4# Absolute relocation type $(ARCH_REL_TYPE_ABS) needs to be defined before
5# the inclusion of generic Makefile.
6ARCH_REL_TYPE_ABS := R_RISCV_32|R_RISCV_64|R_RISCV_JUMP_SLOT
7include $(srctree)/lib/vdso/Makefile
8# Symbols present in the vdso

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

27obj-y += vdso.o vdso-syms.o
28CPPFLAGS_vdso.lds += -P -C -U$(ARCH)
29
30# Disable -pg to prevent insert call site
31CFLAGS_REMOVE_vgettimeofday.o = $(CC_FLAGS_FTRACE) -Os
32
33# Disable gcov profiling for VDSO code
34GCOV_PROFILE := n
1# SPDX-License-Identifier: GPL-2.0-only
2# Copied from arch/tile/kernel/vdso/Makefile
3
4# Absolute relocation type $(ARCH_REL_TYPE_ABS) needs to be defined before
5# the inclusion of generic Makefile.
6ARCH_REL_TYPE_ABS := R_RISCV_32|R_RISCV_64|R_RISCV_JUMP_SLOT
7include $(srctree)/lib/vdso/Makefile
8# Symbols present in the vdso

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

27obj-y += vdso.o vdso-syms.o
28CPPFLAGS_vdso.lds += -P -C -U$(ARCH)
29
30# Disable -pg to prevent insert call site
31CFLAGS_REMOVE_vgettimeofday.o = $(CC_FLAGS_FTRACE) -Os
32
33# Disable gcov profiling for VDSO code
34GCOV_PROFILE := n
35KCOV_INSTRUMENT := n
35
36# Force dependency
37$(obj)/vdso.o: $(obj)/vdso.so
38
39# link rule for the .so file, .lds has to be first
40SYSCFLAGS_vdso.so.dbg = $(c_flags)
41$(obj)/vdso.so.dbg: $(src)/vdso.lds $(obj-vdso) FORCE
42 $(call if_changed,vdsold)

--- 39 unchanged lines hidden ---
36
37# Force dependency
38$(obj)/vdso.o: $(obj)/vdso.so
39
40# link rule for the .so file, .lds has to be first
41SYSCFLAGS_vdso.so.dbg = $(c_flags)
42$(obj)/vdso.so.dbg: $(src)/vdso.lds $(obj-vdso) FORCE
43 $(call if_changed,vdsold)

--- 39 unchanged lines hidden ---