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,28 @@
|
||||
[source]
|
||||
tar = "https://github.com/schismtracker/schismtracker/archive/20181223.tar.gz"
|
||||
blake3 = "057e973f4f84cf898e2240d67c0e92f25086d8b9ffdc7e0c7ef81dd8dc81bc70"
|
||||
patches = ["redox.patch"]
|
||||
script = """
|
||||
autoreconf -i
|
||||
"""
|
||||
|
||||
[build]
|
||||
template = "custom"
|
||||
dependencies = [
|
||||
"sdl1",
|
||||
"liborbital",
|
||||
"libiconv",
|
||||
]
|
||||
script = """
|
||||
export CFLAGS="${CFLAGS} -I${COOKBOOK_SYSROOT}/include/SDL"
|
||||
export SDL_CONFIG="${COOKBOOK_SYSROOT}/bin/sdl-config"
|
||||
|
||||
COOKBOOK_CONFIGURE_FLAGS=(
|
||||
--build="$(gcc -dumpmachine)"
|
||||
--host="${TARGET}"
|
||||
--prefix=""
|
||||
--with-sdl-prefix="${COOKBOOK_SYSROOT}"
|
||||
)
|
||||
|
||||
cookbook_configure
|
||||
"""
|
||||
@@ -0,0 +1,24 @@
|
||||
diff -rupNw source-original/Makefile.am source/Makefile.am
|
||||
--- source-original/Makefile.am 2018-08-10 07:04:54.000000000 +0200
|
||||
+++ source/Makefile.am 2018-12-30 23:18:07.957244170 +0100
|
||||
@@ -223,7 +223,7 @@ files_macosx = \
|
||||
endif
|
||||
|
||||
if USE_NETWORK
|
||||
-cflags_network=-DUSE_NETWORK
|
||||
+#cflags_network=-DUSE_NETWORK
|
||||
endif
|
||||
|
||||
|
||||
diff -rupNw source-original/schism/main.c source/schism/main.c
|
||||
--- source-original/schism/main.c 2018-08-10 07:04:54.000000000 +0200
|
||||
+++ source/schism/main.c 2018-12-30 23:19:24.954046191 +0100
|
||||
@@ -1033,7 +1033,7 @@ int main(int argc, char **argv)
|
||||
|
||||
video_fullscreen(0);
|
||||
|
||||
- tzset(); // localtime_r wants this
|
||||
+ //tzset(); // localtime_r wants this
|
||||
srand(time(NULL));
|
||||
parse_options(argc, argv); /* shouldn't this be like, first? */
|
||||
|
||||
Reference in New Issue
Block a user