Files
RedBear-OS/recipes/wip/net/other/nspr/recipe.toml
T
vasilito 50b731f1b7 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
2026-04-12 19:05:00 +01:00

26 lines
671 B
TOML

# TODO: Using patched mozjs from servo, maybe move patcehs into to upstream patches?
[source]
# tar = "https://ftp.mozilla.org/pub/nspr/releases/v4.9.6/src/nspr-4.9.6.tar.gz"
git = "https://github.com/willnode/mozjs"
branch = "redox"
shallow_clone = true
[build]
template = "custom"
script = """
export HOST_CC="cc"
export CC="$GNU_TARGET-gcc"
export CXX="$GNU_TARGET-g++"
export LDFLAGS="-shared"
export CFLAGS="-fPIC"
COOKBOOK_CONFIGURE_FLAGS+=(
--enable-optimize
--disable-debug
--enable-64bit
--with-pthreads
ac_cv_path_LD="$LD"
)
COOKBOOK_MAKE_JOBS=1
COOKBOOK_CONFIGURE="$COOKBOOK_SOURCE/mozjs-sys/mozjs/nsprpub/configure"
cookbook_configure
"""