Advertisement
Guest User

dvb-t-rasp-options

a guest
Aug 12th, 2012
250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.22 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="atom"
  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="atom"
  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="arm1176jzf-s"
  71.  
  72. # TARGET_FLOAT:
  73. # Specifies which floating-point ABI to use. Permissible values are:
  74. # soft softfp hard
  75. TARGET_FLOAT="hard"
  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="vfp"
  84. ;;
  85. esac
  86.  
  87. # Build optimizations (size/normal/speed)
  88. OPTIMIZATIONS="fast"
  89.  
  90. # Project CFLAGS
  91. PROJECT_CFLAGS=""
  92.  
  93. # LTO (Link Time Optimization) support
  94. LTO_SUPPORT="yes"
  95.  
  96. # Bootloader to use (syslinux / u-boot / atv-bootloader / bcm2835-bootloader)
  97. BOOTLOADER="bcm2835-bootloader"
  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. # SquashFS compression method (gzip / lzo / xz)
  111. SQUASHFS_COMPRESSION="lzo"
  112.  
  113. # Mediacenter to use (xbmc / no)
  114. if [ "$XBMC" = frodo ]; then
  115. MEDIACENTER="xbmc-frodo"
  116. elif [ "$PROJECT" = RPi ]; then
  117. MEDIACENTER="xbmc-rpi"
  118. else
  119. MEDIACENTER="xbmc"
  120. fi
  121.  
  122. # Skins to install (Confluence)
  123. # Space separated list is supported,
  124. # e.g. SKINS="Confluence"
  125. SKINS="Confluence"
  126.  
  127. # Default Skin (Confluence)
  128. SKIN_DEFAULT="Confluence"
  129.  
  130. # install extra subtitle Fonts for XBMC (yes / no)
  131. XBMC_EXTRA_FONTS="yes"
  132.  
  133. # Plugins for XBMC to install (SABnzbd)
  134. # Space separated list is supported,
  135. # e.g. XBMC_PLUGINS="SABnzbd"
  136. XBMC_PLUGINS=""
  137.  
  138. # build and install 'RSXS' Screensaver (yes / no)
  139. XBMC_SCR_RSXS="no"
  140.  
  141. # build and install 'ProjectM' Visualization (yes / no)
  142. XBMC_VIS_PROJECTM="no"
  143.  
  144. # build and install 'GOOM' Visualization (yes / no)
  145. XBMC_VIS_GOOM="no"
  146.  
  147. # build and install ALSA Audio support (yes / no)
  148. ALSA_SUPPORT="yes"
  149.  
  150. # build and install PulseAudio support (yes / no)
  151. PULSEAUDIO_SUPPORT="no"
  152.  
  153. # build and install with non-free support
  154. # (RAR compression support in XBMC) (yes / no)
  155. NONFREE_SUPPORT="yes"
  156.  
  157. # build and install with DVDCSS support
  158. # (DVD decryption support in XBMC) (yes / no)
  159. DVDCSS_SUPPORT="yes"
  160.  
  161. # build and install with LAME cdrip encoder support
  162. ENCODER_LAME="yes"
  163.  
  164. # build and install with VORBIS cdrip encoder support
  165. ENCODER_VORBIS="yes"
  166.  
  167. # build and install with BluRay support (yes / no)
  168. BLURAY_SUPPORT="yes"
  169.  
  170. # additional drivers to install:
  171. # AF9035: Afa Technologies Inc. AF9035A USB DVB Device
  172. # asix-ax887xx: Asix AX887xx USB LAN Driver
  173. # Space separated list is supported,
  174. # e.g. ADDITIONAL_DRIVERS="asix-ax887xx AF9035"
  175. ADDITIONAL_DRIVERS="asix-ax887xx RTL8192CU"
  176. if [ "$PVR" = yes ]; then
  177. # ADDITIONAL_DRIVERS="$ADDITIONAL_DRIVERS AF9035 A867 aver_h826d RTL2832 hdhomerun-driver vtuner-driver"
  178. ADDITIONAL_DRIVERS=”$ADDITIONAL_DRIVERS media_build”
  179. fi
  180.  
  181. # build with network support (yes / no)
  182. NETWORK="yes"
  183.  
  184. # build and install bluetooth support (yes / no)
  185. BLUETOOTH_SUPPORT="yes"
  186.  
  187. # build and install with XBMC webfrontend (yes / no)
  188. WEBSERVER="yes"
  189.  
  190. # build and install Avahi (Zeroconf) daemon (yes / no)
  191. AVAHI_DAEMON="yes"
  192.  
  193. # build with AirPlay support (stream videos from iDevices to XBMC) (yes / no)
  194. AIRPLAY_SUPPORT="yes"
  195.  
  196. # build with AirTunes support (stream music from iDevices to XBMC) (yes / no)
  197. AIRTUNES_SUPPORT="yes"
  198.  
  199. # build with libnfs support (mounting nfs shares with XBMC) (yes / no)
  200. NFS_SUPPORT="yes"
  201.  
  202. # build with afpfs-ng support (mounting AFP shares with XBMC) (yes / no)
  203. AFP_SUPPORT="yes"
  204.  
  205. # build and install Samba Client support (yes / no)
  206. SAMBA_CLIENT="yes"
  207.  
  208. # build and install Samba Server (yes / no)
  209. SAMBA_SERVER="yes"
  210.  
  211. # build and install SFTP Server (yes / no)
  212. SFTP_SERVER="yes"
  213.  
  214. # build and install SSH Guard (yes / no)
  215. SSHGUARD_SUPPORT="no"
  216.  
  217. # build and install diskmounter service (udisks)
  218. # this service provide auto mounting support for external drives
  219. # in the mediacenter also automount internally drives at boottime (yes / no)
  220. UDISKS="yes"
  221.  
  222. # build and install powermanagement support (upower) (yes / no)
  223. UPOWER="no"
  224.  
  225. # build and install exFAT fuse support (yes / no)
  226. EXFAT="yes"
  227.  
  228. # build and install NTFS-3G fuse support (yes / no)
  229. NTFS3G="yes"
  230.  
  231. # build and install hfs filesystem utilities (yes / no)
  232. HFSTOOLS="yes"
  233.  
  234. # OpenGL(X) implementation to use (no / Mesa)
  235. OPENGL="no"
  236.  
  237. # OpenGL-ES implementation to use (no / bcm2835-driver)
  238. OPENGLES="bcm2835-driver"
  239.  
  240. # Windowmanager to use (ratpoison / none)
  241. WINDOWMANAGER="none"
  242.  
  243. # Displayserver to use (xorg-server / no)
  244. DISPLAYSERVER="no"
  245.  
  246. # Xorg Graphic drivers to use (all / i915,i965,r200,r300,r600,fglrx,nvidia,nouveau,vmware)
  247. # Space separated list is supported,
  248. # e.g. GRAPHIC_DRIVERS="i915 i965 r300 r600 radeon nvidia nouveau"
  249. GRAPHIC_DRIVERS=""
  250.  
  251. # OpenMAX implementation to use (no / bcm2835-driver)
  252. OPENMAX="bcm2835-driver"
  253.  
  254. # Use VDPAU video acceleration (needs nVidia driver and a supported card)
  255. VDPAU="no"
  256.  
  257. # Use VAAPI video acceleration (needs intel i965 driver and a supported card)
  258. VAAPI="no"
  259.  
  260. # Use XVBA video acceleration (needs AMD fglrx driver and a supported card)
  261. XVBA="no"
  262.  
  263. # Use Broadcom CrystalHD Decoder Card for video acceleration
  264. # (needs Kernelsupport for Broadcom Decoder Card and a supported card)
  265. CRYSTALHD="no"
  266.  
  267. # build and install remote support (yes / no)
  268. REMOTE_SUPPORT="yes"
  269.  
  270. # build and install ATV IR remote support (yes / no)
  271. ATVCLIENT_SUPPORT="no"
  272.  
  273. # build and install IRServer IR/LCD support (yes / no)
  274. IRSERVER_SUPPORT="no"
  275.  
  276. # build and install Joystick support (yes / no)
  277. JOYSTICK_SUPPORT="yes"
  278.  
  279. # build and install CEC adapter support (yes / no)
  280. CEC_SUPPORT="yes"
  281.  
  282. # build and install iSCSI support - iscsistart (yes / no)
  283. ISCSI_SUPPORT="yes"
  284.  
  285. # LCD driver to Use - Possible drivers are ( Comma seperated:
  286. # bayrad,CFontz,CFontz633,CFontzPacket,curses,CwLnx,
  287. # ea65,EyeboxOne,g15,glcdlib,glk,hd44780,i2500vfd,
  288. # icp_a106,imon,imonlcd,IOWarrior,irman,irtrans,
  289. # joy,lb216,lcdm001,lcterm,lirc,lis,MD8800,mdm166a,
  290. # ms6931,mtc_s16209x,MtxOrb,mx5000,NoritakeVFD,
  291. # picolcd,pyramid,sed1330,sed1520,serialPOS,
  292. # serialVFD,shuttleVFD,sli,stv5730,SureElec,svga,
  293. # 'all' compiles all drivers;
  294. # 'all,!xxx,!yyy' de-selects previously selected drivers
  295. # "none" for disable LCD support
  296. LCD_DRIVER="irtrans,imon,imonlcd,mdm166a,MtxOrb,lis"
  297.  
  298. # Modules to install in initramfs for early boot
  299. INITRAMFS_MODULES=""
  300.  
  301. # additional Firmware to use (dvb-firmware, misc-firmware, wlan-firmware)
  302. # Space separated list is supported,
  303. # e.g. FIRMWARE="dvb-firmware misc-firmware wlan-firmware"
  304. FIRMWARE="misc-firmware wlan-firmware"
  305. if [ "$PVR" = yes ]; then
  306. FIRMWARE="$FIRMWARE dvb-firmware"
  307. fi
  308.  
  309. # build with lm_sensors hardware monitoring support (yes / no)
  310. SENSOR_SUPPORT="yes"
  311.  
  312. # build with swap support (yes / no)
  313. SWAP_SUPPORT="no"
  314.  
  315. # swapfile size if SWAP_SUPPORT=yes in kB (example: 262144 = 256MB )
  316. SWAPFILESIZE="262144"
  317.  
  318. # build with automatic update support (yes / no)
  319. UPDATE_SUPPORT="yes"
  320.  
  321. # build with installer (yes / no)
  322. INSTALLER_SUPPORT="no"
  323.  
  324. # Testpackages for development (yes / no)
  325. TESTING="no"
  326.  
  327. # OEM packages for OEM's (yes / no)
  328. OEM_SUPPORT="no"
  329.  
  330. # Coreboot support (yes / no)
  331. COREBOOT="no"
  332.  
  333. # Distribution Specific source location
  334. DISTRO_MIRROR="http://sources.openelec.tv/mirror"
  335. DISTRO_SRC="http://sources.openelec.tv/$OPENELEC_VERSION"
  336.  
  337. # Addon Server Url
  338. ADDON_SERVER_URL="http://addons.openelec.tv"
  339.  
  340. # set the addon dirs
  341. ADDON_PATH="$ADDON_VERSION/$PROJECT/$TARGET_ARCH"
  342. ADDON_URL="$ADDON_SERVER_URL/$ADDON_PATH"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement