Skip to content

Patch Doom and Quake to Buildroot#698

Draft
ChinYikMing wants to merge 2 commits intosysprog21:masterfrom
ChinYikMing:patch-doom-quake-br
Draft

Patch Doom and Quake to Buildroot#698
ChinYikMing wants to merge 2 commits intosysprog21:masterfrom
ChinYikMing:patch-doom-quake-br

Conversation

@ChinYikMing
Copy link
Collaborator

@ChinYikMing ChinYikMing commented Jan 10, 2026

Summary by cubic

Add Doom and Quake to the Buildroot image so they compile, install, and run out of the box with bundled shareware assets.

  • New Features

    • Added doom_riscv and quake as submodules under tests/system/br_pkgs.
    • Enabled BR2_PACKAGE_DOOM and BR2_PACKAGE_QUAKE in Buildroot config.
    • Extended build-linux-image.sh to auto-create Buildroot packages, cross-compile, and install /usr/bin/doom and /usr/bin/quake. Copies DOOM1.WAD and Quake id1/ assets into /root.
    • Patched Doom Makefile to remove nano.specs and static linking, and renamed output to doom.
    • Generated Quake build via CMake with the rv32emu toolchain.
  • Migration

    • Run: git submodule update --init --recursive before building.
    • Ensure network access; the build script downloads DOOM1.WAD and Quake shareware assets automatically.

Written for commit 77ff531. Summary will update on new commits.

@ChinYikMing ChinYikMing marked this pull request as draft January 10, 2026 07:34
cubic-dev-ai[bot]

This comment was marked as resolved.

@jserv jserv added this to the release-2026.1 milestone Jan 11, 2026
@ChinYikMing ChinYikMing force-pushed the patch-doom-quake-br branch 2 times, most recently from 6d95e98 to 93ebb7b Compare January 31, 2026 10:53
When building guestOS's rootfs.cpio from scratch, the buildroot will be
patched with Doom[1] and Quake[2] by do_patch_doom and do_patch_quake
functions.

[1] https://github.com/sysprog21/doom_riscv
[2] https://github.com/sysprog21/quake-embedded/
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.

2 participants