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