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,31 @@
|
||||
diff --git a/src/Makefile b/src/Makefile
|
||||
index 3a6a4329..450e8fe6 100644
|
||||
--- a/src/Makefile
|
||||
+++ b/src/Makefile
|
||||
@@ -351,6 +351,9 @@ else
|
||||
ifeq (GNU/kFreeBSD,$(TARGET_SYS))
|
||||
TARGET_XLIBS+= -ldl
|
||||
endif
|
||||
+ ifeq (Redox,$(TARGET_SYS))
|
||||
+ TARGET_XCFLAGS+= -DLUAJIT_OS=LUAJIT_OS_POSIX
|
||||
+ endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
@@ -367,12 +370,16 @@ ifneq ($(HOST_SYS),$(TARGET_SYS))
|
||||
else
|
||||
ifeq (iOS,$(TARGET_SYS))
|
||||
HOST_XCFLAGS+= -DLUAJIT_OS=LUAJIT_OS_OSX -DTARGET_OS_IPHONE=1
|
||||
+ else
|
||||
+ ifeq (Redox,$(TARGET_SYS))
|
||||
+ HOST_XCFLAGS+= -DLUAJIT_OS=LUAJIT_OS_POSIX
|
||||
else
|
||||
HOST_XCFLAGS+= -DLUAJIT_OS=LUAJIT_OS_OTHER
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
+ endif
|
||||
endif
|
||||
|
||||
ifneq (,$(CCDEBUG))
|
||||
Reference in New Issue
Block a user