1
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-11-21 21:36:30 +00:00
Lakka-LibreELEC/projects/Qualcomm/devices/Dragonboard/options
2023-01-18 11:15:04 +01:00

115 lines
3.4 KiB
Plaintext

################################################################################
# setup system defaults
################################################################################
# The TARGET_CPU variable controls which processor should be targeted for
# generated code.
case $TARGET_ARCH in
aarch64)
TARGET_CPU="cortex-a53"
TARGET_CPU_FLAGS="+crc+fp+simd"
;;
arm)
TARGET_KERNEL_ARCH="arm64"
TARGET_FLOAT=hard
TARGET_CPU="cortex-a53"
TARGET_CPU_FLAGS="+crc"
TARGET_FPU="neon-fp-armv8"
;;
esac
# Bootloader to use (syslinux / u-boot / atv-bootloader / bcm2835-bootloader)
BOOTLOADER="u-boot"
# U-Boot firmware package(s) to use (this is a bit of a hack as mkbootimg isn't firmware but is needed by the host to build the u-boot uImage)
UBOOT_FIRMWARE="mkbootimg:host"
# Kernel target
KERNEL_TARGET="Image"
# Kernel uImage load address
KERNEL_UIMAGE_LOADADDR="0x80080000"
# Kernel uImage entry address
KERNEL_UIMAGE_ENTRYADDR="0x80080000"
# Additional kernel make parameters (for example to specify the u-boot loadaddress)
KERNEL_MAKE_EXTRACMD="dtbs"
# Kernel to use. values can be:
# default: default mainline kernel
LINUX="default"
################################################################################
# setup build defaults
################################################################################
# Project CFLAGS
PROJECT_CFLAGS=""
# SquashFS compression method (gzip / lzo / xz)
SQUASHFS_COMPRESSION="zstd"
################################################################################
# setup project defaults
################################################################################
# OpenGL(X) implementation to use (no / Mesa)
OPENGL="no"
# OpenGL-ES implementation to use (no / bcm2835-driver / gpu-viv-bin-mx6q / opengl-meson6)
OPENGLES="mesa"
# Vulkan implementation to use (vulkan-loader / no)
VULKAN="no"
# include uvesafb support (yes / no)
UVESAFB_SUPPORT="no"
# Displayserver to use (wl / no)
DISPLAYSERVER="no"
# Windowmanager to use (weston / no)
WINDOWMANAGER="no"
# Xorg Graphic drivers to use (all / freedreno)
# Space separated list is supported,
# e.g. GRAPHIC_DRIVERS="freedreno"
GRAPHIC_DRIVERS="freedreno"
# KODI Player implementation to use (default / bcm2835-driver / libfslvpuwrap / libamcodec)
KODIPLAYER_DRIVER="mesa"
# 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 firmware-dragonboard"
if [ "${DISTRO}" = "Lakka" ]; then
FIRMWARE="${FIRMWARE//dvb-firmware/}"
fi
# 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 additional drivers see packages/linux-driver-addons
# Space separated list is supported,
DRIVER_ADDONS="crazycat dvb-latest"
# build with installer (yes / no)
INSTALLER_SUPPORT="no"
# kernel serial console
EXTRA_CMDLINE="console=ttyMSM0,115200n8 console=tty0"
# debug tty path
DEBUG_TTY="/dev/ttyMSM0"
# set the addon project
ADDON_PROJECT="ARMv8"