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
28 lines
721 B
TOML
28 lines
721 B
TOML
#TODO: compiled but not tested
|
|
[source]
|
|
tar = "https://github.com/nigels-com/glew/releases/download/glew-2.3.1/glew-2.3.1.tgz"
|
|
[build]
|
|
template = "custom"
|
|
dependencies = [
|
|
"mesa",
|
|
"mesa-glu",
|
|
]
|
|
script = """
|
|
# Build system is a standalone Makefile
|
|
COOKBOOK_CONFIGURE="true"
|
|
COOKBOOK_CONFIGURE_FLAGS=""
|
|
|
|
# See Makefile for variables to override
|
|
export GLEW_PREFIX="/usr"
|
|
export GLEW_DEST="/usr"
|
|
export GLEW_OSMESA
|
|
export PYTHON="python3"
|
|
|
|
rsync -av --delete "${COOKBOOK_SOURCE}/" ./
|
|
|
|
# The auto directory needs to be built first and can't be built in parallel
|
|
# because the Makefile creates files (using Perl and Python!!) that are needed later
|
|
"${COOKBOOK_MAKE}" -C "${COOKBOOK_BUILD}/auto"
|
|
cookbook_configure
|
|
"""
|