Skip to content

Commit fc82484

Browse files
greatgitsbyclaude
andauthored
tools/build: use separate tmp dirs for kernel and system builds (#65)
Allows both builds to run in parallel without clobbering each other. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 9e4c6c8 commit fc82484

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tools/build/build_kernel.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ cd "$DIR"
77
TOOLS="$DIR/tools/bin"
88
KERNEL_DIR="$DIR/kernel/linux"
99
PATCHES_DIR="$DIR/kernel/patches"
10-
TMP_DIR="$DIR/build/tmp"
10+
TMP_DIR="$DIR/build/tmp-kernel"
1111
OUT_DIR="$DIR/build"
1212
BOOT_IMG=./boot.img
1313

tools/build/build_system.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ cd "$DIR"
1010

1111
DOWNLOADS_DIR="$DIR/build/downloads"
1212
VOID_ROOTFS_FILE="$DOWNLOADS_DIR/void-aarch64-ROOTFS-20250202.tar.xz"
13-
BUILD_DIR="$DIR/build/tmp"
13+
BUILD_DIR="$DIR/build/tmp-system"
1414
OUTPUT_DIR="$DIR/build"
1515

1616
ROOTFS_DIR="$BUILD_DIR/void-rootfs"

0 commit comments

Comments
 (0)