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
31 lines
757 B
TOML
31 lines
757 B
TOML
[source]
|
|
git = "https://gitlab.redox-os.org/redox-os/openssl.git"
|
|
branch = "redox-v1"
|
|
shallow_clone = true
|
|
[build]
|
|
template = "custom"
|
|
script = """
|
|
DYNAMIC_INIT
|
|
ARCH="${TARGET%%-*}"
|
|
OS=$(echo "${TARGET}" | cut -d - -f3)
|
|
COOKBOOK_CONFIGURE="${COOKBOOK_SOURCE}/Configure"
|
|
COOKBOOK_CONFIGURE_FLAGS=(
|
|
threads
|
|
no-dgram
|
|
"${OS}-${ARCH}"
|
|
--prefix="/"
|
|
)
|
|
|
|
if [ "${COOKBOOK_DYNAMIC}" = "1" ]; then
|
|
COOKBOOK_CONFIGURE_FLAGS+=(shared)
|
|
else
|
|
COOKBOOK_CONFIGURE_FLAGS+=(no-shared)
|
|
fi
|
|
|
|
export CC="${CC_WRAPPER} ${GNU_TARGET}-gcc"
|
|
"${COOKBOOK_CONFIGURE}" "${COOKBOOK_CONFIGURE_FLAGS[@]}"
|
|
"${COOKBOOK_MAKE}" -j"${COOKBOOK_MAKE_JOBS}"
|
|
"${COOKBOOK_MAKE}" install_sw install_ssldirs DESTDIR="${COOKBOOK_STAGE}"
|
|
rm -rfv "${COOKBOOK_STAGE}/"{share,ssl}
|
|
"""
|