diff options
author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2024-08-22 09:13:12 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2024-09-13 17:28:35 +0200 |
commit | 81723e3ac388271cf1fe9d9ca8f4e9c74689ea0e (patch) | |
tree | 980c8bbdcba2f78a9ff91b6525da38d81bed3e9d | |
parent | b757959f192daf4d107dd5198b562032bd757a5e (diff) | |
download | lwn-81723e3ac388271cf1fe9d9ca8f4e9c74689ea0e.tar.gz lwn-81723e3ac388271cf1fe9d9ca8f4e9c74689ea0e.zip |
random: vDSO: add missing c-getrandom-y in Makefile
Same as for the gettimeofday CVDSO implementation, add c-getrandom-y to
ease the inclusion of lib/vdso/getrandom.c in architectures' VDSO
builds.
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r-- | lib/vdso/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/vdso/Makefile b/lib/vdso/Makefile index 9f031eafc465..cedbf15f8087 100644 --- a/lib/vdso/Makefile +++ b/lib/vdso/Makefile @@ -4,6 +4,7 @@ GENERIC_VDSO_MK_PATH := $(abspath $(lastword $(MAKEFILE_LIST))) GENERIC_VDSO_DIR := $(dir $(GENERIC_VDSO_MK_PATH)) c-gettimeofday-$(CONFIG_GENERIC_GETTIMEOFDAY) := $(addprefix $(GENERIC_VDSO_DIR), gettimeofday.c) +c-getrandom-$(CONFIG_VDSO_GETRANDOM) := $(addprefix $(GENERIC_VDSO_DIR), getrandom.c) # This cmd checks that the vdso library does not contain dynamic relocations. # It has to be called after the linking of the vdso library and requires it |