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,24 @@
|
||||
[source]
|
||||
git = "https://github.com/akopytov/sysbench.git"
|
||||
patches = ["redox.patch"]
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
autoreconf -fvi -I${COOKBOOK_HOST_SYSROOT}/share/aclocal
|
||||
"""
|
||||
|
||||
[build]
|
||||
template = "custom"
|
||||
dependencies = ["luajit"]
|
||||
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
export CFLAGS+=" -I${COOKBOOK_SYSROOT}/include/luajit-2.1"
|
||||
COOKBOOK_CONFIGURE_FLAGS+=(
|
||||
--without-mysql
|
||||
--with-system-luajit
|
||||
)
|
||||
cookbook_configure
|
||||
"""
|
||||
|
||||
[package]
|
||||
dependencies = ["luajit"]
|
||||
@@ -0,0 +1,11 @@
|
||||
--- a/src/lua/internal/Makefile.am
|
||||
+++ b/src/lua/internal/Makefile.am
|
||||
@@ -26,7 +26,7 @@ SUFFIXES = .lua .lua.h
|
||||
|
||||
.lua.lua.h:
|
||||
@echo "Creating $@ from $<"
|
||||
- @var=$$(echo $< | sed 's/\./_/g') && \
|
||||
+ @var=$$(basename $< | sed 's/\./_/g') && \
|
||||
( echo "unsigned char $${var}[] =" && \
|
||||
sed -e 's/\\/\\\\/g' \
|
||||
-e 's/"/\\"/g' \
|
||||
Reference in New Issue
Block a user