More work on --source

This commit is contained in:
2023-01-26 23:32:34 -05:00
parent e3a92d444c
commit 8823d70052

View File

@@ -662,8 +662,8 @@ fromSource() {
[[ -d "$GITSRCDIR/staging_dir/host/llvm-bpf/bin" ]] || mkdir -p "$GITSRCDIR/staging_dir/host/llvm-bpf/bin"
ln -fs "$(which clang)" "$GITSRCDIR/staging_dir/host/llvm-bpf/bin/clang"
debug "${make_opts[*]} -j$(nproc) download image"
make "${make_opts[@]}" -j"$(nproc)" download image
debug "${make_opts[*]} -j$(nproc) download world"
make "${make_opts[@]}" -j"$(nproc)" download world
popd &>/dev/null || return 1
exit # TODO exit here for fromSource() testing