add support to create different distributions with the same project configs

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2014-11-09 16:44:55 +01:00
parent 94b5be6fc3
commit 83163d7603
5 changed files with 543 additions and 986 deletions

View File

@ -1,6 +1,14 @@
# set default language for buildsystem # set default language for buildsystem
export LC_ALL=C export LC_ALL=C
# determines DISTRO, if not forced by user
# default is OpenELEC
if [ -z "$DISTRO" ]; then
DISTRO="OpenELEC"
else
DISTRO="$DISTRO"
fi
# determines PROJECT, if not forced by user # determines PROJECT, if not forced by user
# default is Generic # default is Generic
if [ -z "$PROJECT" ]; then if [ -z "$PROJECT" ]; then
@ -18,6 +26,7 @@ else
fi fi
ROOT=`pwd` ROOT=`pwd`
DISTRO_DIR="$ROOT/distributions"
PROJECT_DIR="$ROOT/projects" PROJECT_DIR="$ROOT/projects"
LINUX_DEPENDS="$PROJECT_DIR/$PROJECT/linux/linux.$TARGET_ARCH.conf $ROOT/packages/linux/package.mk" LINUX_DEPENDS="$PROJECT_DIR/$PROJECT/linux/linux.$TARGET_ARCH.conf $ROOT/packages/linux/package.mk"
@ -25,8 +34,13 @@ LINUX_DEPENDS="$PROJECT_DIR/$PROJECT/linux/linux.$TARGET_ARCH.conf $ROOT/package
. config/version . config/version
# read distro versioning if available # read distro versioning if available
if [ -f "$PROJECT_DIR/version.$DISTRO" ]; then if [ -f "$DISTRO_DIR/$DISTRO/version" ]; then
. $PROJECT_DIR/version.$DISTRO . $DISTRO_DIR/$DISTRO/version
fi
# read distro options if available
if [ -f "$DISTRO_DIR/$DISTRO/options" ]; then
. $DISTRO_DIR/$DISTRO/options
fi fi
# read project options if available # read project options if available
@ -34,11 +48,6 @@ LINUX_DEPENDS="$PROJECT_DIR/$PROJECT/linux/linux.$TARGET_ARCH.conf $ROOT/package
. $PROJECT_DIR/$PROJECT/options . $PROJECT_DIR/$PROJECT/options
fi fi
# read distro options if available
if [ -f "$PROJECT_DIR/options.$DISTRO" ]; then
. $PROJECT_DIR/options.$DISTRO
fi
# Need to point to your actual cc # Need to point to your actual cc
# If you have ccache installed, take care that LOCAL_CC don't point to it # If you have ccache installed, take care that LOCAL_CC don't point to it
LOCAL_CC=`which gcc` LOCAL_CC=`which gcc`

View File

