mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-09 23:08:18 +02:00
radv/drirc_gen: Clean up the dependency handling.
This matches Intel -- we get a dependency on the conf file from it appearing as a command arg, and drirc_gen.py from it being in the inputs. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41877>
This commit is contained in:
parent
2ac718c1b8
commit
a514d1e7ec
1 changed files with 3 additions and 7 deletions
|
|
@ -31,19 +31,15 @@ radv_entrypoints = custom_target(
|
|||
|
||||
radv_drirc = custom_target(
|
||||
'radv_drirc',
|
||||
input : files('radv_drirc_gen.py'),
|
||||
input : [files('radv_drirc_gen.py'), drirc_gen, join_paths(dir_source_root, 'src/util/00-radv-defaults.conf')],
|
||||
output : ['radv_drirc.c', 'radv_drirc.h'],
|
||||
command : [
|
||||
prog_python, '@INPUT@',
|
||||
prog_python, '@INPUT0@',
|
||||
'--import-path', join_paths(dir_source_root, 'src/util'),
|
||||
'--drirc-src', '@OUTPUT0@',
|
||||
'--drirc-hdr', '@OUTPUT1@',
|
||||
'--validate', join_paths(dir_source_root, 'src/util/00-radv-defaults.conf'),
|
||||
'--validate', '@INPUT2@',
|
||||
],
|
||||
depend_files : files(
|
||||
join_paths(dir_source_root, 'src/util/drirc_gen.py'),
|
||||
join_paths(dir_source_root, 'src/util/00-radv-defaults.conf'),
|
||||
),
|
||||
)
|
||||
|
||||
libradv_files = files(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue