mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-27 10:30:52 +00:00
79e0dab722
closes #3341
367 lines
11 KiB
Plaintext
367 lines
11 KiB
Plaintext
# Name of the Distro to build (full name, without special characters)
|
|
DISTRONAME="OpenELEC"
|
|
if [ "$XBMC" = master ]; then
|
|
DISTRONAME="OpenELEC_Helix"
|
|
fi
|
|
|
|
# short project description
|
|
DESCRIPTION="OpenELEC is a fast and userfriendly XBMC Mediacenter distribution."
|
|
|
|
# Welcome Message for e.g. SSH Server (up to 5 Lines)
|
|
GREETING0="##############################################"
|
|
GREETING1="# OpenELEC - The living room PC for everyone #"
|
|
GREETING2="# ...... visit http://www.openelec.tv ...... #"
|
|
GREETING3="##############################################"
|
|
GREETING4=""
|
|
|
|
# Root password to integrate in the target system
|
|
ROOT_PASSWORD="openelec"
|
|
|
|
# The TARGET_CPU variable controls which processor should be targeted for
|
|
# generated code.
|
|
case $TARGET_ARCH in
|
|
i386)
|
|
# (AMD CPUs) k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3
|
|
# athlon-fx athlon-mp athlon-xp athlon-4
|
|
# athlon-tbird athlon k6-3 k6-2 k6 geode
|
|
# (Intel CPUs) atom core2 nocona prescott pentium4[m] pentium3[m]
|
|
# pentium-m pentium2 pentiumpro pentium-mmx pentium
|
|
# i686 i586 i486 i386
|
|
# (VIA CPUs) c3 c3-2
|
|
#
|
|
TARGET_CPU="i686"
|
|
;;
|
|
|
|
x86_64)
|
|
# (AMD CPUs) k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3
|
|
# athlon-fx amdfam10 barcelona
|
|
# (Intel CPUs) atom core2 nocona
|
|
#
|
|
TARGET_CPU="x86-64"
|
|
;;
|
|
|
|
arm)
|
|
# TARGET_CPU:
|
|
# arm2 arm250 arm3 arm6 arm60 arm600 arm610 arm620 arm7 arm7m arm7d
|
|
# arm7dm arm7di arm7dmi arm70 arm700 arm700i arm710 arm710c
|
|
# arm7100 arm720 arm7500 arm7500fe arm7tdmi arm7tdmi-s arm710t
|
|
# arm720t arm740t strongarm strongarm110 strongarm1100
|
|
# strongarm1110 arm8 arm810 arm9 arm9e arm920 arm920t arm922t
|
|
# arm946e-s arm966e-s arm968e-s arm926ej-s arm940t arm9tdmi
|
|
# arm10tdmi arm1020t arm1026ej-s arm10e arm1020e arm1022e
|
|
# arm1136j-s arm1136jf-s mpcore mpcorenovfp arm1156t2-s
|
|
# arm1176jz-s arm1176jzf-s cortex-a8 cortex-a9 cortex-r4
|
|
# cortex-r4f cortex-m3 cortex-m1 xscale iwmmxt iwmmxt2 ep9312.
|
|
#
|
|
TARGET_CPU="cortex-a9"
|
|
|
|
# TARGET_FLOAT:
|
|
# Specifies which floating-point ABI to use. Permissible values are:
|
|
# soft softfp hard
|
|
TARGET_FLOAT="softfp"
|
|
|
|
# TARGET_FPU:
|
|
# This specifies what floating point hardware (or hardware emulation) is
|
|
# available on the target. Permissible names are:
|
|
# fpa fpe2 fpe3 maverick vfp vfpv3 vfpv3-fp16 vfpv3-d16 vfpv3-d16-fp16
|
|
# vfpv3xd vfpv3xd-fp16 neon neon-fp16 vfpv4 vfpv4-d16 fpv4-sp-d16
|
|
# neon-vfpv4.
|
|
TARGET_FPU="neon"
|
|
;;
|
|
esac
|
|
|
|
# Build optimizations (size/normal)
|
|
OPTIMIZATIONS="size"
|
|
|
|
# Project CFLAGS
|
|
PROJECT_CFLAGS="-mmmx -msse -msse2 -mfpmath=sse"
|
|
|
|
# LTO (Link Time Optimization) support
|
|
LTO_SUPPORT="yes"
|
|
|
|
# GOLD (Google Linker) support
|
|
GOLD_SUPPORT="yes"
|
|
|
|
# Bootloader to use (syslinux / u-boot / atv-bootloader)
|
|
BOOTLOADER="syslinux"
|
|
|
|
# u-boot version to use (default)
|
|
UBOOT_VERSION="default"
|
|
|
|
# Configuration for u-boot
|
|
UBOOT_CONFIG=""
|
|
|
|
# Target Configfile for u-boot
|
|
UBOOT_CONFIGFILE=""
|
|
|
|
# Kernel target for u-boot (default 'uImage' if BOOTLOADER=u-boot) (uImage / zImage)
|
|
KERNEL_UBOOT_TARGET=""
|
|
|
|
# Kernel extra targets to build
|
|
KERNEL_UBOOT_EXTRA_TARGET=""
|
|
|
|
# Additional kernel make parameters (for example to specify the u-boot loadaddress)
|
|
KERNEL_MAKE_EXTRACMD=""
|
|
|
|
# GCC to use. values can be:
|
|
# default: default mainline gcc
|
|
GCC_VERSION="default"
|
|
|
|
# Kernel to use. values can be:
|
|
# default: default mainline kernel
|
|
LINUX="default"
|
|
|
|
# use linux-next (latest rc) instead latest released version
|
|
LINUX_NEXT="no"
|
|
|
|
# SquashFS compression method (gzip / lzo / xz)
|
|
SQUASHFS_COMPRESSION="gzip"
|
|
|
|
# Mediacenter to use (xbmc / no)
|
|
MEDIACENTER="xbmc"
|
|
if [ "$XBMC" = master ]; then
|
|
MEDIACENTER="xbmc-master"
|
|
fi
|
|
|
|
# Skins to install (Confluence)
|
|
# Space separated list is supported,
|
|
# e.g. SKINS="Confluence"
|
|
SKINS="Confluence"
|
|
|
|
# Default Skin (Confluence)
|
|
SKIN_DEFAULT="Confluence"
|
|
|
|
# install extra subtitle Fonts for XBMC (yes / no)
|
|
XBMC_EXTRA_FONTS="yes"
|
|
|
|
# build and install 'RSXS' Screensaver (yes / no)
|
|
XBMC_SCR_RSXS="yes"
|
|
|
|
# build and install 'ProjectM' Visualization (yes / no)
|
|
XBMC_VIS_PROJECTM="yes"
|
|
|
|
# build and install 'GOOM' Visualization (yes / no)
|
|
XBMC_VIS_GOOM="yes"
|
|
|
|
# build and install 'Waveform' Visualization (yes / no)
|
|
XBMC_VIS_WAVEFORM="yes"
|
|
|
|
# build and install 'Spectrum' Visualization (yes / no)
|
|
XBMC_VIS_SPECTRUM="yes"
|
|
|
|
# build and install 'FishBMC' Visualization (yes / no)
|
|
XBMC_VIS_FISHBMC="yes"
|
|
|
|
# build and install ALSA Audio support (yes / no)
|
|
ALSA_SUPPORT="yes"
|
|
|
|
# build and install PulseAudio support (yes / no)
|
|
PULSEAUDIO_SUPPORT="no"
|
|
|
|
# build and install espeak support (yes / no)
|
|
ESPEAK_SUPPORT="yes"
|
|
|
|
# build and install with non-free support
|
|
# (RAR compression support in XBMC) (yes / no)
|
|
NONFREE_SUPPORT="yes"
|
|
|
|
# build and install with DVDCSS support
|
|
# (DVD decryption support in XBMC) (yes / no)
|
|
DVDCSS_SUPPORT="yes"
|
|
|
|
# build and install with LAME cdrip encoder support
|
|
ENCODER_LAME="yes"
|
|
|
|
# build and install with BluRay support (yes / no)
|
|
BLURAY_SUPPORT="yes"
|
|
|
|
# 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="RTL8192CU RTL8192DU RTL8188EU RTL8812AU dvbhdhomerun"
|
|
|
|
# build and install bluetooth support (yes / no)
|
|
BLUETOOTH_SUPPORT="yes"
|
|
|
|
# build and install with XBMC webfrontend (yes / no)
|
|
WEBSERVER="yes"
|
|
|
|
# build and install Avahi (Zeroconf) daemon (yes / no)
|
|
AVAHI_DAEMON="yes"
|
|
|
|
# build with UPnP support (yes / no)
|
|
UPNP_SUPPORT="yes"
|
|
|
|
# build with MySQL support (yes / no)
|
|
MYSQL_SUPPORT="yes"
|
|
|
|
# build xbmc with sshlib support (yes / no)
|
|
SSHLIB_SUPPORT="yes"
|
|
|
|
# build xbmc with optical drive support (yes / no)
|
|
OPTICAL_DRIVE_SUPPORT="yes"
|
|
|
|
# build with AirPlay support (stream videos from iDevices to XBMC) (yes / no)
|
|
AIRPLAY_SUPPORT="yes"
|
|
|
|
# build with AirTunes support (stream music from iDevices to XBMC) (yes / no)
|
|
AIRTUNES_SUPPORT="yes"
|
|
|
|
# build with libnfs support (mounting nfs shares with XBMC) (yes / no)
|
|
NFS_SUPPORT="yes"
|
|
|
|
# build with afpfs-ng support (mounting AFP shares with XBMC) (yes / no)
|
|
AFP_SUPPORT="yes"
|
|
|
|
# build and install Samba Client support (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 PPP support (yes / no)
|
|
PPTP_SUPPORT="yes"
|
|
|
|
# build and install OpenVPN support (yes / no)
|
|
OPENVPN_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"
|
|
|
|
# OpenGL(X) implementation to use (no / Mesa)
|
|
OPENGL="Mesa"
|
|
|
|
# OpenGL-ES implementation to use (no)
|
|
OPENGLES="no"
|
|
|
|
# Windowmanager to use (ratpoison / fluxbox / none)
|
|
WINDOWMANAGER="fluxbox"
|
|
|
|
# include uvesafb support (yes / no)
|
|
UVESAFB_SUPPORT="yes"
|
|
|
|
# Displayserver to use (x11 / no)
|
|
DISPLAYSERVER="x11"
|
|
|
|
# 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 nvidia nouveau"
|
|
if [ "$TARGET_ARCH" = "i386" ]; then
|
|
# TODO: create Legacy build with OpenELEC-4.2
|
|
# install legacy drivers to i386 ARCH
|
|
GRAPHIC_DRIVERS="r200 r300 r600 i915 i965 nvidia-legacy"
|
|
elif [ "$TARGET_ARCH" = "x86_64" ]; then
|
|
GRAPHIC_DRIVERS="r300 r600 radeonsi i915 i965 nvidia"
|
|
fi
|
|
|
|
# XBMC Player implementation to use (default / bcm2835-driver)
|
|
XBMCPLAYER_DRIVER="default"
|
|
|
|
# Use VDPAU video acceleration (needs nVidia driver and a supported card)
|
|
VDPAU="yes"
|
|
|
|
# Use VAAPI video acceleration (needs intel i965 driver and a supported card)
|
|
VAAPI="yes"
|
|
|
|
# Use Broadcom CrystalHD Decoder Card for video acceleration
|
|
# (needs Kernelsupport for Broadcom Decoder Card and a supported card)
|
|
CRYSTALHD="yes"
|
|
|
|
# build and install remote support (yes / no)
|
|
REMOTE_SUPPORT="yes"
|
|
|
|
# build and install ATV IR remote support (yes / no)
|
|
ATVCLIENT_SUPPORT="yes"
|
|
|
|
# build and install IRServer IR/LCD support (yes / no)
|
|
IRSERVER_SUPPORT="yes"
|
|
|
|
# build and install Joystick support (yes / no)
|
|
JOYSTICK_SUPPORT="yes"
|
|
|
|
# build and install CEC adapter support (yes / no)
|
|
CEC_SUPPORT="yes"
|
|
|
|
# build and install iSCSI support - iscsistart (yes / no)
|
|
ISCSI_SUPPORT="yes"
|
|
|
|
# LCD driver to Use - Possible drivers are ( Comma seperated:
|
|
# bayrad,CFontz,CFontz633,CFontzPacket,curses,CwLnx,dm140,
|
|
# ea65,EyeboxOne,g15,glcdlib,glk,hd44780,i2500vfd,
|
|
# icp_a106,imon,imonlcd,IOWarrior,irman,irtrans,
|
|
# joy,lb216,lcdm001,lcterm,lirc,lis,MD8800,mdm166a,
|
|
# ms6931,mtc_s16209x,MtxOrb,mx5000,NoritakeVFD,
|
|
# picolcd,pyramid,sed1330,sed1520,serialPOS,
|
|
# serialVFD,shuttleVFD,sli,stv5730,SureElec,svga,vlsys_m428
|
|
# 'all' compiles all drivers;
|
|
# 'all,!xxx,!yyy' de-selects previously selected drivers
|
|
# "none" for disable LCD support
|
|
LCD_DRIVER="irtrans,imon,imonlcd,mdm166a,MtxOrb,lis,dm140,hd44780,CFontz,SureElec,vlsys_m428,serialVFD"
|
|
|
|
# Modules to install in initramfs for early boot
|
|
INITRAMFS_MODULES="xhci-hcd"
|
|
|
|
# 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 with lm_sensors hardware monitoring support (yes / no)
|
|
SENSOR_SUPPORT="yes"
|
|
|
|
# build with swap support (yes / no)
|
|
SWAP_SUPPORT="no"
|
|
|
|
# swap support enabled per default (yes / no)
|
|
SWAP_ENABLED_DEFAULT="no"
|
|
|
|
# swapfile size if SWAP_SUPPORT=yes in MB
|
|
SWAPFILESIZE="256"
|
|
|
|
# build with installer (yes / no)
|
|
INSTALLER_SUPPORT="yes"
|
|
|
|
# Testpackages for development (yes / no)
|
|
TESTING="no"
|
|
|
|
# OEM packages for OEM's (yes / no)
|
|
OEM_SUPPORT="no"
|
|
|
|
# build and install nano text editor (yes / no)
|
|
NANO_EDITOR="yes"
|
|
|
|
# cron support (yes / no)
|
|
CRON_SUPPORT="yes"
|
|
|
|
# Perf support in development builds (yes / no)
|
|
PERF_SUPPORT="yes"
|
|
|
|
# Coreboot support (yes / no)
|
|
COREBOOT="no"
|
|
|
|
# Distribution Specific source location
|
|
DISTRO_MIRROR="http://sources.openelec.tv/mirror"
|
|
DISTRO_SRC="http://sources.openelec.tv/$OPENELEC_VERSION"
|
|
|
|
# Addon Server Url
|
|
ADDON_SERVER_URL="http://addons.openelec.tv"
|
|
|
|
# set the addon dirs
|
|
ADDON_PATH="$ADDON_VERSION/$PROJECT/$TARGET_ARCH"
|
|
ADDON_URL="$ADDON_SERVER_URL/$ADDON_PATH"
|