Guest User

Untitled

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