@ -0,0 +1,244 @@
# Name of the Distro to build (full name, without special characters)
DISTRONAME="OpenELEC"
# short project description
DESCRIPTION="OpenELEC is a fast and userfriendly Kodi Entertainment Center distribution."
# 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=""
# Root password to integrate in the target system
ROOT_PASSWORD="openelec"
# Mediacenter to use (kodi / no)
MEDIACENTER="kodi"
# 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 KODI (yes / no)
KODI_EXTRA_FONTS="yes"
# build and install 'RSXS' Screensaver (yes / no)
KODI_SCR_RSXS="no"
# build and install 'ProjectM' Visualization (yes / no)
KODI_VIS_PROJECTM="yes"
# build and install 'GOOM' Visualization (yes / no)
KODI_VIS_GOOM="yes"
# build and install 'Waveform' Visualization (yes / no)
KODI_VIS_WAVEFORM="yes"
# build and install 'Spectrum' Visualization (yes / no)
KODI_VIS_SPECTRUM="yes"
# build and install 'FishBMC' Visualization (yes / no)
# does not work on RPi
KODI_VIS_FISHBMC="yes"
# build and install PulseAudio support (yes / no)
PULSEAUDIO_SUPPORT="no"
# build and install espeak support (yes / no)
ESPEAK_SUPPORT="yes"
# build and install with non-free support
# (RAR compression support in KODI) (yes / no)
KODI_NONFREE_SUPPORT="yes"
# build and install with BluRay support (yes / no)
KODI_BLURAY_SUPPORT="yes"
# build and install with BD+ support
# (BD+ decryption support in KODI) (yes / no)
BLURAY_BDPLUS_SUPPORT="yes"
# build and install with AACS support
# (BD decryption support in KODI) (yes / no)
BLURAY_AACS_SUPPORT="yes"
# build and install with DVDCSS support
# (DVD decryption support in KODI) (yes / no)
KODI_DVDCSS_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 RTL8192DU RTL8188EU RTL8812AU dvbhdhomerun"
# build and install bluetooth support (yes / no)
BLUETOOTH_SUPPORT="yes"
# build and install with KODI webfrontend (yes / no)
KODI_WEBSERVER_SUPPORT="yes"
# build and install Avahi (Zeroconf) daemon (yes / no)
AVAHI_DAEMON="yes"
# build with UPnP support (yes / no)
KODI_UPNP_SUPPORT="yes"
# build with MySQL support (yes / no)
KODI_MYSQL_SUPPORT="yes"
# build xbmc with sshlib support (yes / no)
KODI_SSHLIB_SUPPORT="yes"
# build xbmc with optical drive support (yes / no)
KODI_OPTICAL_SUPPORT="yes"
# KODI Audio encoders for usage with optical drive support
# Space separated list is supported,
# e.g. KODI_AUDIOENCODER_ADDONS="ENCODER1 ENCODER2"
KODI_AUDIOENCODER_ADDONS="flac lame vorbis wav"
# build with AirPlay support (stream videos from iDevices to KODI) (yes / no)
KODI_AIRPLAY_SUPPORT="yes"
# build with AirTunes support (stream music from iDevices to KODI) (yes / no)
KODI_AIRTUNES_SUPPORT="yes"
# build with libnfs support (mounting nfs shares with KODI) (yes / no)
KODI_NFS_SUPPORT="yes"
# build with afpfs-ng support (mounting AFP shares with KODI) (yes / no)
KODI_AFP_SUPPORT="no"
# build with Samba Client support (mounting SAMBA shares with KODI) (yes / no)
KODI_SAMBA_SUPPORT="yes"
# build with NFS support (mounting nfs shares via the OS) (yes / no)
NFS_SUPPORT="yes"
# build with Samba Client support (mounting samba shares via the OS) (yes / no)
SAMBA_SUPPORT="yes"
# build and install Samba Server (yes / no)
SAMBA_SERVER="yes"
# build and install SFTP Server (yes / no)
SFTP_SERVER="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 support (udevil)
# this service provide auto mounting support for external drives in the
# mediacenter also automount internally drives at boottime via udev (yes / no)
UDEVIL="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"
# Windowmanager to use (ratpoison / fluxbox / none)
WINDOWMANAGER="fluxbox"
# Xorg Graphic drivers to use (all / i915,i965,r200,r300,r600,nvidia,nouveau)
# Space separated list is supported,
# e.g. GRAPHIC_DRIVERS="i915 i965 r300 r600 radeonsi nvidia nouveau"
if [ "$TARGET_ARCH" = "i386" ]; then
# TODO: create Legacy build with OpenELEC-4.2
# install legacy drivers to i386 ARCH
GRAPHIC_DRIVERS="r200 r300 r600 i915 i965 nvidia-legacy"
elif [ "$TARGET_ARCH" = "x86_64" ]; then
GRAPHIC_DRIVERS="r300 r600 radeonsi i915 i965 nvidia"
fi
# build and install remote support (yes / no)
REMOTE_SUPPORT="yes"
# build and install ATV IR remote support (yes / no)
ATVCLIENT_SUPPORT="yes"
# 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,vlsys_m428
# '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,hd44780,CFontz,SureElec,vlsys_m428,serialVFD,shuttleVFD"
# Support for partitioning and formating disks in initramfs (yes / no)
# This adds support for parted and mkfs.ext3/4 to initramfs for OEM usage
INITRAMFS_PARTED_SUPPORT="no"
# 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 swap support (yes / no)
SWAP_SUPPORT="no"
# swap support enabled per default (yes / no)
SWAP_ENABLED_DEFAULT="no"
# swapfile size if SWAP_SUPPORT=yes in MB
SWAPFILESIZE="256"
# 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"
# build and install nano text editor (yes / no)
NANO_EDITOR="yes"
# cron support (yes / no)
CRON_SUPPORT="yes"
# Perf support in development builds (yes / no)
PERF_SUPPORT="yes"
# 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"

View File

