50b731f1b7
Derivative of Redox OS (https://www.redox-os.org) adding: - AMD GPU driver (amdgpu) via LinuxKPI compat layer - ext4 filesystem support (ext4d scheme daemon) - ACPI fixes for AMD bare metal (x2APIC, DMAR, IVRS, MCFG) - Custom branding (hostname, os-release, boot identity) Build system is full upstream Redox with RBOS overlay in local/. Patches for kernel, base, and relibc are symlinked from local/patches/ and protected from make clean/distclean. Custom recipes live in local/recipes/ with symlinks into the recipes/ search path. Build: make all CONFIG_NAME=redbear-full Sync: ./local/scripts/sync-upstream.sh
29 lines
696 B
TOML
29 lines
696 B
TOML
[source]
|
|
tar = "https://ftp.gnu.org/gnu/patch/patch-2.7.6.tar.xz"
|
|
blake3 = "d46d14c12aa4ea51e356bf92091c368fd871e1d770b94bc29027886737aecd5f"
|
|
patches = [
|
|
"01_no_rlimit.patch",
|
|
"02_no_chown.patch",
|
|
"03_renameat2.patch",
|
|
]
|
|
script = """
|
|
wget -O build-aux/config.sub "https://gitlab.redox-os.org/redox-os/gnu-config/-/raw/master/config.sub?inline=false"
|
|
autoreconf
|
|
"""
|
|
|
|
[build]
|
|
template = "custom"
|
|
script = """
|
|
COOKBOOK_CONFIGURE="${COOKBOOK_SOURCE}/configure"
|
|
COOKBOOK_CONFIGURE_FLAGS=(
|
|
--host="${TARGET}"
|
|
--prefix="/"
|
|
--build="$(gcc -dumpmachine)"
|
|
)
|
|
|
|
cookbook_configure
|
|
|
|
${TARGET}-strip "${COOKBOOK_STAGE}/bin/"*
|
|
rm -rf "${COOKBOOK_STAGE}/share" "${COOKBOOK_STAGE}/lib"
|
|
"""
|