File tree Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Original file line number Diff line number Diff line change 3131fi
3232
3333cd ${REPO_ROOT} /${REPO_PATH}
34- make \
35- CLANG=clang-${LLVM_VERSION} \
36- LLC=llc-${LLVM_VERSION} \
37- LLVM_STRIP=llvm-strip-${LLVM_VERSION} \
38- VMLINUX_BTF=" ${KBUILD_OUTPUT} /vmlinux" \
39- VMLINUX_H=" ${VMLINUX_H} " \
40- -C " ${REPO_ROOT} /${REPO_PATH} /tools/testing/selftests/bpf" \
41- -j $( kernel_build_make_jobs)
34+
35+ MAKE_OPTS=$( cat << EOF
36+ CLANG=clang-${LLVM_VERSION}
37+ LLC=llc-${LLVM_VERSION}
38+ LLVM_STRIP=llvm-strip-${LLVM_VERSION}
39+ VMLINUX_BTF=${KBUILD_OUTPUT} /vmlinux
40+ VMLINUX_H=${VMLINUX_H}
41+ -C ${REPO_ROOT} /${REPO_PATH} /tools/testing/selftests/bpf
42+ EOF
43+ )
44+ make ${MAKE_OPTS} clean
45+ make ${MAKE_OPTS} -j $( kernel_build_make_jobs)
46+
4247cd -
4348mkdir " ${LIBBPF_PATH} " /selftests
4449cp -R " ${REPO_ROOT} /${REPO_PATH} /tools/testing/selftests/bpf" \
You can’t perform that action at this time.
0 commit comments