@ -1,364 +1,98 @@
# Name of the Distro to build (full name, without special characters) ################################################################################
DISTRONAME="OpenELEC" # setup system defaults
################################################################################
# short project description # The TARGET_CPU variable controls which processor should be targeted for
DESCRIPTION="OpenELEC is a fast and userfriendly Kodi Entertainment Center distribution." # 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="i686"
;;
# Welcome Message for e.g. SSH Server (up to 5 Lines) x86_64)
GREETING0="##############################################" # (AMD CPUs) k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3
GREETING1="# OpenELEC - The living room PC for everyone #" # athlon-fx amdfam10 barcelona
GREETING2="# ...... visit http://www.openelec.tv ...... #" # (Intel CPUs) atom core2 nocona
GREETING3="##############################################" #
GREETING4="" TARGET_CPU="x86-64"
;;
esac
# Root password to integrate in the target system # Bootloader to use (syslinux / u-boot)
ROOT_PASSWORD="openelec" BOOTLOADER="syslinux"
# The TARGET_CPU variable controls which processor should be targeted for # u-boot version to use (default)
# generated code. UBOOT_VERSION="default"
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="i686"
;;
x86_64) # Configuration for u-boot
# (AMD CPUs) k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 UBOOT_CONFIG=""
# athlon-fx amdfam10 barcelona
# (Intel CPUs) atom core2 nocona
#
TARGET_CPU="x86-64"
;;
arm) # Target Configfile for u-boot
# TARGET_CPU: UBOOT_CONFIGFILE=""
# 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: # Kernel target for u-boot (default 'uImage' if BOOTLOADER=u-boot) (uImage / zImage)
# Specifies which floating-point ABI to use. Permissible values are: KERNEL_UBOOT_TARGET=""
# soft softfp hard
TARGET_FLOAT="softfp"
# TARGET_FPU: # Kernel extra targets to build
# This specifies what floating point hardware (or hardware emulation) is KERNEL_UBOOT_EXTRA_TARGET=""
# 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) # Additional kernel make parameters (for example to specify the u-boot loadaddress)
OPTIMIZATIONS="size" KERNEL_MAKE_EXTRACMD=""
# Project CFLAGS # Kernel to use. values can be:
PROJECT_CFLAGS="-mmmx -msse -msse2 -mfpmath=sse" # default: default mainline kernel
LINUX="default"
# LTO (Link Time Optimization) support
LTO_SUPPORT="yes"
# GOLD (Google Linker) support ################################################################################
GOLD_SUPPORT="yes" # setup build defaults
################################################################################
# Bootloader to use (syslinux / u-boot) # Build optimizations (size/normal)
BOOTLOADER="syslinux" OPTIMIZATIONS="size"
# u-boot version to use (default) # Project CFLAGS
UBOOT_VERSION="default" PROJECT_CFLAGS="-mmmx -msse -msse2 -mfpmath=sse"
# Configuration for u-boot # LTO (Link Time Optimization) support
UBOOT_CONFIG="" LTO_SUPPORT="yes"
# Target Configfile for u-boot # GOLD (Google Linker) support
UBOOT_CONFIGFILE="" GOLD_SUPPORT="yes"
# Kernel target for u-boot (default 'uImage' if BOOTLOADER=u-boot) (uImage / zImage) # SquashFS compression method (gzip / lzo / xz)
KERNEL_UBOOT_TARGET="" SQUASHFS_COMPRESSION="gzip"
# Kernel extra targets to build
KERNEL_UBOOT_EXTRA_TARGET=""
# Additional kernel make parameters (for example to specify the u-boot loadaddress) ################################################################################
KERNEL_MAKE_EXTRACMD="" # setup project defaults
################################################################################
# GCC to use. values can be: # build and install ALSA Audio support (yes / no)
# default: default mainline gcc ALSA_SUPPORT="yes"
GCC_VERSION="default"
# Kernel to use. values can be: # OpenGL(X) implementation to use (no / Mesa)
# default: default mainline kernel OPENGL="Mesa"
LINUX="default"
# use linux-next (latest rc) instead latest released version # OpenGL-ES implementation to use (no / bcm2835-driver / gpu-viv-bin-mx6q)
LINUX_NEXT="no" OPENGLES="no"
# SquashFS compression method (gzip / lzo / xz) # include uvesafb support (yes / no)
SQUASHFS_COMPRESSION="gzip" UVESAFB_SUPPORT="yes"
# Mediacenter to use (kodi / no) # Displayserver to use (x11 / no)
MEDIACENTER="kodi" DISPLAYSERVER="x11"
# Skins to install (Confluence) # KODI Player implementation to use (default / bcm2835-driver / libfslvpuwrap)
# Space separated list is supported, KODIPLAYER_DRIVER="default"
# e.g. SKINS="Confluence"
SKINS="Confluence"
# Default Skin (Confluence) # Modules to install in initramfs for early boot
SKIN_DEFAULT="Confluence" INITRAMFS_MODULES=""
# install extra subtitle Fonts for KODI (yes / no)
KODI_EXTRA_FONTS="yes"
# build and install 'RSXS' Screensaver (yes / no)
KODI_SCR_RSXS="yes"
# build and install 'ProjectM' Visualization (yes / no)
KODI_VIS_PROJECTM="yes"
# build and install 'GOOM' Visualization (yes / no)
KODI_VIS_GOOM="yes"
# build and install 'Waveform' Visualization (yes / no)
KODI_VIS_WAVEFORM="yes"
# build and install 'Spectrum' Visualization (yes / no)
KODI_VIS_SPECTRUM="yes"
# build and install 'FishBMC' Visualization (yes / no)
KODI_VIS_FISHBMC="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 espeak support (yes / no)
ESPEAK_SUPPORT="yes"
# build and install with non-free support
# (RAR compression support in KODI) (yes / no)
KODI_NONFREE_SUPPORT="yes"
# build and install with BluRay support (yes / no)
KODI_BLURAY_SUPPORT="yes"
# build and install with BD+ support
# (BD+ decryption support in KODI) (yes / no)
BLURAY_BDPLUS_SUPPORT="yes"
# build and install with AACS support
# (BD decryption support in KODI) (yes / no)
BLURAY_AACS_SUPPORT="yes"
# build and install with DVDCSS support
# (DVD decryption support in KODI) (yes / no)
KODI_DVDCSS_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 RTL8192DU RTL8188EU RTL8812AU dvbhdhomerun"
# build and install bluetooth support (yes / no)
BLUETOOTH_SUPPORT="yes"
# build and install with KODI webfrontend (yes / no)
KODI_WEBSERVER_SUPPORT="yes"
# build and install Avahi (Zeroconf) daemon (yes / no)
AVAHI_DAEMON="yes"
# build with UPnP support (yes / no)
KODI_UPNP_SUPPORT="yes"
# build with MySQL support (yes / no)
KODI_MYSQL_SUPPORT="yes"
# build xbmc with sshlib support (yes / no)
KODI_SSHLIB_SUPPORT="yes"
# build xbmc with optical drive support (yes / no)
KODI_OPTICAL_SUPPORT="yes"
# KODI Audio encoders for usage with optical drive support
# Space separated list is supported,
# e.g. KODI_AUDIOENCODER_ADDONS="ENCODER1 ENCODER2"
KODI_AUDIOENCODER_ADDONS="flac lame vorbis wav"
# build with AirPlay support (stream videos from iDevices to KODI) (yes / no)
KODI_AIRPLAY_SUPPORT="yes"
# build with AirTunes support (stream music from iDevices to KODI) (yes / no)
KODI_AIRTUNES_SUPPORT="yes"
# build with libnfs support (mounting nfs shares with KODI) (yes / no)
KODI_NFS_SUPPORT="yes"
# build with afpfs-ng support (mounting AFP shares with KODI) (yes / no)
KODI_AFP_SUPPORT="no"
# build with Samba Client support (mounting SAMBA shares with KODI) (yes / no)
KODI_SAMBA_SUPPORT="yes"
# build with NFS support (mounting nfs shares via the OS) (yes / no)
NFS_SUPPORT="yes"
# build with Samba Client support (mounting samba shares via the OS) (yes / no)
SAMBA_SUPPORT="yes"
# build and install Samba Server (yes / no)
SAMBA_SERVER="yes"
# build and install SFTP Server (yes / no)
SFTP_SERVER="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 support (udevil)
# this service provide auto mounting support for external drives in the
# mediacenter also automount internally drives at boottime via udev (yes / no)
UDEVIL="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 / fluxbox / none)
WINDOWMANAGER="fluxbox"
# include uvesafb support (yes / no)
UVESAFB_SUPPORT="yes"
# Displayserver to use (x11 / no)
DISPLAYSERVER="x11"
# Xorg Graphic drivers to use (all / i915,i965,r200,r300,r600,nvidia,nouveau)
# Space separated list is supported,
# e.g. GRAPHIC_DRIVERS="i915 i965 r300 r600 nvidia nouveau"
if [ "$TARGET_ARCH" = "i386" ]; then
# TODO: create Legacy build with OpenELEC-4.2
# install legacy drivers to i386 ARCH
GRAPHIC_DRIVERS="r200 r300 r600 i915 i965 nvidia-legacy"
elif [ "$TARGET_ARCH" = "x86_64" ]; then
GRAPHIC_DRIVERS="r300 r600 radeonsi i915 i965 nvidia"
fi
# KODI Player implementation to use (default / bcm2835-driver)
KODIPLAYER_DRIVER="default"
# build and install remote support (yes / no)
REMOTE_SUPPORT="yes"
# build and install ATV IR remote support (yes / no)
ATVCLIENT_SUPPORT="yes"
# 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,vlsys_m428
# '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,hd44780,CFontz,SureElec,vlsys_m428,serialVFD,shuttleVFD"
# Modules to install in initramfs for early boot
INITRAMFS_MODULES=""
# Support for partitioning and formating disks in initramfs (yes / no)
# This adds support for parted and mkfs.ext3/4 to initramfs for OEM usage
INITRAMFS_PARTED_SUPPORT="no"
# 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 swap support (yes / no)
SWAP_SUPPORT="no"
# swap support enabled per default (yes / no)
SWAP_ENABLED_DEFAULT="no"
# swapfile size if SWAP_SUPPORT=yes in MB
SWAPFILESIZE="256"
# 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"
# build and install nano text editor (yes / no)
NANO_EDITOR="yes"
# cron support (yes / no)
CRON_SUPPORT="yes"
# Perf support in development builds (yes / no)
PERF_SUPPORT="yes"
# 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"

