0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2025-04-10 00:24:41 +00:00
Files
.github
config
distributions
licenses
packages
projects
ARM
Allwinner
Amlogic
Ayn
devices
Odin
firmwares
linux
packages
patches
options
options
Generic
L4T
NXP
Qualcomm
RPi
Rockchip
Samsung
scripts
tools
.gitignore
CHANGELOG.md
CONTRIBUTING.md
Makefile
README.md
build_all.sh
create_tar.sh
get_libretro_tarball.sh
libretro_update.sh
pkg_all.sh

95 lines
2.6 KiB
Plaintext

# The TARGET_CPU variable controls which processor should be targeted for
# generated code.
case ${TARGET_ARCH} in
aarch64)
TARGET_CPU="cortex-a75.cortex-a55"
TARGET_CPU_FLAGS="+crypto+crc+fp+simd"
TARGET_FEATURES="64bit neon"
TARGET_KERNEL_ARCH="arm64"
;;
*)
;;
esac
#ADDITIONAL_PACKAGES+="xdotool" #Will be needed with dock, which I dont have.
if [ "${DISTRO}" = "Lakka" ]; then
ADDITIONAL_PACKAGES+=" mergerfs"
fi
ADDITIONAL_PACKAGES+=" rewritefs"
ADDITIONAL_DRIVERS="pd-mapper tqftpserv rmtfs"
BOOTLOADER="odin-bootloader"
# build and install ALSA Audio support (yes / no)
ALSA_SUPPORT="yes"
# build and install PulseAudio support (yes / no)
PULSEAUDIO_SUPPORT="yes"
if [ ${PULSEAUDIO_SUPPORT} = "yes" ]; then
ADDITIONAL_DRIVERS+=" pulseaudio-configs"
fi
# build and install WireGuard support (yes / no)
WIREGUARD_SUPPORT="yes"
# OpenGL implementation to use (no / Mesa)
OPENGL="mesa"
OPENGLES=""
if [ "${DISTRO}" = "Lakka" ]; then
# Enable Vulkan for Lakka
VULKAN="vulkan-loader"
:
elif [ "${DISTRO}" = "LibreELEC" ]; then
# LibreELEC doesnt use vulkan, and isnt supported in their main tree.
VULKAN=""
# Add Support for git downloads
GET_HANDLER_SUPPORT+=" git"
fi
# include uvesafb support (yes / no)
UVESAFB_SUPPORT="no"
# Displayserver to use (x11 / no)
DISPLAYSERVER="x11"
# Windowmanager to use (ratpoison / fluxbox / no)
WINDOWMANAGER="no"
# Xorg Graphic drivers to use (all / i915,i965,r200,r300,r600,nvidia,nouveau)
# Space separated list is supported,
# e.g. GRAPHIC_DRIVERS="i915 i965 r300 r600 radeonsi nvidia nouveau"
GRAPHIC_DRIVERS="freedreno"
if [ "${DISPLAYSERVER}" = "x11" ]; then
ADDITIONAL_DRIVERS+=" xf86-input-libinput"
ADDITIONAL_PACKAGES+=" odin-xorg-configs"
fi
# KODI Player implementation to use (default / bcm2835-driver / libfslvpuwrap / libamcodec)
# KODIPLAYER_DRIVER="default"
# Modules to install in initramfs for early boot
# INITRAMFS_MODULES="font softcursor bitblit fbcon"
# 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"
# build and install ATV IR remote support (yes / no)
ATVCLIENT_SUPPORT="no"
# Amlogic IR remote support (yes / no)
AMREMOTE_SUPPORT="no"
# build with installer (yes / no)
INSTALLER_SUPPORT="no"
# Kernel to build
LINUX="ayn-odin"
# CEC Support
CEC_FRAMEWORK_SUPPORT="no"