Red Bear OS — microkernel OS in Rust, based on Redox
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
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
#TODO not compiled or tested
|
||||
[source]
|
||||
tar = "https://github.com/mupen64plus/mupen64plus-core/releases/download/2.6.0/mupen64plus-bundle-src-2.6.0.tar.gz"
|
||||
[build]
|
||||
template = "custom"
|
||||
dependencies = [
|
||||
"freetype2",
|
||||
"liborbital",
|
||||
"libpng",
|
||||
"mesa",
|
||||
"mesa-glu",
|
||||
"sdl2",
|
||||
"zlib",
|
||||
]
|
||||
script = """
|
||||
rsync -av --delete "${COOKBOOK_SOURCE}/" ./
|
||||
#TODO: support Redox in UNAME
|
||||
"${COOKBOOK_MAKE}" \
|
||||
CROSS_COMPILE="${TARGET}-" \
|
||||
GLES_LIB="" \
|
||||
GL_CFLAGS="$("${TARGET}-pkg-config" --cflags osmesa)" \
|
||||
GL_LDLIBS="$("${TARGET}-pkg-config" --libs osmesa)" \
|
||||
HOST_CPU="${TARGET%%-*}" \
|
||||
SDL_CFLAGS="$("${TARGET}-pkg-config" --cflags sdl2)" \
|
||||
SDL_LDFLAGS="$("${TARGET}-pkg-config" --libs sdl2)" \
|
||||
UNAME=Linux \
|
||||
USE_GLES=1 \
|
||||
V=1 \
|
||||
VULKAN=0 \
|
||||
-C projects/unix \
|
||||
-j "${COOKBOOK_MAKE_JOBS}" \
|
||||
all
|
||||
"""
|
||||
Reference in New Issue
Block a user