Commit 127b0e05 authored by Thomas Weißschuh's avatar Thomas Weißschuh Committed by Thomas Gleixner
Browse files

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: default avatarThomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20250204-vdso-store-rng-v3-4-13a4669dfc8c@linutronix.de
parent 5b47aba8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
# 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

+1 −1
Original line number Diff line number Diff line
@@ -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

+1 −1
Original line number Diff line number Diff line
@@ -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)
+1 −1
Original line number Diff line number Diff line
# 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
+1 −1
Original line number Diff line number Diff line
@@ -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
Loading