PageRenderTime 22ms CodeModel.GetById 14ms app.highlight 3ms RepoModel.GetById 2ms app.codeStats 0ms

/projects/Intel/options

http://github.com/OpenELEC/OpenELEC.tv
#! | 305 lines | 232 code | 73 blank | 0 comment | 0 complexity | d8ca9bc8875485185a6eaab5bb0a4ed0 MD5 | raw file
  1# Name of the Distro to build (full name, without special charcters)
  2  if [ "$PVR" = yes ]; then
  3    DISTRONAME="OpenELEC_PVR"
  4  else
  5    DISTRONAME="OpenELEC"
  6  fi
  7
  8# Welcome Message for e.g. SSH Server (up to 5 Lines)
  9  GREETING0="##############################################"
 10  GREETING1="# OpenELEC - The living room PC for everyone #"
 11  GREETING2="# ...... visit http://www.openelec.tv ...... #"
 12  GREETING3="##############################################"
 13  GREETING4=""
 14
 15# Hostname for target system (openelec)
 16  HOSTNAME="openelec"
 17
 18# Root password to integrate in the target system
 19  ROOT_PASSWORD="openelec"
 20
 21# User to integrate in the target system
 22  USER_NAME="openelec"
 23
 24# User group to integrate in the target system
 25  USER_GROUP="openelec"
 26
 27# User password to integrate in the target system
 28  USER_PASSWORD="openelec"
 29
 30# The TARGET_CPU variable controls which processor should be targeted for
 31# generated code.
 32  case $TARGET_ARCH in
 33    i386)
 34      # (AMD CPUs)    k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3
 35      #               athlon-fx athlon-mp athlon-xp athlon-4
 36      #               athlon-tbird athlon k6-3 k6-2 k6 geode
 37      # (Intel CPUs)  atom core2 nocona prescott pentium4[m] pentium3[m]
 38      #               pentium-m pentium2 pentiumpro pentium-mmx pentium
 39      #               i686 i586 i486 i386
 40      # (VIA CPUs)    c3 c3-2
 41      #
 42      TARGET_CPU="core2"
 43      ;;
 44
 45    x86_64)
 46      # (AMD CPUs)    k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3
 47      #               athlon-fx amdfam10 barcelona
 48      # (Intel CPUs)  atom core2 nocona
 49      #
 50      TARGET_CPU="core2"
 51      ;;
 52
 53    arm)
 54      # TARGET_CPU:
 55      # arm2 arm250 arm3 arm6 arm60 arm600 arm610 arm620 arm7 arm7m arm7d
 56      # arm7dm arm7di arm7dmi arm70 arm700 arm700i arm710 arm710c
 57      # arm7100 arm720 arm7500 arm7500fe arm7tdmi arm7tdmi-s arm710t
 58      # arm720t arm740t strongarm strongarm110 strongarm1100
 59      # strongarm1110 arm8 arm810 arm9 arm9e arm920 arm920t arm922t
 60      # arm946e-s arm966e-s arm968e-s arm926ej-s arm940t arm9tdmi
 61      # arm10tdmi arm1020t arm1026ej-s arm10e arm1020e arm1022e
 62      # arm1136j-s arm1136jf-s mpcore mpcorenovfp arm1156t2-s
 63      # arm1176jz-s arm1176jzf-s cortex-a8 cortex-a9 cortex-r4
 64      # cortex-r4f cortex-m3 cortex-m1 xscale iwmmxt iwmmxt2 ep9312.
 65      #
 66      TARGET_CPU="cortex-a9"
 67
 68      # TARGET_FPU:
 69      # This specifies what floating point hardware (or hardware emulation) is
 70      # available on the target. Permissible names are:
 71      # fpa fpe2 fpe3 maverick vfp vfpv3 vfpv3-fp16 vfpv3-d16 vfpv3-d16-fp16
 72      # vfpv3xd vfpv3xd-fp16 neon neon-fp16 vfpv4 vfpv4-d16 fpv4-sp-d16
 73      # neon-vfpv4.
 74      TARGET_FPU="neon"
 75      ;;
 76  esac
 77
 78# Build optimizations (size/speed)
 79  OPTIMIZATIONS="speed"
 80
 81# Project CFLAGS
 82  PROJECT_CFLAGS="-mfpmath=sse -msse2 -mssse3"
 83
 84# LTO (Link Time Optimization) support
 85  LTO_SUPPORT="no"
 86
 87# GOLD (Google Linker) support
 88  GOLD_SUPPORT="no"
 89
 90# Graphite Support
 91  GRAPHITE_SUPPORT="yes"
 92
 93# LOOP optimazion support
 94  LOOP_SUPPORT="yes"
 95
 96# Bootloader to use (syslinux / u-boot / atv-bootloader)
 97  BOOTLOADER="syslinux"
 98
 99# Configuration for u-boot
