mirror of
https://github.com/JakeHillion/scx.git
synced 2024-12-01 21:37:12 +00:00
1b5359ef4a
Rework per-arch vmlinux solution * have per-arch directory under sched/include/arch/, in which we maintain vmlinux.h symlink and real file vmlinux-{kernel_ver}-g{sha1}.h. The original sched/include/vmlinux/ folder is removed. * update meson build `-I` option to find the new vmlinux.h position * update cargo build scripts to use the per-arch vmlinux.h for generating bindings * keep the original ClangInfo refactoring changes Signed-off-by: Ming Yang <minos.future@gmail.com>
12 lines
535 B
Meson
12 lines
535 B
Meson
# BPF compilation uses the gen_bpf_o generator. The following should be
|
|
# passed in as extra_args.
|
|
bpf_includes = ['-I', join_paths(meson.current_source_dir(), 'include'),
|
|
'-I', join_paths(meson.current_source_dir(), 'include/arch/' + arch_dict[cpu]),
|
|
'-I', join_paths(meson.current_source_dir(), 'include/bpf-compat'),]
|
|
|
|
# Common include paths for user C compilation. The following should be
|
|
# passed in as executable::include_directories.
|
|
user_c_includes = include_directories('include')
|
|
|
|
subdir('c')
|