forked from libretro/Lakka-LibreELEC
6fb5ad6fee
* libCEC: Update to 6.0.2 * L4T: Switch-bsp: Fix typos * Switch: Fix all permission issues with running kodi as a non-root user. * L4T: Switch: Minor code cleanups * Add upower and libgudev so kodi can get battery stats Upower was removed from libreELEC in 2013 with this commit: 3a130cd5009c8d3595b8afcde2421324572ce58b This was a stupid choice as it is the only option in kodi for supplying any battery statitistics. Currently broken. This patchset: https://github.com/xbmc/xbmc/pull/17327/commits for kodi seemingliy wants to fix the issue(Doesnt, is more of a new way to deal with dbus in general), but will still require that upower be available for battery. * Switch: LibreELEC: Peripheral.Joystick: Fix Add Patches from PR's upstream to fix issues with udev devices * Switch: LibreElec: Peripheral.Joystick: Add Nintendo Switch udev joystick mappings * Switch: LibreELEC: Peripheral.Joystick: Force Udev controller driver as default.
128 lines
3.9 KiB
Plaintext
128 lines
3.9 KiB
Plaintext
################################################################################
|
|
# setup system defaults
|
|
################################################################################
|
|
#LIBRETRO_CORES=""
|
|
#VALGRIND="yes"
|
|
|
|
# Bootloader to use (syslinux / u-boot / bcm2835-bootloader)
|
|
BOOTLOADER="u-boot"
|
|
|
|
# Kernel target for u-boot (default 'uImage' if BOOTLOADER=u-boot) (uImage / zImage)
|
|
KERNEL_TARGET="Image"
|
|
|
|
# Kernel extra targets to build
|
|
KERNEL_UBOOT_EXTRA_TARGET=""
|
|
|
|
# Additional kernel make parameters (for example to specify the u-boot loadaddress)
|
|
KERNEL_MAKE_EXTRACMD="dtbs"
|
|
|
|
#Set kernel toolchain
|
|
#KERNEL_TOOLCHAIN=""
|
|
|
|
################################################################################
|
|
# setup build defaults
|
|
################################################################################
|
|
|
|
# Project CFLAGS
|
|
if [ "${DEBUG}" = "no" -o "${DEBUG}" = "" ]; then
|
|
PROJECT_CFLAGS="-O3"
|
|
fi
|
|
# SquashFS compression method (gzip / lzo / xz)
|
|
SQUASHFS_COMPRESSION="lzo"
|
|
|
|
################################################################################
|
|
# setup project defaults
|
|
################################################################################
|
|
#Set LIBDRM config options.... this isnt needed on L4T, as we install seperate libDRM in tegra-bsp package.
|
|
#LIBDRM_CONFIG="--enable-tegra-experimental-api"
|
|
|
|
# build and install ALSA Audio support (yes / no)
|
|
ALSA_SUPPORT="yes"
|
|
|
|
# build and install PulseAudio support (yes / no)
|
|
PULSEAUDIO_SUPPORT="yes"
|
|
|
|
# build and install WireGuard support (yes / no)
|
|
WIREGUARD_SUPPORT="no"
|
|
|
|
if [ "${DISTRO}" = "Lakka" ]; then
|
|
# OpenGL(X) implementation to use (no / Mesa)
|
|
OPENGLES="no" #OpenGLES works, but breaks some cores that dont support it(Moonlight)
|
|
|
|
# OpenGL implementation to use (no / Mesa)
|
|
OPENGL="mesa"
|
|
else
|
|
# OpenGL(X) implementation to use (no / Mesa)
|
|
OPENGLES="mesa" #OpenGLES works, but breaks some cores that dont support it(Moonlight)
|
|
|
|
# OpenGL implementation to use (no / Mesa)
|
|
OPENGL="mesa"
|
|
fi
|
|
|
|
# Vulkan Support
|
|
VULKAN="vulkan-loader"
|
|
# 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="nouveau"
|
|
|
|
# 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"
|
|
|
|
# OEM packages for OEM's (yes / no)
|
|
# OEM_SUPPORT="no"
|
|
|
|
# additional drivers to install:
|
|
# for a list of additinoal drivers see packages/linux-drivers
|
|
# Space separated list is supported,
|
|
# e.g. ADDITIONAL_DRIVERS="DRIVER1 DRIVER2"
|
|
ADDITIONAL_DRIVERS="tegra-bsp"
|
|
|
|
# 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"
|
|
|
|
# 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="L4T"
|
|
|
|
# CEC Support
|
|
CEC_FRAMEWORK_SUPPORT="no"
|
|
|
|
# Set Distro Specific options
|
|
if [ "${DISTRO}" = "LibreELEC" ]; then
|
|
#Add Support for git downloads
|
|
GET_HANDLER_SUPPORT+=" git"
|
|
#Use wpa_supplicant over iwd
|
|
WIRELESS_DAEMON="wpa_supplicant"
|
|
fi
|
|
|
|
# disable arm target
|
|
|
|
if [ "${ARCH}" = "arm" ]; then
|
|
echo "Error: 32bit ARM arch is not supported by L4T"
|
|
exit 1
|
|
fi
|
|
|