Files
Arch-R/projects/intel/options
Stephan Raue 9ab4a8af92 projects/intel:
- update config file
2009-10-03 23:05:45 +02:00

103 lines
2.8 KiB
Plaintext

# Welcome Message for e.g. SSH Server (up to 5 Lines)
GREATING0="#######################################################"
GREATING1="# Welcome to OpenELEC - the powerfull Mediacenter4you #"
GREATING2="# .......... visit http://www.openelec.tv ........... #"
GREATING3="#######################################################"
GREATING4=""
# Root password to integrate in the target system
ROOT_PASSWORD="openelec"
# build with static busybox (this makes kernel smaller if
# only busybox exists in initramfs) (yes /no )
BUSYBOX_STATIC=yes
# Mediacenter to use (enna / moovida / mythtv / no)
MEDIACENTER=moovida
# build with plymouth graphical boot (yes / no)
PLYMOUTH=yes
# build with network support (yes / no)
NETWORK=yes
# Displayserver to use (wayland / xorg-server / no)
DISPLAYSERVER=xorg-server
# Graphic drivers to use (all / i915,i965,r200,r300,r600,radeon,nouveau)
# Space separated list is supported,
# e.g. GRAPHIC_DRIVERS="i915 i965 radeon nouveau"
GRAPHIC_DRIVERS="i965"
# MESA to use (Mesa / Mesa-master)
MESA=Mesa-master
# libdrm to use (libdrm / libdrm-master)
LIBDRM=libdrm
# build with games support (yes / no)
GAMES=yes
# build with emulator support (yes / no)
EMULATORS=no
# Coreboot support (yes / no)
COREBOOT=no
#####################################################################
## Do not change anything below this line
#####################################################################
# if [ "$PLYMOUTH" = "yes" ]; then
# BUSYBOX_STATIC=no
# fi
if [ "$DISPLAYSERVER" = xorg-server ]; then
CAIRO=cairo
elif [ "$DISPLAYSERVER" = wayland ]; then
CAIRO=cairo-drm
fi
if [ "$MEDIACENTER" = mythtv ]; then
XINERAMA=yes
MESA_GLU=yes
fi
if [ "$MEDIACENTER" = enna ]; then
MESA_GLU=yes
fi
get_graphicdrivers() {
if [ "$GRAPHIC_DRIVERS" = all ]; then
GRAPHIC_DRIVERS="i915 i965 r200 r300 r600 radeon nouveau"
fi
for drv in $GRAPHIC_DRIVERS; do
[ $drv = i915 ] && MESA_DRIVERS="$MESA_DRIVERS,i915"
[ $drv = i965 ] && MESA_DRIVERS="$MESA_DRIVERS,i965"
[ $drv = r200 ] && MESA_DRIVERS="$MESA_DRIVERS,r200"
[ $drv = r300 ] && MESA_DRIVERS="$MESA_DRIVERS,r300"
[ $drv = r600 ] && MESA_DRIVERS="$MESA_DRIVERS,r600"
[ $drv = radeon ] && MESA_DRIVERS="$MESA_DRIVERS,radeon"
if [ $drv = i915 -o $drv = i965 ]; then
MESA_CONFIG="$MESA_CONFIG --enable-gallium-intel"
XORG_DRIVERS="$XORG_DRIVERS intel"
DRM_DRIVERS="$DRM_DRIVERS intel"
fi
if [ $drv = r200 -o $drv = r300 -o $drv = r600 -o $drv = radeon ]; then
MESA_CONFIG="$MESA_CONFIG --enable-gallium-radeon"
XORG_DRIVERS="$XORG_DRIVERS ati"
DRM_DRIVERS="$DRM_DRIVERS radeon"
fi
if [ $drv = nouveau ]; then
MESA_CONFIG="$MESA_CONFIG --enable-gallium-nouveau"
XORG_DRIVERS="$XORG_DRIVERS nouveau"
DRM_DRIVERS="$DRM_DRIVERS nouveau"
fi
done
}