View File

@ -1,359 +1,144 @@
# Name of the Distro to build (full name, without special characters) ################################################################################
DISTRONAME="OpenELEC" # setup system defaults
################################################################################
# short project description
DESCRIPTION="OpenELEC is a fast and userfriendly Kodi Entertainment Center distribution."
# 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=""
# Root password to integrate in the target system
ROOT_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="arm1176jzf-s"
# TARGET_FLOAT:
# Specifies which floating-point ABI to use. Permissible values are:
# soft softfp hard
TARGET_FLOAT="hard"
# 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="vfp"
;;
esac
# Build optimizations (size/normal)
OPTIMIZATIONS="size"
# Project CFLAGS
PROJECT_CFLAGS=""
# LTO (Link Time Optimization) support
LTO_SUPPORT="yes"
# GOLD (Google Linker) support
GOLD_SUPPORT="yes"
# Bootloader to use (syslinux / u-boot / bcm2835-bootloader)
BOOTLOADER="bcm2835-bootloader"
# u-boot version to use (default)
UBOOT_VERSION="default"
# Configuration for u-boot
UBOOT_CONFIG=""
# Target Configfile for u-boot
UBOOT_CONFIGFILE=""
# Kernel target for u-boot (default 'uImage' if BOOTLOADER=u-boot) (uImage / zImage)
KERNEL_UBOOT_TARGET=""
# Kernel extra targets to build
KERNEL_UBOOT_EXTRA_TARGET=""
# Additional kernel make parameters (for example to specify the u-boot loadaddress)
KERNEL_MAKE_EXTRACMD=""
# GCC to use. values can be:
# default: default mainline gcc
GCC_VERSION="4.7"
# Kernel to use. values can be:
# default: default mainline kernel
LINUX="default"
# use linux-next (latest rc) instead latest released version
LINUX_NEXT="no"
# SquashFS compression method (gzip / lzo / xz) # The TARGET_CPU variable controls which processor should be targeted for
SQUASHFS_COMPRESSION="lzo" # generated code.
case $TARGET_ARCH in
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="arm1176jzf-s"
# Mediacenter to use (kodi / no) # TARGET_FLOAT:
MEDIACENTER="kodi" # Specifies which floating-point ABI to use. Permissible values are:
# soft softfp hard
TARGET_FLOAT="hard"
# Skins to install (Confluence) # TARGET_FPU:
# Space separated list is supported, # This specifies what floating point hardware (or hardware emulation) is
# e.g. SKINS="Confluence" # available on the target. Permissible names are:
SKINS="Confluence" # 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="vfp"
;;
esac
# Default Skin (Confluence) # Bootloader to use (syslinux / u-boot / bcm2835-bootloader)
SKIN_DEFAULT="Confluence" BOOTLOADER="bcm2835-bootloader"
# install extra subtitle Fonts for KODI (yes / no) # u-boot version to use (default)
KODI_EXTRA_FONTS="yes" UBOOT_VERSION="default"
# build and install 'RSXS' Screensaver (yes / no) # Configuration for u-boot
KODI_SCR_RSXS="no" UBOOT_CONFIG=""
# build and install 'ProjectM' Visualization (yes / no) # Target Configfile for u-boot
KODI_VIS_PROJECTM="no" UBOOT_CONFIGFILE=""
# build and install 'GOOM' Visualization (yes / no) # Kernel target for u-boot (default 'uImage' if BOOTLOADER=u-boot) (uImage / zImage)
KODI_VIS_GOOM="no" KERNEL_UBOOT_TARGET=""
# build and install 'Waveform' Visualization (yes / no) # Kernel extra targets to build
KODI_VIS_WAVEFORM="yes" KERNEL_UBOOT_EXTRA_TARGET=""
# build and install 'Spectrum' Visualization (yes / no) # Additional kernel make parameters (for example to specify the u-boot loadaddress)
KODI_VIS_SPECTRUM="yes" KERNEL_MAKE_EXTRACMD=""
# build and install 'FishBMC' Visualization (yes / no) # Kernel to use. values can be:
# does not work on RPi # default: default mainline kernel
KODI_VIS_FISHBMC="no" LINUX="default"
# build and install ALSA Audio support (yes / no)
ALSA_SUPPORT="yes"
# build and install PulseAudio support (yes / no) ################################################################################
PULSEAUDIO_SUPPORT="no" # setup build defaults
################################################################################
# build and install espeak support (yes / no) # Build optimizations (size/normal)
ESPEAK_SUPPORT="yes" OPTIMIZATIONS="size"
# build and install with non-free support # Project CFLAGS
# (RAR compression support in KODI) (yes / no) PROJECT_CFLAGS=""
KODI_NONFREE_SUPPORT="yes"
# build and install with BluRay support (yes / no) # LTO (Link Time Optimization) support
KODI_BLURAY_SUPPORT="yes" LTO_SUPPORT="yes"
# build and install with BD+ support # GOLD (Google Linker) support
# (BD+ decryption support in KODI) (yes / no) GOLD_SUPPORT="yes"
BLURAY_BDPLUS_SUPPORT="yes"
# build and install with AACS support # SquashFS compression method (gzip / lzo / xz)
# (BD decryption support in KODI) (yes / no) SQUASHFS_COMPRESSION="lzo"
BLURAY_AACS_SUPPORT="yes"
# build and install with DVDCSS support
# (DVD decryption support in KODI) (yes / no)
KODI_DVDCSS_SUPPORT="yes"
# additional drivers to install: ################################################################################
# for a list of additinoal drivers see packages/linux-drivers # setup project defaults
# Space separated list is supported, ################################################################################
# e.g. ADDITIONAL_DRIVERS="DRIVER1 DRIVER2"
ADDITIONAL_DRIVERS="RTL8192CU RTL8192DU RTL8188EU RTL8812AU dvbhdhomerun"
# build and install bluetooth support (yes / no) # build and install ALSA Audio support (yes / no)
BLUETOOTH_SUPPORT="yes" ALSA_SUPPORT="yes"
# build and install with KODI webfrontend (yes / no) # OpenGL(X) implementation to use (no / Mesa)
KODI_WEBSERVER_SUPPORT="yes" OPENGL="no"
# build and install Avahi (Zeroconf) daemon (yes / no) # OpenGL-ES implementation to use (no / bcm2835-driver / gpu-viv-bin-mx6q)
AVAHI_DAEMON="yes" OPENGLES="bcm2835-driver"
# build with UPnP support (yes / no) # include uvesafb support (yes / no)
KODI_UPNP_SUPPORT="yes" UVESAFB_SUPPORT="no"
# build with MySQL support (yes / no) # Displayserver to use (x11 / no)
KODI_MYSQL_SUPPORT="yes" DISPLAYSERVER="no"
# build xbmc with sshlib support (yes / no) # Windowmanager to use (ratpoison / fluxbox / none)
KODI_SSHLIB_SUPPORT="yes" WINDOWMANAGER="none"
# build xbmc with optical drive support (yes / no) # Xorg Graphic drivers to use (all / i915,i965,r200,r300,r600,nvidia,nouveau)
KODI_OPTICAL_SUPPORT="yes" # Space separated list is supported,
# e.g. GRAPHIC_DRIVERS="i915 i965 r300 r600 radeonsi nvidia nouveau"
GRAPHIC_DRIVERS=""
# KODI Audio encoders for usage with optical drive support # KODI Player implementation to use (default / bcm2835-driver / libfslvpuwrap)
# Space separated list is supported, KODIPLAYER_DRIVER="bcm2835-driver"
# e.g. KODI_AUDIOENCODER_ADDONS="ENCODER1 ENCODER2"
KODI_AUDIOENCODER_ADDONS="flac lame vorbis wav"
# build with AirPlay support (stream videos from iDevices to KODI) (yes / no) # Modules to install in initramfs for early boot
KODI_AIRPLAY_SUPPORT="yes" INITRAMFS_MODULES=""
# build with AirTunes support (stream music from iDevices to KODI) (yes / no) # build and install ATV IR remote support (yes / no)
KODI_AIRTUNES_SUPPORT="yes" ATVCLIENT_SUPPORT="no"
# build with libnfs support (mounting nfs shares with KODI) (yes / no) # build and install IRServer IR/LCD support (yes / no)
KODI_NFS_SUPPORT="yes" IRSERVER_SUPPORT="no"
# build with afpfs-ng support (mounting AFP shares with KODI) (yes / no) # build with swap support (yes / no)
KODI_AFP_SUPPORT="no" SWAP_SUPPORT="yes"
# build with Samba Client (mounting SAMBA shares with KODI) (yes / no) # swap support enabled per default (yes / no)
KODI_SAMBA_SUPPORT="yes" SWAP_ENABLED_DEFAULT="no"
# build with NFS support (mounting nfs shares via the OS) (yes / no) # swapfile size if SWAP_SUPPORT=yes in MB
NFS_SUPPORT="yes" SWAPFILESIZE="128"
# build with Samba Client support (mounting samba shares via the OS) (yes / no) # build with installer (yes / no)
SAMBA_SUPPORT="yes" INSTALLER_SUPPORT="no"
# build and install Samba Server (yes / no) # build and install 'RSXS' Screensaver (yes / no)
SAMBA_SERVER="yes" KODI_SCR_RSXS="no"
# build and install SFTP Server (yes / no) # build and install 'ProjectM' Visualization (yes / no)
SFTP_SERVER="yes" KODI_VIS_PROJECTM="no"
# build and install PPP support (yes / no) # build and install 'GOOM' Visualization (yes / no)
PPTP_SUPPORT="yes" KODI_VIS_GOOM="no"
# build and install OpenVPN support (yes / no) # build and install 'FishBMC' Visualization (yes / no)
OPENVPN_SUPPORT="yes" KODI_VIS_FISHBMC="no"
# build and install diskmounter support (udevil)
# this service provide auto mounting support for external drives in the
# mediacenter also automount internally drives at boottime via udev (yes / no)
UDEVIL="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="no"
# OpenGL-ES implementation to use (no / bcm2835-driver)
OPENGLES="bcm2835-driver"
# Windowmanager to use (ratpoison / fluxbox / none)
WINDOWMANAGER="none"
# include uvesafb support (yes / no)
UVESAFB_SUPPORT="no"
# Displayserver to use (x11 / no)
DISPLAYSERVER="no"
# Xorg Graphic drivers to use (all / i915,i965,r200,r300,r600,nvidia,nouveau)
# Space separated list is supported,
# e.g. GRAPHIC_DRIVERS="i915 i965 r300 r600 radeonsi nvidia nouveau"
GRAPHIC_DRIVERS=""
# KODI Player implementation to use (default / bcm2835-driver)
KODIPLAYER_DRIVER="bcm2835-driver"
# 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="no"
# 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,vlsys_m428
# '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,hd44780,CFontz,SureElec,vlsys_m428"
# Modules to install in initramfs for early boot
INITRAMFS_MODULES=""
# Support for partitioning and formating disks in initramfs (yes / no)
# This adds support for parted and mkfs.ext3/4 to initramfs for OEM usage
INITRAMFS_PARTED_SUPPORT="no"
# 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 swap support (yes / no)
SWAP_SUPPORT="yes"
# swap support enabled per default (yes / no)
SWAP_ENABLED_DEFAULT="no"
# swapfile size if SWAP_SUPPORT=yes in MB
SWAPFILESIZE="128"
# build with installer (yes / no)
INSTALLER_SUPPORT="no"
# Testpackages for development (yes / no)
TESTING="no"
# OEM packages for OEM's (yes / no)
OEM_SUPPORT="no"
# build and install nano text editor (yes / no)
NANO_EDITOR="yes"
# cron support (yes / no)
CRON_SUPPORT="yes"
# Perf support in development builds (yes / no)
PERF_SUPPORT="yes"
# 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"

