spdx
This commit is contained in:
@@ -19,7 +19,7 @@ vdso_link_args = [
|
||||
|
||||
# Build a shared library, which we are going to embed next.
|
||||
# TODO: We need to ensure there are no relocations inside the vDSO.
|
||||
vdso = shared_library(
|
||||
real_vdso = shared_library(
|
||||
'zinnia-vdso',
|
||||
name_prefix: '',
|
||||
c_args: vdso_c_args,
|
||||
@@ -44,5 +44,11 @@ vdso = shared_library(
|
||||
],
|
||||
)
|
||||
|
||||
vdso = custom_target(
|
||||
command: [find_program('cp'), '@INPUT@', '@OUTPUT@'],
|
||||
input: real_vdso,
|
||||
output: 'vdso.bin',
|
||||
)
|
||||
|
||||
# Tell the kernel where the built binary lives so we can #embed it.
|
||||
kernel_c_args += ['-DVDSO_PATH="' + vdso.full_path() + '"']
|
||||
|
||||
Reference in New Issue
Block a user