forked from libretro/Lakka-LibreELEC
94 lines
2.8 KiB
Plaintext
94 lines
2.8 KiB
Plaintext
################################################################################
|
|
# setup system defaults
|
|
################################################################################
|
|
|
|
# Bootloader to use (syslinux / u-boot / bcm2835-bootloader)
|
|
BOOTLOADER="u-boot"
|
|
|
|
# U-Boot firmware package(s) to use
|
|
UBOOT_FIRMWARE="rkbin"
|
|
UBOOT_FIT_IMAGE="u-boot-rockchip.bin"
|
|
|
|
# Additional kernel make parameters (for example to specify the u-boot loadaddress)
|
|
KERNEL_MAKE_EXTRACMD="dtbs"
|
|
|
|
# Additional kernel dependencies
|
|
KERNEL_EXTRA_DEPENDS_TARGET="lz4:host"
|
|
|
|
# Kernel to use. values can be:
|
|
# default: default mainline kernel
|
|
LINUX="${LINUX:-default}"
|
|
|
|
################################################################################
|
|
# setup build defaults
|
|
################################################################################
|
|
|
|
# Project CFLAGS
|
|
PROJECT_CFLAGS=""
|
|
|
|
# SquashFS compression method (gzip / lzo / xz / zstd)
|
|
SQUASHFS_COMPRESSION="zstd"
|
|
|
|
################################################################################
|
|
# setup project defaults
|
|
################################################################################
|
|
|
|
# OpenGL(X) implementation to use (no / mesa)
|
|
OPENGL="no"
|
|
|
|
# OpenGL-ES implementation to use (no / libmali / mesa)
|
|
OPENGLES="${OPENGLES:-mesa}"
|
|
|
|
# Vulkan implementation to use (vulkan-loader / no)
|
|
VULKAN="no"
|
|
|
|
# Displayserver to use (wl / no)
|
|
DISPLAYSERVER="no"
|
|
|
|
# Windowmanager to use (weston / no)
|
|
WINDOWMANAGER="no"
|
|
|
|
# Xorg Graphic drivers to use (all / lima,panfrost)
|
|
# Space separated list is supported,
|
|
# e.g. GRAPHIC_DRIVERS="lima panfrost"
|
|
GRAPHIC_DRIVERS=""
|
|
|
|
# KODI Player implementation to use (default / bcm2835-driver / libfslvpuwrap)
|
|
KODIPLAYER_DRIVER="$OPENGLES"
|
|
|
|
# additional Firmware to use (dvb-firmware, misc-firmware, wlan-firmware)
|
|
# Space separated list is supported,
|
|
# e.g. FIRMWARE="dvb-firmware misc-firmware wlan-firmware"
|
|
FIRMWARE="misc-firmware wlan-firmware dvb-firmware brcmfmac_sdio-firmware"
|
|
|
|
if [ "${DISTRO}" = "Lakka" ]; then
|
|
FIRMWARE="${FIRMWARE//dvb-firmware/}"
|
|
fi
|
|
|
|
# additional packages to install
|
|
ADDITIONAL_PACKAGES+=" dtc"
|
|
|
|
# build and install CEC framework support (yes / no)
|
|
CEC_FRAMEWORK_SUPPORT="yes"
|
|
|
|
# build with installer (yes / no)
|
|
INSTALLER_SUPPORT="no"
|
|
|
|
# Start boot partition at 16MiB, same as https://github.com/rockchip-linux/build images
|
|
SYSTEM_PART_START=32768
|
|
|
|
# build and install driver addons (yes / no)
|
|
DRIVER_ADDONS_SUPPORT="no"
|
|
|
|
if [ "${DISTRO}" = "Lakka" ]; then
|
|
DRIVER_ADDONS_SUPPORT="no"
|
|
fi
|
|
|
|
# driver addons to install:
|
|
# for a list of additinoal drivers see packages/linux-driver-addons
|
|
# Space separated list is supported,
|
|
DRIVER_ADDONS="dvb-latest"
|
|
|
|
# debug tty path
|
|
DEBUG_TTY="/dev/ttyS2"
|