Skip to content

Commit

Permalink
Merge pull request #1071 from sched-ext/scx-lib-bpftool-fix
Browse files Browse the repository at this point in the history
scx_lib: use the proper bpftool
  • Loading branch information
arighi authored Dec 8, 2024
2 parents 5e1fea8 + 21cf3cc commit b4db5ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ foreach src: libs
input: src + '.bpf.c',
command: [bpf_clang, bpf_base_cflags, '-target', 'bpf', libbpf_c_headers, bpf_includes,
'-c', '@INPUT@', '-o', '@OUTPUT@'],
depends: [libbpf]
depends: [libbpf, bpftool_target]
)

objs += [bpf_o]
Expand Down
2 changes: 1 addition & 1 deletion meson-scripts/compile_scx_lib
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ dir="$PWD/lib"

libs=`find $dir -type f -name *.bpf.o | grep -v $lib.bpf.o`

"$bpftool" gen object "$output" $libs
${bpftool} gen object "$output" $libs

0 comments on commit b4db5ee

Please sign in to comment.