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
This commit is contained in:
Thomas Weißschuh 2025-02-04 13:05:36 +01:00 committed by Thomas Gleixner
parent 5b47aba858
commit 127b0e05c1
14 changed files with 13 additions and 13 deletions

View file

@ -1,7 +1,7 @@
# SPDX-License-Identifier: GPL-2.0
# Include the generic Makefile to check the built vdso.
include $(srctree)/lib/vdso/Makefile
include $(srctree)/lib/vdso/Makefile.include
hostprogs := vdsomunge

View file

@ -7,7 +7,7 @@
#
# Include the generic Makefile to check the built vdso.
include $(srctree)/lib/vdso/Makefile
include $(srctree)/lib/vdso/Makefile.include
obj-vdso := vgettimeofday.o note.o sigreturn.o vgetrandom.o vgetrandom-chacha.o

View file

@ -3,7 +3,7 @@
# Makefile for vdso32
#
include $(srctree)/lib/vdso/Makefile
include $(srctree)/lib/vdso/Makefile.include
# Same as cc-*option, but using CC_COMPAT instead of CC
ifeq ($(CONFIG_CC_IS_CLANG), y)

View file

@ -1,7 +1,7 @@
# SPDX-License-Identifier: GPL-2.0-only
# Include the generic Makefile to check the built vdso.
include $(srctree)/lib/vdso/Makefile
include $(srctree)/lib/vdso/Makefile.include
# Symbols present in the vdso
vdso-syms += rt_sigreturn

View file

@ -2,7 +2,7 @@
# Objects to go into the VDSO.
# Include the generic Makefile to check the built vdso.
include $(srctree)/lib/vdso/Makefile
include $(srctree)/lib/vdso/Makefile.include
obj-vdso-y := elf.o vgetcpu.o vgettimeofday.o vgetrandom.o \
vgetrandom-chacha.o sigreturn.o

View file

@ -2,7 +2,7 @@
# Objects to go into the VDSO.
# Include the generic Makefile to check the built vdso.
include $(srctree)/lib/vdso/Makefile
include $(srctree)/lib/vdso/Makefile.include
obj-vdso-y := elf.o vgettimeofday.o sigreturn.o

View file

@ -1,5 +1,5 @@
# Include the generic Makefile to check the built vdso.
include $(srctree)/lib/vdso/Makefile
include $(srctree)/lib/vdso/Makefile.include
KCOV_INSTRUMENT := n

View file

@ -1,5 +1,5 @@
# Include the generic Makefile to check the built vdso.
include $(srctree)/lib/vdso/Makefile
include $(srctree)/lib/vdso/Makefile.include
KCOV_INSTRUMENT := n

View file

@ -3,7 +3,7 @@
# List of files in the vdso, has to be asm only for now
# Include the generic Makefile to check the built vdso.
include $(srctree)/lib/vdso/Makefile
include $(srctree)/lib/vdso/Makefile.include
obj-vdso32 = sigtramp32-32.o gettimeofday-32.o datapage-32.o cacheflush-32.o note-32.o getcpu-32.o
obj-vdso64 = sigtramp64-64.o gettimeofday-64.o datapage-64.o cacheflush-64.o note-64.o getcpu-64.o

View file

@ -2,7 +2,7 @@
# Copied from arch/tile/kernel/vdso/Makefile
# Include the generic Makefile to check the built vdso.
include $(srctree)/lib/vdso/Makefile
include $(srctree)/lib/vdso/Makefile.include
# Symbols present in the vdso
vdso-syms = rt_sigreturn
ifdef CONFIG_64BIT

View file

@ -2,7 +2,7 @@
# List of files in the vdso
# Include the generic Makefile to check the built vdso.
include $(srctree)/lib/vdso/Makefile
include $(srctree)/lib/vdso/Makefile.include
obj-vdso32 = vdso_user_wrapper-32.o note-32.o
# Build rules

View file

@ -2,7 +2,7 @@
# List of files in the vdso
# Include the generic Makefile to check the built vdso.
include $(srctree)/lib/vdso/Makefile
include $(srctree)/lib/vdso/Makefile.include
obj-vdso64 = vdso_user_wrapper.o note.o vgetrandom-chacha.o
obj-cvdso64 = vdso64_generic.o getcpu.o vgetrandom.o
VDSO_CFLAGS_REMOVE := -pg $(CC_FLAGS_FTRACE) $(CC_FLAGS_EXPOLINE)

View file

@ -4,7 +4,7 @@
#
# Include the generic Makefile to check the built vDSO:
include $(srctree)/lib/vdso/Makefile
include $(srctree)/lib/vdso/Makefile.include
# Files to link into the vDSO:
vobjs-y := vdso-note.o vclock_gettime.o vgetcpu.o vgetrandom.o vgetrandom-chacha.o