mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2025-04-02 10:41:46 -04:00
377 lines
10 KiB
Text
377 lines
10 KiB
Text
# LTO (Link Time Optimization) support
|
|
LTO_SUPPORT="yes"
|
|
|
|
# GOLD (Google Linker) support
|
|
GOLD_SUPPORT="yes"
|
|
|
|
# HARDENING (security relevant linker and compiler flags) support
|
|
HARDENING_SUPPORT="no"
|
|
|
|
# Name of the Distro to build (full name, without special characters)
|
|
DISTRONAME="Lakka"
|
|
|
|
# short project description
|
|
DESCRIPTION="Lakka is a fast and user-friendly retroarch turnkey distribution"
|
|
|
|
# Welcome Message for e.g. SSH Server (up to 5 Lines)
|
|
GREETING0="###########################################"
|
|
GREETING1="# Lakka - The DIY retro emulation console #"
|
|
GREETING2="# ...... visit http://www.lakka.tv ...... #"
|
|
GREETING3="###########################################"
|
|
GREETING4=""
|
|
|
|
# Root password to integrate in the target system
|
|
ROOT_PASSWORD="root"
|
|
|
|
# Install glibc locales to the build (yes / no)
|
|
GLIBC_LOCALES="yes"
|
|
|
|
# Mediacenter to use (kodi / no)
|
|
MEDIACENTER="no"
|
|
|
|
# additional drivers to install:
|
|
# for a list of additional drivers see packages/linux-drivers
|
|
# Space separated list is supported,
|
|
# e.g. ADDITIONAL_DRIVERS="DRIVER1 DRIVER2"
|
|
ADDITIONAL_DRIVERS=""
|
|
|
|
# build and install bluetooth support (yes / no)
|
|
BLUETOOTH_SUPPORT="yes"
|
|
|
|
# build and install Avahi (Zeroconf) daemon (yes / no)
|
|
AVAHI_DAEMON="yes"
|
|
|
|
# build with NFS support (mounting nfs shares via the OS) (yes / no)
|
|
NFS_SUPPORT="yes"
|
|
|
|
# build with Samba Client support (mounting samba shares via the OS) (yes / no)
|
|
SAMBA_SUPPORT="yes"
|
|
|
|
# build and install Samba Server (yes / no)
|
|
SAMBA_SERVER="yes"
|
|
|
|
# build and install SFTP Server (yes / no)
|
|
SFTP_SERVER="yes"
|
|
|
|
# build and install OpenVPN support (yes / no)
|
|
OPENVPN_SUPPORT="yes"
|
|
|
|
# build and install WireGuard support (yes / no)
|
|
WIREGUARD_SUPPORT="yes"
|
|
|
|
# build and install diskmounter support (udevil)
|
|
# this service provide auto mounting support for external drives in the
|
|
# mediacenter also automount internally drives at boottime via udev (yes / no)
|
|
UDEVIL="yes"
|
|
|
|
# build and install exFAT fuse support (yes / no)
|
|
EXFAT="yes"
|
|
|
|
# build and install NTFS-3G fuse support (yes / no)
|
|
NTFS3G="yes"
|
|
|
|
# build and install hfs filesystem utilities (yes / no)
|
|
HFSTOOLS="yes"
|
|
|
|
# Windowmanager to use (fluxbox / none)
|
|
WINDOWMANAGER="none"
|
|
|
|
# Xorg Graphic drivers to use (all / i915,crocus,r200,r300,r600,nvidia)
|
|
# Space separated list is supported,
|
|
# e.g. GRAPHIC_DRIVERS="i915 crocus r300 r600 radeonsi nvidia"
|
|
GRAPHIC_DRIVERS="r300 r600 radeonsi iris crocus i915 nouveau"
|
|
|
|
# build and install remote support (yes / no)
|
|
REMOTE_SUPPORT="no"
|
|
|
|
# build and install Joystick support (yes / no)
|
|
JOYSTICK_SUPPORT="yes"
|
|
|
|
# build and install CEC adapter support (yes / no)
|
|
# CEC_SUPPORT="no"
|
|
|
|
# build and install CEC framework support (yes / no)
|
|
CEC_FRAMEWORK_SUPPORT="no"
|
|
|
|
# build and install iSCSI support - iscsistart (yes / no)
|
|
ISCSI_SUPPORT="yes"
|
|
|
|
# Support for partitioning and formating disks in initramfs (yes / no)
|
|
# This adds support for parted and mkfs.ext3/4 to initramfs for OEM usage
|
|
INITRAMFS_PARTED_SUPPORT="no"
|
|
|
|
# build with swap support (yes / no)
|
|
SWAP_SUPPORT="yes"
|
|
|
|
# swap support enabled per default (yes / no)
|
|
SWAP_ENABLED_DEFAULT="no"
|
|
|
|
# swapfile size if SWAP_SUPPORT=yes in MB
|
|
SWAPFILESIZE="128"
|
|
|
|
# additional packages to install:
|
|
# Space separated list is supported,
|
|
# e.g. ADDITIONAL_PACKAGES="PACKAGE1 PACKAGE2"
|
|
ADDITIONAL_PACKAGES="rsync xpadneo"
|
|
|
|
# build with installer (yes / no)
|
|
INSTALLER_SUPPORT="yes"
|
|
|
|
# Testpackages for development (yes / no)
|
|
TESTING="no"
|
|
|
|
# OEM packages for OEM's (yes / no)
|
|
OEM_SUPPORT="yes"
|
|
|
|
# build and install nano text editor (yes / no)
|
|
NANO_EDITOR="yes"
|
|
|
|
# cron support (yes / no)
|
|
CRON_SUPPORT="yes"
|
|
|
|
# Distribution Specific source location
|
|
DISTRO_MIRROR="http://sources.libreelec.tv/mirror"
|
|
DISTRO_SRC="http://sources.libreelec.tv/$LIBREELEC_VERSION"
|
|
|
|
# Addon Server Url
|
|
# ADDON_SERVER_URL="https://addons.libreelec.tv"
|
|
|
|
# set the addon dirs
|
|
ADDON_PATH="$ADDON_VERSION/${DEVICE:-$PROJECT}/$TARGET_ARCH"
|
|
ADDON_URL="$ADDON_SERVER_URL/$ADDON_PATH"
|
|
|
|
# Default size of system partition, in MB, eg. 512
|
|
SYSTEM_SIZE=2048
|
|
# Default system partition offset, in sectors, eg. 2048
|
|
SYSTEM_PART_START=8192
|
|
|
|
# Configure debug groups (space delimited key=value pairs, with each value comma-delimited) and default group when DEBUG=yes
|
|
# Use ! or - prefix to prevent a dependent package from being built with debug. Add + suffix to build dependenencies with debug.
|
|
# DEBUG_GROUPS="kodi+=kodi+,kodi-platform+,p8-platform+,!mesa"
|
|
# DEBUG_GROUP_YES="kodi+"
|
|
|
|
# Default supported get handlers (archive, git, file etc.)
|
|
GET_HANDLER_SUPPORT="archive git"
|
|
|
|
# Partition labels for USB/SD installation media
|
|
DISTRO_BOOTLABEL="LAKKA"
|
|
DISTRO_DISKLABEL="LAKKA_DISK"
|
|
|
|
# Settings package name - blank if not required
|
|
# DISTRO_PKG_SETTINGS="LibreELEC-settings"
|
|
|
|
# IR remote protocols supported in default config
|
|
# IR_REMOTE_PROTOCOLS=""
|
|
|
|
# IR remote keymaps supported in default config
|
|
# IR_REMOTE_KEYMAPS=""
|
|
|
|
LAKKA_MIRROR="http://sources.lakka.tv"
|
|
|
|
DISTRO_WEBSITE="https://www.lakka.tv/"
|
|
|
|
# PINN group for the distro
|
|
DISTRO_PINN_GROUP="Games"
|
|
|
|
LIBRETRO_CORES=""\
|
|
" 2048 "\
|
|
" 81 "\
|
|
" a5200 "\
|
|
" atari800 "\
|
|
" beetle-bsnes "\
|
|
" beetle-lynx "\
|
|
" beetle-ngp "\
|
|
" beetle-pce "\
|
|
" beetle-pce-fast "\
|
|
" beetle-pcfx "\
|
|
" beetle-psx "\
|
|
" beetle-saturn "\
|
|
" beetle-supafaust "\
|
|
" beetle-supergrafx "\
|
|
" beetle-vb "\
|
|
" beetle-wswan "\
|
|
" bk_emulator "\
|
|
" blastem "\
|
|
" bluemsx "\
|
|
" bsnes "\
|
|
" bsnes-mercury "\
|
|
" bsnes2014 "\
|
|
" bsnes_hd "\
|
|
" cannonball "\
|
|
" cap32 "\
|
|
" chailove "\
|
|
" citra "\
|
|
" crocods "\
|
|
" daphne "\
|
|
" desmume "\
|
|
" desmume-2015 "\
|
|
" dinothawr "\
|
|
" dolphin "\
|
|
" dosbox "\
|
|
" dosbox-pure "\
|
|
" dosbox-svn "\
|
|
" ecwolf "\
|
|
" emux-sms"\
|
|
" easyrpg "\
|
|
" fbneo "\
|
|
" fceumm "\
|
|
" flycast "\
|
|
" fmsx "\
|
|
" freechaf "\
|
|
" freeintv "\
|
|
" fuse-libretro "\
|
|
" gambatte "\
|
|
" genesis-plus-gx "\
|
|
" genesis_plus_gx_wide "\
|
|
" gearboy "\
|
|
" gearsystem "\
|
|
" gme "\
|
|
" gpsp "\
|
|
" gw-libretro "\
|
|
" handy "\
|
|
" hatari "\
|
|
" higan-sfc "\
|
|
" higan-sfc-balanced "\
|
|
" jumpnbump "\
|
|
" kronos "\
|
|
" lowres-nx "\
|
|
" lutro "\
|
|
" mame2003-plus "\
|
|
" mame2010 "\
|
|
" mame2015 "\
|
|
" melonds "\
|
|
" meowpc98 "\
|
|
" mesen "\
|
|
" mesen-s "\
|
|
" mgba "\
|
|
" mrboom "\
|
|
" mu "\
|
|
" mupen64plus_next "\
|
|
" neocd "\
|
|
" nestopia "\
|
|
" np2kai "\
|
|
" nxengine "\
|
|
" o2em "\
|
|
" openlara "\
|
|
" opera "\
|
|
" parallel-n64 "\
|
|
" pcsx2 "\
|
|
" pcsx_rearmed "\
|
|
" picodrive "\
|
|
" play "\
|
|
" pocketcdg "\
|
|
" pokemini "\
|
|
" potator "\
|
|
" ppsspp "\
|
|
" prboom "\
|
|
" prosystem "\
|
|
" puae "\
|
|
" px68k "\
|
|
" race "\
|
|
" quasi88 "\
|
|
" reminiscence "\
|
|
" retro8 "\
|
|
" sameboy "\
|
|
" sameduck "\
|
|
" scummvm "\
|
|
" snes9x "\
|
|
" snes9x2002 "\
|
|
" snes9x2005 "\
|
|
" snes9x2005_plus "\
|
|
" snes9x2010 "\
|
|
" stella "\
|
|
" stella2014 "\
|
|
" swanstation "\
|
|
" tgbdual "\
|
|
" theodore "\
|
|
" tic80 "\
|
|
" tyrquake "\
|
|
" uae4arm "\
|
|
" uzem "\
|
|
" vbam "\
|
|
" vecx "\
|
|
" vice "\
|
|
" virtualjaguar "\
|
|
" wasm4 "\
|
|
" xmil "\
|
|
" xrick "\
|
|
" yabasanshiro "\
|
|
" yabause "\
|
|
""
|
|
|
|
# disable some cores
|
|
if [ "$PROJECT" = "RPi" ]; then
|
|
LIBRETRO_CORES="${LIBRETRO_CORES// yabasanshiro /}"
|
|
if [ "$DEVICE" = "RPi" -o "$DEVICE" = "GPICase" ]; then
|
|
LIBRETRO_CORES="${LIBRETRO_CORES// 4do /}"
|
|
LIBRETRO_CORES="${LIBRETRO_CORES// beetle-bsnes /}"
|
|
LIBRETRO_CORES="${LIBRETRO_CORES// beetle-psx /}"
|
|
LIBRETRO_CORES="${LIBRETRO_CORES// beetle-saturn /}"
|
|
LIBRETRO_CORES="${LIBRETRO_CORES// beetle-vb /}"
|
|
LIBRETRO_CORES="${LIBRETRO_CORES// bsnes-mercury /}"
|
|
LIBRETRO_CORES="${LIBRETRO_CORES// bsnes2014 /}"
|
|
LIBRETRO_CORES="${LIBRETRO_CORES// bsnes /}"
|
|
LIBRETRO_CORES="${LIBRETRO_CORES// bsnes_hd /}"
|
|
LIBRETRO_CORES="${LIBRETRO_CORES// citra /}"
|
|
LIBRETRO_CORES="${LIBRETRO_CORES// desmume-2015 /}"
|
|
LIBRETRO_CORES="${LIBRETRO_CORES// desmume /}"
|
|
LIBRETRO_CORES="${LIBRETRO_CORES// dolphin /}"
|
|
LIBRETRO_CORES="${LIBRETRO_CORES// dosbox-svn /}"
|
|
LIBRETRO_CORES="${LIBRETRO_CORES// dosbox-pure /}"
|
|
LIBRETRO_CORES="${LIBRETRO_CORES// dosbox /}"
|
|
LIBRETRO_CORES="${LIBRETRO_CORES// fbneo /}"
|
|
LIBRETRO_CORES="${LIBRETRO_CORES// flycast /}"
|
|
LIBRETRO_CORES="${LIBRETRO_CORES// genesis-plus-gx /}"
|
|
LIBRETRO_CORES="${LIBRETRO_CORES// higan-sfc-balanced /}"
|
|
LIBRETRO_CORES="${LIBRETRO_CORES// higan-sfc /}"
|
|
LIBRETRO_CORES="${LIBRETRO_CORES// kronos /}"
|
|
LIBRETRO_CORES="${LIBRETRO_CORES// mame2003-plus /}"
|
|
LIBRETRO_CORES="${LIBRETRO_CORES// mame2010 /}"
|
|
LIBRETRO_CORES="${LIBRETRO_CORES// mame2015 /}"
|
|
LIBRETRO_CORES="${LIBRETRO_CORES// meowpc98 /}"
|
|
LIBRETRO_CORES="${LIBRETRO_CORES// mesen-s /}"
|
|
LIBRETRO_CORES="${LIBRETRO_CORES// mesen /}"
|
|
LIBRETRO_CORES="${LIBRETRO_CORES// mupen64plus_next /}"
|
|
LIBRETRO_CORES="${LIBRETRO_CORES// openlara /}"
|
|
LIBRETRO_CORES="${LIBRETRO_CORES// play /}"
|
|
LIBRETRO_CORES="${LIBRETRO_CORES// parallel-n64 /}"
|
|
LIBRETRO_CORES="${LIBRETRO_CORES// ppsspp /}"
|
|
LIBRETRO_CORES="${LIBRETRO_CORES// puae /}"
|
|
LIBRETRO_CORES="${LIBRETRO_CORES// snes9x2005_plus /}"
|
|
LIBRETRO_CORES="${LIBRETRO_CORES// snes9x2005 /}"
|
|
LIBRETRO_CORES="${LIBRETRO_CORES// snes9x2010 /}"
|
|
LIBRETRO_CORES="${LIBRETRO_CORES// snes9x /}"
|
|
LIBRETRO_CORES="${LIBRETRO_CORES// swanstation /}"
|
|
LIBRETRO_CORES="${LIBRETRO_CORES// uae4arm /}"
|
|
LIBRETRO_CORES="${LIBRETRO_CORES// vbam /}"
|
|
LIBRETRO_CORES="${LIBRETRO_CORES// virtualjaguar /}"
|
|
LIBRETRO_CORES="${LIBRETRO_CORES// yabause /}"
|
|
fi
|
|
if [ "$DEVICE" = "RPi2" ]; then
|
|
LIBRETRO_CORES="${LIBRETRO_CORES// play /}"
|
|
fi
|
|
if [ "$DEVICE" = "Pi02GPi" ]; then
|
|
LIBRETRO_CORES="${LIBRETRO_CORES// kronos /}"
|
|
LIBRETRO_CORES="${LIBRETRO_CORES// parallel-n64 /}"
|
|
LIBRETRO_CORES="${LIBRETRO_CORES// play /}"
|
|
LIBRETRO_CORES="${LIBRETRO_CORES// swanstation /}"
|
|
fi
|
|
elif [ "$PROJECT" = "Amlogic" -o "$PROJECT" = "Rockchip" -o "$PROJECT" = "Allwinner" ]; then
|
|
LIBRETRO_CORES="${LIBRETRO_CORES// yabasanshiro /}"
|
|
elif [ "$PROJECT" = "Generic" -a "$ARCH" = "i386" ]; then
|
|
LIBRETRO_CORES="${LIBRETRO_CORES// openlara /}"
|
|
fi
|
|
|
|
# disable kronos for specific platforms/targets
|
|
if [ "$PROJECT" = "Allwinner" -a "$DEVICE" = "A64" ] || \
|
|
[ "$PROJECT" = "Allwinner" -a "$DEVICE" = "H3" ] || \
|
|
[ "$PROJECT" = "Rockchip" -a "$DEVICE" = "RK3328" ]; then
|
|
LIBRETRO_CORES="${LIBRETRO_CORES// kronos /}"
|
|
fi
|
|
|
|
# add platform specific cores
|
|
if [ "$PROJECT" = "RPi" ]; then
|
|
if [ "$DEVICE" = "RPi" -o "$DEVICE" = "Gamegirl" -o "$DEVICE" = "GPICase" ]; then
|
|
LIBRETRO_CORES+=" mame2000 fbalpha2012 "
|
|
fi
|
|
fi
|