# Name of the Distro to build (full name, without special charcters)
  DISTRONAME="OpenELEC"

# 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=""

# Hostname for target system (openelec)
  HOSTNAME="openelec"

# Root password to integrate in the target system
  ROOT_PASSWORD="openelec"

# 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"

# 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="atom"
      ;;

    x86_64)
      # (AMD CPUs)    k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3
      #               athlon-fx amdfam10 barcelona
      # (Intel CPUs)  atom core2 nocona
      #
      TARGET_CPU="atom"
      ;;

    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/speed)
  OPTIMIZATIONS="size"

# Project CFLAGS
  PROJECT_CFLAGS="-mfpmath=sse -msse2 -mssse3 -mmovbe"

# LTO (Link Time Optimization) support
  LTO_SUPPORT="yes"

# Bootloader to use (syslinux / u-boot / atv-bootloader)
  BOOTLOADER="syslinux"

# Configuration for u-boot
  UBOOT_CONFIG=""

# Kernel to use. values can be:
# default:  default mainline kernel
# ti-omap4: Ti's OMAP4 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"

# 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"

# Plugins for XBMC to install (SABnzbd)
# Space separated list is supported,
# e.g. XBMC_PLUGINS="SABnzbd"
  XBMC_PLUGINS=""

# 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 ALSA Audio support (yes / no)
  ALSA_SUPPORT="yes"

# build and install PulseAudio support (yes / no)
  PULSEAUDIO_SUPPORT="no"

# 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 VORBIS cdrip encoder support
  ENCODER_VORBIS="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 dvbhdhomerun"

# build with network support (yes / no)
  NETWORK="yes"

# 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 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_CLIENT="yes"

# build and install Samba Server (yes / no)
  SAMBA_SERVER="yes"

# build and install SFTP Server (yes / no)
  SFTP_SERVER="yes"

# build and install SSH Guard (yes / no)
  SSHGUARD_SUPPORT="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 service (udisks)
# this service provide auto mounting support for external drives
# in the mediacenter also automount internally drives at boottime (yes / no)
  UDISKS="yes"

# build and install powermanagement support (upower) (yes / no)
  UPOWER="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 / none)
  WINDOWMANAGER="ratpoison"

# Displayserver to use (xorg-server / no)
  DISPLAYSERVER="xorg-server"

# Xorg Graphic drivers to use (all / i915,i965,r200,r300,r600,fglrx,nvidia,nouveau,vmware)
# Space separated list is supported,
# e.g. GRAPHIC_DRIVERS="i915 i965 r300 r600 radeon nvidia nouveau"
  GRAPHIC_DRIVERS="nvidia"

# OpenMAX implementation to use (no / bcm2835-driver)
  OPENMAX="no"

# 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="no"

# Use XVBA video acceleration (needs AMD fglrx driver and a supported card)
  XVBA="no"

# Use Broadcom CrystalHD Decoder Card for video acceleration 
# (needs Kernelsupport for Broadcom Decoder Card and a supported card)
  CRYSTALHD="no"

# build and install remote support (yes / no)
  REMOTE_SUPPORT="yes"

# build and install ATV IR remote support (yes / no)
  ATVCLIENT_SUPPORT="no"

# 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,
# '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"

# Modules to install in initramfs for early boot
  INITRAMFS_MODULES="uvesafb 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"

# swapfile size if SWAP_SUPPORT=yes in kB (example: 262144 = 256MB )
  SWAPFILESIZE="262144"

# build with automatic update support (yes / no)
  UPDATE_SUPPORT="yes"

# 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"

# 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"
