Skip to content

fix: isolate parallel kernel build output directories#110

Open
stuartmhannon wants to merge 1 commit into
flipperdevices:devfrom
stuartmhannon:fix/parallel-kernel-output-separation
Open

fix: isolate parallel kernel build output directories#110
stuartmhannon wants to merge 1 commit into
flipperdevices:devfrom
stuartmhannon:fix/parallel-kernel-output-separation

Conversation

@stuartmhannon

Copy link
Copy Markdown

Changes LINUX_OUT defaults so build-kernel-mainline.sh writes to prebuilt/linux-mainline and build-kernel-bsp.sh writes to prebuilt/linux-bsp, preventing cross-contamination during parallel builds.

  • build-kernel-mainline.sh (line 5): LINUX_OUT=prebuilt/linuxLINUX_OUT=prebuilt/linux-mainline
  • build-kernel-bsp.sh (line 6): LINUX_OUT=prebuilt/linuxLINUX_OUT=prebuilt/linux-bsp
  • README.md: Updated two references — the assembling disk images path (prebuilt/linux/prebuilt/linux-mainline/ and prebuilt/linux-bsp/) and the "parallel build warning" paragraph (now states it is safe to run in parallel).

Closes #79

Changes LINUX_OUT defaults so build-kernel-mainline.sh writes to
prebuilt/linux-mainline and build-kernel-bsp.sh writes to
prebuilt/linux-bsp, preventing cross-contamination during parallel
builds.

Closes flipperdevices#79
@stuartmhannon
stuartmhannon requested a review from a team July 8, 2026 16:53
@alchark

alchark commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

Hmm, did you test it? I believe it will now fail at the build-rootfs stage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Parallel kernel builds corrupt each other's output

2 participants