View File

@ -1,360 +1,145 @@
# Name of the Distro to build (full name, without special characters) ################################################################################
DISTRONAME="OpenELEC" # setup system defaults
################################################################################
# short project description
DESCRIPTION="OpenELEC is a fast and userfriendly Kodi Entertainment Center distribution."
# 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=""
# Root password to integrate in the target system
ROOT_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="hard"
# 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)
OPTIMIZATIONS="size"
# Project CFLAGS
PROJECT_CFLAGS=""
# LTO (Link Time Optimization) support
LTO_SUPPORT="yes"
# GOLD (Google Linker) support
GOLD_SUPPORT="yes"
# Bootloader to use (syslinux / u-boot / bcm2835-bootloader)
BOOTLOADER="u-boot"
# u-boot version to use (default)
UBOOT_VERSION="imx6-cuboxi"
# Configuration for u-boot
UBOOT_CONFIG="mx6_cubox-i_config"
# Target Configfile for u-boot
UBOOT_CONFIGFILE=""
# Kernel target for u-boot (default 'uImage' if BOOTLOADER=u-boot) (uImage / zImage)
KERNEL_UBOOT_TARGET="zImage"
# Kernel extra targets to build
KERNEL_UBOOT_EXTRA_TARGET="imx6q-cubox-i.dtb imx6dl-cubox-i.dtb"
KERNEL_UBOOT_EXTRA_TARGET="$KERNEL_UBOOT_EXTRA_TARGET imx6q-hummingboard.dtb imx6dl-hummingboard.dtb"
# Additional kernel make parameters (for example to specify the u-boot loadaddress)
KERNEL_MAKE_EXTRACMD=""
# GCC to use. values can be:
# default: default mainline gcc
GCC_VERSION="4.7"
# Kernel to use. values can be:
# default: default mainline kernel
LINUX="imx6"
# use linux-next (latest rc) instead latest released version
LINUX_NEXT="no"
# SquashFS compression method (gzip / lzo / xz)
SQUASHFS_COMPRESSION="gzip"
# Mediacenter to use (kodi / no)
MEDIACENTER="kodi"
# Skins to install (Confluence) # The TARGET_CPU variable controls which processor should be targeted for
# Space separated list is supported, # generated code.
# e.g. SKINS="Confluence" case $TARGET_ARCH in
SKINS="Confluence" 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"
# Default Skin (Confluence) # TARGET_FLOAT:
SKIN_DEFAULT="Confluence" # Specifies which floating-point ABI to use. Permissible values are:
# soft softfp hard
TARGET_FLOAT="hard"
# install extra subtitle Fonts for KODI (yes / no) # TARGET_FPU:
KODI_EXTRA_FONTS="yes" # 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 and install 'RSXS' Screensaver (yes / no) # Bootloader to use (syslinux / u-boot / bcm2835-bootloader)
KODI_SCR_RSXS="no" BOOTLOADER="u-boot"
# build and install 'ProjectM' Visualization (yes / no) # u-boot version to use (default)
KODI_VIS_PROJECTM="no" UBOOT_VERSION="imx6-cuboxi"
# build and install 'GOOM' Visualization (yes / no) # Configuration for u-boot
KODI_VIS_GOOM="no" UBOOT_CONFIG="mx6_cubox-i_config"
# build and install 'Waveform' Visualization (yes / no) # Target Configfile for u-boot
KODI_VIS_WAVEFORM="yes" UBOOT_CONFIGFILE=""
# build and install 'Spectrum' Visualization (yes / no) # Kernel target for u-boot (default 'uImage' if BOOTLOADER=u-boot) (uImage / zImage)
KODI_VIS_SPECTRUM="yes" KERNEL_UBOOT_TARGET="zImage"
# build and install 'FishBMC' Visualization (yes / no) # Kernel extra targets to build
# does not work on RPi KERNEL_UBOOT_EXTRA_TARGET="imx6q-cubox-i.dtb imx6dl-cubox-i.dtb"
KODI_VIS_FISHBMC="no" KERNEL_UBOOT_EXTRA_TARGET="$KERNEL_UBOOT_EXTRA_TARGET imx6q-hummingboard.dtb imx6dl-hummingboard.dtb"
# build and install ALSA Audio support (yes / no) # Additional kernel make parameters (for example to specify the u-boot loadaddress)
ALSA_SUPPORT="yes" KERNEL_MAKE_EXTRACMD=""
# build and install PulseAudio support (yes / no) # Kernel to use. values can be:
PULSEAUDIO_SUPPORT="no" # default: default mainline kernel
LINUX="imx6"
# build and install espeak support (yes / no)
ESPEAK_SUPPORT="yes"
# build and install with non-free support ################################################################################
# (RAR compression support in KODI) (yes / no) # setup build defaults
KODI_NONFREE_SUPPORT="yes" ################################################################################
# build and install with BluRay support (yes / no) # Build optimizations (size/normal)
KODI_BLURAY_SUPPORT="yes" OPTIMIZATIONS="size"
# build and install with BD+ support # Project CFLAGS
# (BD+ decryption support in KODI) (yes / no) PROJECT_CFLAGS=""
BLURAY_BDPLUS_SUPPORT="yes"
# build and install with AACS support # LTO (Link Time Optimization) support
# (BD decryption support in KODI) (yes / no) LTO_SUPPORT="yes"
BLURAY_AACS_SUPPORT="yes"
# build and install with DVDCSS support # GOLD (Google Linker) support
# (DVD decryption support in KODI) (yes / no) GOLD_SUPPORT="yes"
KODI_DVDCSS_SUPPORT="yes"
# additional drivers to install: # SquashFS compression method (gzip / lzo / xz)
# for a list of additinoal drivers see packages/linux-drivers SQUASHFS_COMPRESSION="gzip"
# Space separated list is supported,
# e.g. ADDITIONAL_DRIVERS="DRIVER1 DRIVER2"
ADDITIONAL_DRIVERS="RTL8192CU RTL8192DU RTL8188EU dvbhdhomerun"
# build and install bluetooth support (yes / no)
BLUETOOTH_SUPPORT="yes"
# build and install with KODI webfrontend (yes / no) ################################################################################
KODI_WEBSERVER_SUPPORT="yes" # setup project defaults
################################################################################
# build and install Avahi (Zeroconf) daemon (yes / no) # build and install ALSA Audio support (yes / no)
AVAHI_DAEMON="yes" ALSA_SUPPORT="yes"
# build with UPnP support (yes / no) # OpenGL(X) implementation to use (no / Mesa)
KODI_UPNP_SUPPORT="yes" OPENGL="no"
# build with MySQL support (yes / no) # OpenGL-ES implementation to use (no / bcm2835-driver / gpu-viv-bin-mx6q)
KODI_MYSQL_SUPPORT="yes" OPENGLES="gpu-viv-bin-mx6q"
# build xbmc with sshlib support (yes / no) # include uvesafb support (yes / no)
KODI_SSHLIB_SUPPORT="yes" UVESAFB_SUPPORT="no"
# build xbmc with optical drive support (yes / no) # Displayserver to use (x11 / no)
KODI_OPTICAL_SUPPORT="yes" DISPLAYSERVER="no"
# KODI Audio encoders for usage with optical drive support # Windowmanager to use (ratpoison / fluxbox / none)
# Space separated list is supported, WINDOWMANAGER="none"
# e.g. KODI_AUDIOENCODER_ADDONS="ENCODER1 ENCODER2"
KODI_AUDIOENCODER_ADDONS="flac lame vorbis wav"
# build with AirPlay support (stream videos from iDevices to KODI) (yes / no) # Xorg Graphic drivers to use (all / i915,i965,r200,r300,r600,nvidia,nouveau)
KODI_AIRPLAY_SUPPORT="yes" # Space separated list is supported,
# e.g. GRAPHIC_DRIVERS="i915 i965 r300 r600 radeonsi nvidia nouveau"
GRAPHIC_DRIVERS=""
# build with AirTunes support (stream music from iDevices to KODI) (yes / no) # KODI Player implementation to use (default / bcm2835-driver / libfslvpuwrap)
KODI_AIRTUNES_SUPPORT="yes" KODIPLAYER_DRIVER="libfslvpuwrap"
# build with libnfs support (mounting nfs shares with KODI) (yes / no) # Modules to install in initramfs for early boot
KODI_NFS_SUPPORT="yes" INITRAMFS_MODULES=""
# build with afpfs-ng support (mounting AFP shares with KODI) (yes / no) # build and install ATV IR remote support (yes / no)
KODI_AFP_SUPPORT="no" ATVCLIENT_SUPPORT="no"
# build with Samba Client support (mounting SAMBA shares with KODI) (yes / no) # build and install IRServer IR/LCD support (yes / no)
KODI_SAMBA_SUPPORT="yes" IRSERVER_SUPPORT="no"
# build with NFS support (mounting nfs shares via the OS) (yes / no) # build with swap support (yes / no)
NFS_SUPPORT="yes" SWAP_SUPPORT="no"
# build with Samba Client support (mounting samba shares via the OS) (yes / no) # swap support enabled per default (yes / no)
SAMBA_SUPPORT="yes" SWAP_ENABLED_DEFAULT="no"
# build and install Samba Server (yes / no) # swapfile size if SWAP_SUPPORT=yes in MB
SAMBA_SERVER="yes" SWAPFILESIZE="128"
# build and install SFTP Server (yes / no) # build with installer (yes / no)
SFTP_SERVER="yes" INSTALLER_SUPPORT="no"
# build and install PPP support (yes / no) # build and install 'RSXS' Screensaver (yes / no)
PPTP_SUPPORT="yes" KODI_SCR_RSXS="no"
# build and install OpenVPN support (yes / no) # build and install 'ProjectM' Visualization (yes / no)
OPENVPN_SUPPORT="yes" KODI_VIS_PROJECTM="no"
# build and install diskmounter support (udevil) # build and install 'GOOM' Visualization (yes / no)
# this service provide auto mounting support for external drives in the KODI_VIS_GOOM="no"
# mediacenter also automount internally drives at boottime via udev (yes / no)
UDEVIL="yes"
# build and install exFAT fuse support (yes / no) # build and install 'FishBMC' Visualization (yes / no)
EXFAT="yes" KODI_VIS_FISHBMC="no"
# 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="no"
# OpenGL-ES implementation to use (no / bcm2835-driver / gpu-viv-bin-mx6q)
OPENGLES="gpu-viv-bin-mx6q"
# Windowmanager to use (ratpoison / fluxbox / none)
WINDOWMANAGER="none"
# include uvesafb support (yes / no)
UVESAFB_SUPPORT="no"
# Displayserver to use (x11 / no)
DISPLAYSERVER="no"
# Xorg Graphic drivers to use (all / i915,i965,r200,r300,r600,nvidia,nouveau)
# Space separated list is supported,
# e.g. GRAPHIC_DRIVERS="i915 i965 r300 r600 radeonsi nvidia nouveau"
GRAPHIC_DRIVERS=""
# KODI Player implementation to use (default / bcm2835-driver)
KODIPLAYER_DRIVER="libfslvpuwrap"
# 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="no"
# 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,vlsys_m428
# '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,hd44780,CFontz,SureElec,vlsys_m428"
# Modules to install in initramfs for early boot
INITRAMFS_MODULES=""
# Support for partitioning and formating disks in initramfs (yes / no)
# This adds support for parted and mkfs.ext3/4 to initramfs for OEM usage
INITRAMFS_PARTED_SUPPORT="no"
# 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 swap support (yes / no)
SWAP_SUPPORT="no"
# swap support enabled per default (yes / no)
SWAP_ENABLED_DEFAULT="no"
# swapfile size if SWAP_SUPPORT=yes in MB
SWAPFILESIZE="128"
# build with installer (yes / no)
INSTALLER_SUPPORT="no"
# Testpackages for development (yes / no)
TESTING="no"
# OEM packages for OEM's (yes / no)
OEM_SUPPORT="no"
# build and install nano text editor (yes / no)
NANO_EDITOR="yes"
# cron support (yes / no)
CRON_SUPPORT="yes"
# Perf support in development builds (yes / no)
PERF_SUPPORT="yes"
# 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"