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
41 lines
1.1 KiB
TOML
41 lines
1.1 KiB
TOML
#TODO not compiled or tested
|
|
[source]
|
|
tar = "https://github.com/freeglut/freeglut/releases/download/v3.4.0/freeglut-3.4.0.tar.gz"
|
|
#blake3 = "08c8874d6ddad5be4860813865d4d4e2a84c294da0f3cf82a29e43920806b0da"
|
|
[build]
|
|
dependencies = [
|
|
"mesa",
|
|
"mesa-glu",
|
|
]
|
|
template = "custom"
|
|
script = """
|
|
DYNAMIC_INIT
|
|
cat > redox.cmake <<EOF
|
|
# the name of the target operating system
|
|
set(CMAKE_SYSTEM_NAME Generic)
|
|
set(CMAKE_SYSTEM_PROCESSOR "${TARGET%%-*}")
|
|
|
|
# which compilers to use for C and C++
|
|
set(CMAKE_C_COMPILER "${TARGET}-gcc")
|
|
set(CMAKE_CXX_COMPILER "${TARGET}-g++")
|
|
|
|
# where is the target environment located
|
|
set(CMAKE_FIND_ROOT_PATH "${COOKBOOK_SYSROOT}")
|
|
|
|
# adjust the default behavior of the FIND_XXX() commands:
|
|
# search programs in the host environment
|
|
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
|
|
|
|
# search headers, libraries, and packages in the target environment
|
|
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
|
|
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
|
|
set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)
|
|
EOF
|
|
|
|
COOKBOOK_CMAKE_FLAGS+=(
|
|
-DCMAKE_TOOLCHAIN_FILE=redox.cmake
|
|
-DFREEGLUT_GLES=0
|
|
)
|
|
cookbook_cmake
|
|
"""
|