50b731f1b7
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
39 lines
914 B
TOML
39 lines
914 B
TOML
#TODO: promote
|
|
[source]
|
|
tar = "https://github.com/openssl/openssl/releases/download/openssl-3.5.3/openssl-3.5.3.tar.gz"
|
|
blake3 = "e1622a4587c71c278355bf38ff5a619918bd51e3cd37214d53dd5345b187fc10"
|
|
patches = [ "redox.patch" ]
|
|
|
|
[build]
|
|
template = "custom"
|
|
dependencies = [
|
|
"zlib",
|
|
"zstd"
|
|
]
|
|
script = """
|
|
DYNAMIC_INIT
|
|
ARCH="${TARGET%%-*}"
|
|
OS=$(echo "${TARGET}" | cut -d - -f3)
|
|
export ARFLAGS=cr
|
|
COOKBOOK_CONFIGURE="${COOKBOOK_SOURCE}/Configure"
|
|
COOKBOOK_CONFIGURE_FLAGS=(
|
|
no-tests
|
|
no-unit-test
|
|
zlib
|
|
enable-zstd
|
|
"${OS}-${ARCH}"
|
|
--prefix="/usr"
|
|
--openssldir="/etc/ssl"
|
|
)
|
|
|
|
if [ "${COOKBOOK_DYNAMIC}" = "1" ]; then
|
|
COOKBOOK_CONFIGURE_FLAGS+=(shared)
|
|
else
|
|
COOKBOOK_CONFIGURE_FLAGS+=(no-shared no-dso)
|
|
fi
|
|
|
|
"${COOKBOOK_CONFIGURE}" "${COOKBOOK_CONFIGURE_FLAGS[@]}"
|
|
"${COOKBOOK_MAKE}" -j1 # bug in make/ar
|
|
"${COOKBOOK_MAKE}" install_sw install_ssldirs DESTDIR="${COOKBOOK_STAGE}"
|
|
"""
|