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
22 lines
657 B
TOML
22 lines
657 B
TOML
#TODO nix crate error
|
|
# build instructions: https://github.com/dbalsom/martypc/wiki/Building-MartyPC#building-for-linux
|
|
[source]
|
|
git = "https://github.com/dbalsom/martypc"
|
|
shallow_clone = true
|
|
rev = "0.4.1"
|
|
|
|
[build]
|
|
template = "custom"
|
|
script = """
|
|
DYNAMIC_INIT
|
|
# there's a lot of git dependencies
|
|
COOKBOOK_CARGO_FLAGS=( -Zgit=shallow-index,shallow-deps )
|
|
|
|
# clang specifics
|
|
PREFIX_INCLUDE="$COOKBOOK_HOST_SYSROOT/$TARGET/include"
|
|
export CLANGFLAGS="-I $PREFIX_INCLUDE/c++/13.2.0 -I $PREFIX_INCLUDE/c++/13.2.0/$TARGET -I $PREFIX_INCLUDE/c++/13.2.0/backward -I $PREFIX_INCLUDE"
|
|
|
|
cookbook_cargo_packages martypc_eframe
|
|
"""
|
|
cargopackages = ["martypc_eframe"]
|