Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

vdso: Rename included Makefile

As the Makefile is included into other Makefiles it can not be used to
define objects to be built from the current source directory.
However the generic datastore will introduce such a local source file.
Rename the included Makefile so it is clear how it is to be used and to
make room for a regular Makefile in lib/vdso/.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20250204-vdso-store-rng-v3-4-13a4669dfc8c@linutronix.de

authored by

Thomas Weißschuh and committed by
Thomas Gleixner
127b0e05 5b47aba8

+13 -13
+1 -1
arch/arm/vdso/Makefile
··· 1 1 # SPDX-License-Identifier: GPL-2.0 2 2 3 3 # Include the generic Makefile to check the built vdso. 4 - include $(srctree)/lib/vdso/Makefile 4 + include $(srctree)/lib/vdso/Makefile.include 5 5 6 6 hostprogs := vdsomunge 7 7
+1 -1
arch/arm64/kernel/vdso/Makefile
··· 7 7 # 8 8 9 9 # Include the generic Makefile to check the built vdso. 10 - include $(srctree)/lib/vdso/Makefile 10 + include $(srctree)/lib/vdso/Makefile.include 11 11 12 12 obj-vdso := vgettimeofday.o note.o sigreturn.o vgetrandom.o vgetrandom-chacha.o 13 13
+1 -1
arch/arm64/kernel/vdso32/Makefile
··· 3 3 # Makefile for vdso32 4 4 # 5 5 6 - include $(srctree)/lib/vdso/Makefile 6 + include $(srctree)/lib/vdso/Makefile.include 7 7 8 8 # Same as cc-*option, but using CC_COMPAT instead of CC 9 9 ifeq ($(CONFIG_CC_IS_CLANG), y)
+1 -1
arch/csky/kernel/vdso/Makefile
··· 1 1 # SPDX-License-Identifier: GPL-2.0-only 2 2 3 3 # Include the generic Makefile to check the built vdso. 4 - include $(srctree)/lib/vdso/Makefile 4 + include $(srctree)/lib/vdso/Makefile.include 5 5 6 6 # Symbols present in the vdso 7 7 vdso-syms += rt_sigreturn
+1 -1
arch/loongarch/vdso/Makefile
··· 2 2 # Objects to go into the VDSO. 3 3 4 4 # Include the generic Makefile to check the built vdso. 5 - include $(srctree)/lib/vdso/Makefile 5 + include $(srctree)/lib/vdso/Makefile.include 6 6 7 7 obj-vdso-y := elf.o vgetcpu.o vgettimeofday.o vgetrandom.o \ 8 8 vgetrandom-chacha.o sigreturn.o
+1 -1
arch/mips/vdso/Makefile
··· 2 2 # Objects to go into the VDSO. 3 3 4 4 # Include the generic Makefile to check the built vdso. 5 - include $(srctree)/lib/vdso/Makefile 5 + include $(srctree)/lib/vdso/Makefile.include 6 6 7 7 obj-vdso-y := elf.o vgettimeofday.o sigreturn.o 8 8
+1 -1
arch/parisc/kernel/vdso32/Makefile
··· 1 1 # Include the generic Makefile to check the built vdso. 2 - include $(srctree)/lib/vdso/Makefile 2 + include $(srctree)/lib/vdso/Makefile.include 3 3 4 4 KCOV_INSTRUMENT := n 5 5
+1 -1
arch/parisc/kernel/vdso64/Makefile
··· 1 1 # Include the generic Makefile to check the built vdso. 2 - include $(srctree)/lib/vdso/Makefile 2 + include $(srctree)/lib/vdso/Makefile.include 3 3 4 4 KCOV_INSTRUMENT := n 5 5
+1 -1
arch/powerpc/kernel/vdso/Makefile
··· 3 3 # List of files in the vdso, has to be asm only for now 4 4 5 5 # Include the generic Makefile to check the built vdso. 6 - include $(srctree)/lib/vdso/Makefile 6 + include $(srctree)/lib/vdso/Makefile.include 7 7 8 8 obj-vdso32 = sigtramp32-32.o gettimeofday-32.o datapage-32.o cacheflush-32.o note-32.o getcpu-32.o 9 9 obj-vdso64 = sigtramp64-64.o gettimeofday-64.o datapage-64.o cacheflush-64.o note-64.o getcpu-64.o
+1 -1
arch/riscv/kernel/vdso/Makefile
··· 2 2 # Copied from arch/tile/kernel/vdso/Makefile 3 3 4 4 # Include the generic Makefile to check the built vdso. 5 - include $(srctree)/lib/vdso/Makefile 5 + include $(srctree)/lib/vdso/Makefile.include 6 6 # Symbols present in the vdso 7 7 vdso-syms = rt_sigreturn 8 8 ifdef CONFIG_64BIT
+1 -1
arch/s390/kernel/vdso32/Makefile
··· 2 2 # List of files in the vdso 3 3 4 4 # Include the generic Makefile to check the built vdso. 5 - include $(srctree)/lib/vdso/Makefile 5 + include $(srctree)/lib/vdso/Makefile.include 6 6 obj-vdso32 = vdso_user_wrapper-32.o note-32.o 7 7 8 8 # Build rules
+1 -1
arch/s390/kernel/vdso64/Makefile
··· 2 2 # List of files in the vdso 3 3 4 4 # Include the generic Makefile to check the built vdso. 5 - include $(srctree)/lib/vdso/Makefile 5 + include $(srctree)/lib/vdso/Makefile.include 6 6 obj-vdso64 = vdso_user_wrapper.o note.o vgetrandom-chacha.o 7 7 obj-cvdso64 = vdso64_generic.o getcpu.o vgetrandom.o 8 8 VDSO_CFLAGS_REMOVE := -pg $(CC_FLAGS_FTRACE) $(CC_FLAGS_EXPOLINE)
+1 -1
arch/x86/entry/vdso/Makefile
··· 4 4 # 5 5 6 6 # Include the generic Makefile to check the built vDSO: 7 - include $(srctree)/lib/vdso/Makefile 7 + include $(srctree)/lib/vdso/Makefile.include 8 8 9 9 # Files to link into the vDSO: 10 10 vobjs-y := vdso-note.o vclock_gettime.o vgetcpu.o vgetrandom.o vgetrandom-chacha.o
lib/vdso/Makefile lib/vdso/Makefile.include