mirror of
https://github.com/JakeHillion/scx.git
synced 2024-12-04 23:07:11 +00:00
74175f5a49
Properly honor the meson build `serialize` option. Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
15 lines
471 B
Meson
15 lines
471 B
Meson
if serialize
|
|
sched_deps = [libbpf, bpftool_target, sched]
|
|
else
|
|
sched_deps = [libbpf, bpftool_target]
|
|
endif
|
|
|
|
sched = custom_target('scx_bpfland',
|
|
output: '@PLAINNAME@.__PHONY__',
|
|
input: 'Cargo.toml',
|
|
command: [cargo, 'build', '--manifest-path=@INPUT@', '--target-dir=@OUTDIR@',
|
|
cargo_build_args],
|
|
env: cargo_env,
|
|
depends: sched_deps,
|
|
build_always_stale: true)
|