Skip to content

Commit 09a7890

Browse files
committed
[Build] Ensure the kernel make is run in the repo root
1 parent 52d86b4 commit 09a7890

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/build_os_image.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ def main():
176176
run_and_check(["nasm", "-f", "bin", (_REPO_ROOT / "ap_bootstrap.s.x86_64.arch_specific").as_posix(), "-o", (_REPO_ROOT / ".compiled_ap_bootstrap").as_posix()])
177177

178178
# Build the C and assembly portions of the kernel, and link with the Rust libraries
179-
run_and_check(["make"])
179+
run_and_check(["make"], cwd=_REPO_ROOT)
180180

181181
working_on_kernel_only = False
182182
if not working_on_kernel_only:

0 commit comments

Comments
 (0)