2010-12-11 14:05:13 +00:00
|
|
|
# Name of the Distro to build (full name, without special charcters)
|
|
|
|
DISTRONAME="OpenELEC"
|
|
|
|
|
2009-11-22 14:08:07 +00:00
|
|
|
# Welcome Message for e.g. SSH Server (up to 5 Lines)
|
2010-12-28 17:32:07 +00:00
|
|
|
GREATING0="##############################################"
|
|
|
|
GREATING1="# OpenELEC - The living room PC for everyone #"
|
|
|
|
GREATING2="# ...... visit http://www.openelec.tv ...... #"
|
|
|
|
GREATING3="##############################################"
|
2009-11-22 14:08:07 +00:00
|
|
|
GREATING4=""
|
2009-05-02 21:54:39 +00:00
|
|
|
|
2010-03-14 16:24:00 +00:00
|
|
|
# Hostname for target system (openelec)
|
|
|
|
HOSTNAME="openelec"
|
|
|
|
|
2009-11-22 14:08:07 +00:00
|
|
|
# Root password to integrate in the target system
|
|
|
|
ROOT_PASSWORD="openelec"
|
2009-05-02 21:54:39 +00:00
|
|
|
|
2010-03-16 10:33:16 +00:00
|
|
|
# User to integrate in the target system
|
|
|
|
USER_NAME="openelec"
|
|
|
|
|
|
|
|
# User group to integrate in the target system
|
|
|
|
USER_GROUP="openelec"
|
|
|
|
|
|
|
|
# User password to integrate in the target system
|
|
|
|
USER_PASSWORD="openelec"
|
|
|
|
|
2009-12-19 00:35:31 +00:00
|
|
|
# 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
|
2010-04-27 11:25:35 +00:00
|
|
|
# (Intel CPUs) atom core2 nocona prescott pentium4[m] pentium3[m]
|
|
|
|
# pentium-m pentium2 pentiumpro pentium-mmx pentium
|
2009-12-19 00:35:31 +00:00
|
|
|
# i686 i586 i486 i386
|
|
|
|
# (VIA CPUs) c3 c3-2
|
|
|
|
#
|
2010-06-13 23:31:17 +00:00
|
|
|
TARGET_CPU="i686"
|
2009-12-19 00:35:31 +00:00
|
|
|
;;
|
|
|
|
|
|
|
|
x86_64)
|
|
|
|
# (AMD CPUs) k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3
|
|
|
|
# athlon-fx amdfam10 barcelona
|
2010-04-27 11:25:35 +00:00
|
|
|
# (Intel CPUs) atom core2 nocona
|
2009-12-19 00:35:31 +00:00
|
|
|
#
|
2010-06-13 23:31:17 +00:00
|
|
|
TARGET_CPU="i686"
|
2009-12-19 00:35:31 +00:00
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
# Build optimizations (size/speed)
|
|
|
|
OPTIMIZATIONS="speed"
|
|
|
|
|
|
|
|
# Project CFLAGS
|
2010-01-04 02:57:12 +00:00
|
|
|
PROJECT_CFLAGS="-mmmx -msse -msse2 -mfpmath=sse"
|
2009-12-19 00:35:31 +00:00
|
|
|
|
2010-03-12 17:23:36 +00:00
|
|
|
# Mediacenter to use (xbmc / no)
|
2010-12-17 20:22:06 +00:00
|
|
|
MEDIACENTER="xbmc"
|
2009-11-22 14:08:07 +00:00
|
|
|
|
2010-08-26 20:29:52 +00:00
|
|
|
# Skins to install (Confluence)
|
|
|
|
SKINS="Confluence"
|
|
|
|
|
|
|
|
# Default Skin (Confluence)
|
|
|
|
SKIN_DEFAULT="Confluence"
|
2009-11-22 14:08:07 +00:00
|
|
|
|
2010-01-07 23:23:10 +00:00
|
|
|
# Plugins for XBMC to install (SABnzbd)
|
|
|
|
# Space separated list is supported,
|
|
|
|
# e.g. XBMC_PLUGINS="SABnzbd"
|
2010-02-13 05:00:59 +00:00
|
|
|
XBMC_PLUGINS=""
|
2010-01-07 23:23:10 +00:00
|
|
|
|
2010-11-01 08:13:02 +00:00
|
|
|
# build and install 'ProjectM' Visualization (yes / no)
|
|
|
|
XBMC_VIS_PROJECTM="yes"
|
|
|
|
|
2010-06-09 04:11:25 +00:00
|
|
|
# build and install with non-free support
|
|
|
|
# (RAR compression support in XBMC) (yes / no)
|
|
|
|
NONFREE_SUPPORT="yes"
|
|
|
|
|
2010-06-09 04:15:14 +00:00
|
|
|
# build and install with DVDCSS support
|
|
|
|
# (DVD decryption support in XBMC) (yes / no)
|
|
|
|
DVDCSS_SUPPORT="yes"
|
|
|
|
|
2010-11-22 05:23:20 +00:00
|
|
|
# build and install Tvheadend TV server (yes / no)
|
|
|
|
TVHEADEND="yes"
|
|
|
|
|
2010-10-10 21:12:42 +00:00
|
|
|
# additional drivers to install:
|
2010-11-22 05:19:15 +00:00
|
|
|
# bcm_sta: Broadcom STA WLAN Driver
|
2010-10-10 21:12:42 +00:00
|
|
|
# rtl8192se: Realtek RTL8192SE WLAN driver
|
|
|
|
# Space separated list is supported,
|
|
|
|
# e.g. ADDITIONAL_DRIVERS="rtl8192se"
|
|
|
|
ADDITIONAL_DRIVERS="rtl8192se"
|
|
|
|
|
2009-11-22 14:08:07 +00:00
|
|
|
# build with network support (yes / no)
|
2009-12-19 00:35:31 +00:00
|
|
|
NETWORK="yes"
|
2009-11-22 14:08:07 +00:00
|
|
|
|
2010-12-10 04:28:36 +00:00
|
|
|
# build with netmount (mounting network drives on boot) support (yes / no)
|
|
|
|
NETMOUNT="yes"
|
|
|
|
|
2010-06-09 03:49:47 +00:00
|
|
|
# build and install with XBMC webfrontend (yes / no)
|
|
|
|
WEBSERVER="yes"
|
|
|
|
|
2010-06-03 14:51:58 +00:00
|
|
|
# build and install Avahi (Zeroconf) daemon (yes / no)
|
|
|
|
AVAHI_DAEMON="yes"
|
|
|
|
|
2009-11-22 14:08:07 +00:00
|
|
|
# build and install Samba Server (yes / no)
|
2009-12-19 00:35:31 +00:00
|
|
|
SAMBA_SERVER="yes"
|
|
|
|
|
2010-05-05 19:45:00 +00:00
|
|
|
# build and install Transmission BitTorrent daemon (yes / no)
|
|
|
|
TRANSMISSION="yes"
|
|
|
|
|
2011-01-15 17:38:29 +00:00
|
|
|
# build and install SABnzbd Newsgroup downloader daemon (yes / no)
|
|
|
|
SABNZBD="yes"
|
|
|
|
|
2011-01-18 10:13:18 +00:00
|
|
|
# build and install SickBeard Newsgroup downloader daemon (yes / no)
|
|
|
|
SICKBEARD="yes"
|
|
|
|
|
2010-12-19 11:16:59 +00:00
|
|
|
# build and install some tools for including in release (yes / no)
|
|
|
|
# some of this tools are: htop, nano, wgetpaste
|
|
|
|
TOOLS="yes"
|
2009-11-22 14:08:07 +00:00
|
|
|
|
2010-06-09 03:15:38 +00:00
|
|
|
# build and install diskmounter service (udisks)
|
|
|
|
# this service provide auto mounting support for external drives
|
|
|
|
# in the mediacenter also automount internally drives at boottime (yes / no)
|
|
|
|
UDISKS="yes"
|
|
|
|
|
2010-06-09 03:32:56 +00:00
|
|
|
# build and install powermanagement support (upower) (yes / no)
|
|
|
|
UPOWER="yes"
|
|
|
|
|
2010-09-22 23:49:58 +00:00
|
|
|
# build and install NTFS-3G fuse support (yes / no)
|
|
|
|
NTFS3G="yes"
|
|
|
|
|
2011-01-06 20:16:07 +00:00
|
|
|
# build and install Apple device mount support (via ifuse) (yes / no)
|
|
|
|
APPLEMOUNT="yes"
|
|
|
|
|
2009-11-22 14:08:07 +00:00
|
|
|
# Displayserver to use (xorg-server / no)
|
2009-12-19 00:35:31 +00:00
|
|
|
DISPLAYSERVER="xorg-server"
|
2009-11-22 14:08:07 +00:00
|
|
|
|
2010-11-09 09:08:10 +00:00
|
|
|
# Graphic drivers to use (all / i915,i965,r200,r300,r600,radeon,nvidia,nouveau,vmware)
|
2009-11-22 14:08:07 +00:00
|
|
|
# Space separated list is supported,
|
2010-10-14 10:22:22 +00:00
|
|
|
# e.g. GRAPHIC_DRIVERS="i915 i965 r300 r600 radeon nvidia nouveau"
|
2010-11-09 09:08:10 +00:00
|
|
|
GRAPHIC_DRIVERS="i915 i965 r200 r300 r600 radeon nvidia vmware"
|
2009-12-19 00:35:31 +00:00
|
|
|
|
2010-11-12 16:12:53 +00:00
|
|
|
# use libdrm-master (latest git) instead latest released version
|
|
|
|
LIBDRM_MASTER="no"
|
2010-10-23 05:20:24 +00:00
|
|
|
|
2010-11-12 17:29:35 +00:00
|
|
|
# use Mesa-master (latest git) instead latest released version
|
|
|
|
MESA_MASTER="no"
|
2010-10-23 05:20:24 +00:00
|
|
|
|
2010-11-12 22:14:20 +00:00
|
|
|
# Use VDPAU video# use linux-next (latest rc) instead latest released version
|
|
|
|
LINUX_NEXT="no"
|
|
|
|
|
|
|
|
# acceleration (needs nVidia driver and a supported card)
|
2009-12-19 00:35:31 +00:00
|
|
|
VDPAU="yes"
|
|
|
|
|
|
|
|
# Use VAAPI video acceleration (needs intel i965 driver and a supported card)
|
2011-02-01 00:20:47 +00:00
|
|
|
VAAPI="yes"
|
2009-11-22 14:08:07 +00:00
|
|
|
|
2010-01-19 15:11:00 +00:00
|
|
|
# Use Broadcom CrystalHD Decoder Card for video acceleration
|
|
|
|
# (needs Kernelsupport for Broadcom Decoder Card and a supported card)
|
2010-10-06 00:37:59 +00:00
|
|
|
CRYSTALHD="yes"
|
2010-01-19 15:11:00 +00:00
|
|
|
|
2010-06-09 04:28:20 +00:00
|
|
|
# build and install remote support (yes / no)
|
|
|
|
REMOTE_SUPPORT="yes"
|
|
|
|
|
2010-09-21 19:46:01 +00:00
|
|
|
# build and install WiiMote support (yes / no)
|
|
|
|
WIIMOTE_SUPPORT="yes"
|
|
|
|
|
2010-09-22 04:05:50 +00:00
|
|
|
# build and install PS3 Remote support (yes / no)
|
|
|
|
PS3REMOTE_SUPPORT="yes"
|
|
|
|
|
2010-10-09 14:58:19 +00:00
|
|
|
# build and install ATV IR remote support (yes / no)
|
|
|
|
ATVCLIENT_SUPPORT="yes"
|
|
|
|
|
2010-04-23 06:43:21 +00:00
|
|
|
# LCD driver to Use - Possible drivers are ( Comma seperated:
|
|
|
|
# bayrad,CFontz,CFontz633,CFontzPacket,CwLnx,ea65,
|
|
|
|
# EyeboxOne,g15,glcdlib,glk,hd44780,i2500vfd,icp_a106,imon,imonlcd,
|
|
|
|
# IOWarrior,irman,irtrans,joy,lb216,lcdm001,lcterm,lirc,lis,
|
|
|
|
# MD8800,ms6931,mtc_s16209x,MtxOrb,mx5000,NoritakeVFD,picolcd,
|
|
|
|
# pyramid,sed1330,sed1520,serialPOS,serialVFD,shuttleVFD,sli,
|
|
|
|
# stv5730,SureElec,t6963,text,tyan,ula200,xosd
|
|
|
|
# 'all' compiles all drivers;
|
|
|
|
# 'all,!xxx,!yyy' de-selects previously selected drivers
|
|
|
|
# "none" for disable LCD support
|
2010-12-14 11:30:53 +00:00
|
|
|
LCD_DRIVER="irtrans,imon"
|
2010-04-23 06:43:21 +00:00
|
|
|
|
2011-03-02 02:41:23 +00:00
|
|
|
# additional Firmware to use (dvb-firmware, wlan-firmware)
|
2010-04-06 15:45:49 +00:00
|
|
|
# Space separated list is supported,
|
2011-03-02 02:41:23 +00:00
|
|
|
# e.g. FIRMWARE="dvb-firmware, wlan-firmware"
|
|
|
|
FIRMWARE="dvb-firmware wlan-firmware"
|
2009-11-22 14:08:07 +00:00
|
|
|
|
2010-04-23 21:26:06 +00:00
|
|
|
# build with lm_sensors hardware monitoring support (yes / no)
|
|
|
|
SENSOR_SUPPORT="yes"
|
|
|
|
|
2010-04-23 21:28:25 +00:00
|
|
|
# build with automatic update support (yes / no)
|
|
|
|
UPDATE_SUPPORT="yes"
|
|
|
|
|
2010-07-06 17:20:03 +00:00
|
|
|
# build with installer (yes / no)
|
|
|
|
INSTALLER_SUPPORT="yes"
|
|
|
|
|
2009-11-22 14:08:07 +00:00
|
|
|
# build with games support (yes / no)
|
2010-07-19 16:53:04 +00:00
|
|
|
GAMES="yes"
|
2009-11-22 14:08:07 +00:00
|
|
|
|
|
|
|
# build with emulator support (yes / no)
|
2010-07-13 02:17:32 +00:00
|
|
|
EMULATORS="yes"
|
2009-11-22 14:08:07 +00:00
|
|
|
|
2010-02-02 14:23:15 +00:00
|
|
|
# Testpackages for development (yes / no)
|
|
|
|
TESTING="no"
|
|
|
|
|
2010-07-25 14:00:43 +00:00
|
|
|
# OEM packages for OEM's (yes / no)
|
|
|
|
OEM_SUPPORT="no"
|
|
|
|
|
2009-11-22 14:08:07 +00:00
|
|
|
# Coreboot support (yes / no)
|
2009-12-19 00:35:31 +00:00
|
|
|
COREBOOT="no"
|
2010-07-19 16:53:04 +00:00
|
|
|
|
|
|
|
# Addon Server Url
|
|
|
|
ADDON_SERVER_URL="http://addons.openelec.tv"
|
|
|
|
|
|
|
|
# set the addon dirs
|
|
|
|
ADDON_PATH="$OS_VERSION/$PROJECT/$TARGET_ARCH"
|
|
|
|
ADDON_URL="$ADDON_SERVER_URL/$ADDON_PATH"
|