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:
2026-04-12 19:05:00 +01:00
commit 50b731f1b7
3392 changed files with 98327 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
#TODO slower jobserver due to lack of named pipes
[source]
tar = "http://ftp.gnu.org/gnu/make/make-4.4.tar.gz"
blake3 = "1a0e5353205e106bd9b3c0f4a5f37ee1156a1e1c8feb771d1b4842c216612cba"
patches = [
"redox.patch"
]
script = """
autotools_recursive_regenerate
"""
[build]
template = "custom"
script = """
DYNAMIC_INIT
COOKBOOK_CONFIGURE_FLAGS+=(
# TODO: https://gitlab.redox-os.org/redox-os/redox/-/issues/1753
'ac_cv_func_mkfifo=no'
)
cookbook_configure
"""
+40
View File
@@ -0,0 +1,40 @@
diff -ruwN make-4.4/src/arscan.c source/src/arscan.c
--- make-4.4/src/arscan.c 2022-10-23 16:52:32.000000000 +0200
+++ source/src/arscan.c 2024-08-23 18:28:49.206084084 +0200
@@ -331,7 +331,7 @@
#endif
#ifndef WINDOWS32
-# if !defined (__ANDROID__) && !defined (__BEOS__)
+# if 0
# include <ar.h>
# else
/* These platforms don't have <ar.h> but have archives in the same format
diff -ruwN make-4.4/src/getopt1.c source/src/getopt1.c
--- make-4.4/src/getopt1.c 2022-10-23 21:52:32.000000000 +0700
+++ source/src/getopt1.c 2026-01-24 23:28:34.306706884 +0700
@@ -48,6 +48,10 @@
#endif
#endif
+#ifdef __redox__
+#define ELIDE_CODE
+#endif
+
#ifndef ELIDE_CODE
diff -ruwN make-4.4/src/getopt.c source/src/getopt.c
--- make-4.4/src/getopt.c 2022-10-23 21:52:32.000000000 +0700
+++ source/src/getopt.c 2026-01-24 23:21:09.488487860 +0700
@@ -56,6 +56,10 @@
# endif
#endif
+#ifdef __redox__
+#define ELIDE_CODE
+#endif
+
#ifndef ELIDE_CODE