100  UBOOT_CONFIG=""
101
102# Kernel to use. values can be:
103# default:  default mainline kernel
104# ti-omap4: Ti's OMAP4 kernel
105  LINUX="default"
106
107# use linux-next (latest rc) instead latest released version
108  LINUX_NEXT="no"
109
110# Mediacenter to use (xbmc / no)
111  if [ "$PVR" = yes ]; then
112    MEDIACENTER="xbmc-pvr"
113  else
114    MEDIACENTER="xbmc"
115  fi
116
117# Skins to install (Confluence)
118# Space separated list is supported,
119# e.g. SKINS="Confluence"
120  SKINS="Confluence"
121
122# Default Skin (Confluence)
123  SKIN_DEFAULT="Confluence"
124
125# install extra subtitle Fonts for XBMC (yes / no)
126  XBMC_EXTRA_FONTS="yes"
127
128# Plugins for XBMC to install (SABnzbd)
129# Space separated list is supported,
130# e.g. XBMC_PLUGINS="SABnzbd"
131  XBMC_PLUGINS=""
132
133# build and install 'RSXS' Screensaver (yes / no)
134  XBMC_SCR_RSXS="yes"
135
136# build and install 'ProjectM' Visualization (yes / no)
137  XBMC_VIS_PROJECTM="yes"
138
139# build and install 'GOOM' Visualization (yes / no)
140  XBMC_VIS_GOOM="yes"
141
142# build and install PulseAudio support (yes / no)
143  PULSEAUDIO_SUPPORT="no"
144
145# build and install with non-free support
146# (RAR compression support in XBMC) (yes / no)
147  NONFREE_SUPPORT="yes"
148
149# build and install with DVDCSS support
150# (DVD decryption support in XBMC) (yes / no)
151  DVDCSS_SUPPORT="yes"
152
153# build and install with BluRay support (yes / no)
154  BLURAY_SUPPORT="yes"
155
156# additional drivers to install:
157# AF9035:           Afa Technologies Inc. AF9035A USB DVB Device
158# asix-ax887xx:     Asix AX887xx USB LAN Driver
159# Space separated list is supported,
160# e.g. ADDITIONAL_DRIVERS="asix-ax887xx AF9035"
161  ADDITIONAL_DRIVERS="asix-ax887xx"
162  if [ "$PVR" = yes ]; then
163    ADDITIONAL_DRIVERS="$ADDITIONAL_DRIVERS AF9035 A867 aver_h826d RTL2832 hdhomerun-driver"
164  fi
165
166# build with network support (yes / no)
167  NETWORK="yes"
168
169# build and install bluetooth support (yes / no)
170  BLUETOOTH_SUPPORT="yes"
171
172# build and install with XBMC webfrontend (yes / no)
173  WEBSERVER="yes"
174
175# build and install Avahi (Zeroconf) daemon (yes / no)
176  AVAHI_DAEMON="yes"
177
178# build with AirPlay support (stream videos from iDevices to XBMC) (yes / no)
179  AIRPLAY_SUPPORT="yes"
180
181# build with AirTunes support (stream music from iDevices to XBMC) (yes / no)
182  AIRTUNES_SUPPORT="yes"
183
184# build with libnfs support (mounting nfs shares with XBMC) (yes / no)
185  NFS_SUPPORT="yes"
186
187# build with afpfs-ng support (mounting AFP shares with XBMC) (yes / no)
188  AFP_SUPPORT="yes"
189
190# build and install Samba Client support (yes / no)
191  SAMBA_CLIENT="yes"
192
193# build and install Samba Server (yes / no)
194  SAMBA_SERVER="yes"
195
196# build and install SFTP Server (yes / no)
197  SFTP_SERVER="yes"
198
199# build and install SSH Guard (yes / no)
200  SSHGUARD_SUPPORT="yes"
201
202# build and install diskmounter service (udisks)
203# this service provide auto mounting support for external drives
204# in the mediacenter also automount internally drives at boottime (yes / no)
205  UDISKS="yes"
206
207# build and install powermanagement support (upower) (yes / no)
208  UPOWER="yes"
209
210# build and install NTFS-3G fuse support (yes / no)
211  NTFS3G="yes"
212
213# build and install hfs filesystem utilities (yes / no)
214  HFSTOOLS="yes"
215
216# OpenGL(X) implementation to use (no / Mesa)
217  OPENGL="Mesa"
218
219# OpenGL-ES implementation to use (no)
220  OPENGLES="no"
221
222# Windowmanager to use (ratpoison / none)
223  WINDOWMANAGER="ratpoison"
224
225# Xorg Graphic drivers to use (all / i915,i965,r200,r300,r600,fglrx,nvidia,nouveau,vmware)
226# Space separated list is supported,
227# e.g. GRAPHIC_DRIVERS="i915 i965 r300 r600 radeon nvidia nouveau"
228  GRAPHIC_DRIVERS="i915 i965"
229
230# Use VDPAU video acceleration (needs nVidia driver and a supported card)
231  VDPAU="no"
232
233# Use VAAPI video acceleration (needs intel i965 driver and a supported card)
234  VAAPI="yes"
235
236# Use XVBA video acceleration (needs AMD fglrx driver and a supported card)
237  XVBA="no"
238
239# Use Broadcom CrystalHD Decoder Card for video acceleration 
240# (needs Kernelsupport for Broadcom Decoder Card and a supported card)
241  CRYSTALHD="yes"
242
243# build and install remote support (yes / no)
244  REMOTE_SUPPORT="yes"
245
246# build and install ATV IR remote support (yes / no)
247  ATVCLIENT_SUPPORT="no"
248
249# build and install IRServer IR/LCD support (yes / no)
250  IRSERVER_SUPPORT="yes"
251
252# build and install Joystick support (yes / no)
253  JOYSTICK_SUPPORT="yes"
254
255# build and install CEC adapter support (yes / no)
256  CEC_SUPPORT="yes"
257
258# LCD driver to Use - Possible drivers are ( Comma seperated:
259# bayrad,CFontz,CFontz633,CFontzPacket,curses,CwLnx,
260# ea65,EyeboxOne,g15,glcdlib,glk,hd44780,i2500vfd,
261# icp_a106,imon,imonlcd,IOWarrior,irman,irtrans,
262# joy,lb216,lcdm001,lcterm,lirc,lis,MD8800,mdm166a,
263# ms6931,mtc_s16209x,MtxOrb,mx5000,NoritakeVFD,
264# picolcd,pyramid,sed1330,sed1520,serialPOS,
265# serialVFD,shuttleVFD,sli,stv5730,SureElec,svga,
266# 'all' compiles all drivers;
267# 'all,!xxx,!yyy' de-selects previously selected drivers
268# "none" for disable LCD support
269  LCD_DRIVER="irtrans,imon,imonlcd,mdm166a,MtxOrb"
270
271# additional Firmware to use (dvb-firmware, misc-firmware, wlan-firmware)
272# Space separated list is supported,
273# e.g. FIRMWARE="dvb-firmware misc-firmware wlan-firmware"
274  FIRMWARE="misc-firmware wlan-firmware"
275  if [ "$PVR" = yes ]; then
276    FIRMWARE="$FIRMWARE dvb-firmware"
277  fi
278
279# build with lm_sensors hardware monitoring support (yes / no)
280  SENSOR_SUPPORT="yes"
281
282# build with automatic update support (yes / no)
283  UPDATE_SUPPORT="yes"
284
285# build with installer (yes / no)
286  INSTALLER_SUPPORT="yes"
287
288# Testpackages for development (yes / no)
289  TESTING="no"
290
291# OEM packages for OEM's (yes / no)
292  OEM_SUPPORT="no"
293
294# Coreboot support (yes / no)
295  COREBOOT="no"
296
297# Distribution Specific source location
298  DISTRO_SRC="http://sources.openelec.tv/$OPENELEC_VERSION"
299
300# Addon Server Url
301  ADDON_SERVER_URL="http://addons.openelec.tv"
302
303# set the addon dirs
304  ADDON_PATH="$OS_VERSION/$PROJECT/$TARGET_ARCH"
305  ADDON_URL="$ADDON_SERVER_URL/$ADDON_PATH"