mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
Merge pull request #260 from stefansaraev/virtualization
virtualization: initial virtualbox support
This commit is contained in:
commit
7f3fb6adad
@ -16,7 +16,7 @@ fi
|
|||||||
|
|
||||||
get_graphicdrivers() {
|
get_graphicdrivers() {
|
||||||
if [ "$GRAPHIC_DRIVERS" = "all" ]; then
|
if [ "$GRAPHIC_DRIVERS" = "all" ]; then
|
||||||
GRAPHIC_DRIVERS="i915 i965 r200 r300 r600 fglrx nvidia vmware"
|
GRAPHIC_DRIVERS="i915 i965 r200 r300 r600 fglrx nvidia vmware virtualbox"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for drv in $GRAPHIC_DRIVERS; do
|
for drv in $GRAPHIC_DRIVERS; do
|
||||||
@ -50,6 +50,12 @@ get_graphicdrivers() {
|
|||||||
XINERAMA_SUPPORT="yes"
|
XINERAMA_SUPPORT="yes"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$drv" = "virtualbox" ]; then
|
||||||
|
DRI_DRIVERS="$DRI_DRIVERS,swrast"
|
||||||
|
XORG_DRIVERS="$XORG_DRIVERS virtualbox"
|
||||||
|
XINERAMA_SUPPORT="yes"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$drv" = "omapfb" ]; then
|
if [ "$drv" = "omapfb" ]; then
|
||||||
DRI_DRIVERS="$DRI_DRIVERS,swrast"
|
DRI_DRIVERS="$DRI_DRIVERS,swrast"
|
||||||
# GALLIUM_DRIVERS="$GALLIUM_DRIVERS,swrast"
|
# GALLIUM_DRIVERS="$GALLIUM_DRIVERS,swrast"
|
||||||
@ -75,6 +81,9 @@ get_graphicdrivers() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$drv" = "vmware" ]; then
|
if [ "$drv" = "vmware" ]; then
|
||||||
|
DRI_DRIVERS="$DRI_DRIVERS,swrast"
|
||||||
|
GALLIUM_DRIVERS="$GALLIUM_DRIVERS,svga"
|
||||||
|
XORG_DRIVERS="$XORG_DRIVERS vmware"
|
||||||
XINERAMA_SUPPORT="yes"
|
XINERAMA_SUPPORT="yes"
|
||||||
# LLVM_SUPPORT="yes"
|
# LLVM_SUPPORT="yes"
|
||||||
fi
|
fi
|
||||||
|
256
config/release/create_virtualimage
Executable file
256
config/release/create_virtualimage
Executable file
@ -0,0 +1,256 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Copyright (C) 2009-2010 OpenELEC.tv
|
||||||
|
# http://www.openelec.tv
|
||||||
|
#
|
||||||
|
# This Program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2, or (at your option)
|
||||||
|
# any later version.
|
||||||
|
#
|
||||||
|
# This Program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
||||||
|
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
||||||
|
# http://www.gnu.org/copyleft/gpl.html
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
# usage: sudo ./create_virtualmachine <path>
|
||||||
|
# example: sudo ./create_virtualmachine /home/test/VM
|
||||||
|
|
||||||
|
if [ "$(id -u)" != "0" ]; then
|
||||||
|
clear
|
||||||
|
echo "#########################################################"
|
||||||
|
echo "# please execute with 'sudo' or -DANGEROUS!!!- as root #"
|
||||||
|
echo "# example: sudo ./create_virtualmachine <path> #"
|
||||||
|
echo "#########################################################"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -z "$1" ]; then
|
||||||
|
clear
|
||||||
|
echo "#########################################################"
|
||||||
|
echo "# please execute with target folder drive as option #"
|
||||||
|
echo "# example: sudo ./create_virtualmachine /home/test/VM/ #"
|
||||||
|
echo "#########################################################"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
DISK="$1/OpenELEC.img"
|
||||||
|
VMDK="$1/OpenELEC.vmdk"
|
||||||
|
LOOP="/dev/loop0"
|
||||||
|
|
||||||
|
clear
|
||||||
|
echo "#########################################################"
|
||||||
|
echo "# #"
|
||||||
|
echo "# OpenELEC.tv USB Installer #"
|
||||||
|
echo "# #"
|
||||||
|
echo "#########################################################"
|
||||||
|
echo "# #"
|
||||||
|
echo "# This will wipe any data off your chosen drive #"
|
||||||
|
echo "# Please read the instructions and use very carefully.. #"
|
||||||
|
echo "# #"
|
||||||
|
echo "#########################################################"
|
||||||
|
|
||||||
|
# check for some required tools
|
||||||
|
|
||||||
|
# this is needed to create a bootloader
|
||||||
|
which syslinux > /dev/null
|
||||||
|
if [ "$?" = "1" ]; then
|
||||||
|
clear
|
||||||
|
echo "#########################################################"
|
||||||
|
echo "# #"
|
||||||
|
echo "# OpenELEC.tv missing tool - Installation will quit #"
|
||||||
|
echo "# #"
|
||||||
|
echo "# We can't find the required tool \"syslinux\" #"
|
||||||
|
echo "# on your system. #"
|
||||||
|
echo "# Please install it via your package manager. #"
|
||||||
|
echo "# #"
|
||||||
|
echo "#########################################################"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# this is needed by syslinux
|
||||||
|
which mcopy > /dev/null
|
||||||
|
if [ "$?" = "1" ]; then
|
||||||
|
clear
|
||||||
|
echo "#########################################################"
|
||||||
|
echo "# #"
|
||||||
|
echo "# OpenELEC.tv missing tool - Installation will quit #"
|
||||||
|
echo "# #"
|
||||||
|
echo "# We can't find the required tool \"mcopy\" #"
|
||||||
|
echo "# on your system. #"
|
||||||
|
echo "# Please install it via your package manager. #"
|
||||||
|
echo "# NOTE: Some distributions call this package #"
|
||||||
|
echo "# \"mtools\". #"
|
||||||
|
echo "# #"
|
||||||
|
echo "#########################################################"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# this is needed to partion the drive
|
||||||
|
which parted > /dev/null
|
||||||
|
if [ "$?" = "1" ]; then
|
||||||
|
clear
|
||||||
|
echo "#########################################################"
|
||||||
|
echo "# #"
|
||||||
|
echo "# OpenELEC.tv missing tool - Installation will quit #"
|
||||||
|
echo "# #"
|
||||||
|
echo "# We can't find the required tool \"parted\" #"
|
||||||
|
echo "# on your system. #"
|
||||||
|
echo "# Please install it via your package manager. #"
|
||||||
|
echo "# #"
|
||||||
|
echo "#########################################################"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# this is needed fo convert harddisk image to vmdk format
|
||||||
|
which qemu-img > /dev/null
|
||||||
|
if [ "$?" = "1" ]; then
|
||||||
|
clear
|
||||||
|
echo "#########################################################"
|
||||||
|
echo "# #"
|
||||||
|
echo "# OpenELEC.tv missing tool - Installation will quit #"
|
||||||
|
echo "# #"
|
||||||
|
echo "# We can't find the required tool \"qemu-img\" #"
|
||||||
|
echo "# on your system. #"
|
||||||
|
echo "# Please install it via your package manager. #"
|
||||||
|
echo "# #"
|
||||||
|
echo "#########################################################"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
# check MD5 sums
|
||||||
|
echo "checking MD5 sum..."
|
||||||
|
|
||||||
|
md5sumFailed()
|
||||||
|
{
|
||||||
|
clear
|
||||||
|
echo "#########################################################"
|
||||||
|
echo "# #"
|
||||||
|
echo "# OpenELEC.tv failed md5 check - Installation will quit #"
|
||||||
|
echo "# #"
|
||||||
|
echo "# Your original download was probably corrupt. #"
|
||||||
|
echo "# Please visit www.openelec.tv and get another copy #"
|
||||||
|
echo "# #"
|
||||||
|
echo "#########################################################"
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
|
md5sum -c target/KERNEL.md5
|
||||||
|
if [ "$?" = "1" ]; then
|
||||||
|
md5sumFailed
|
||||||
|
fi
|
||||||
|
|
||||||
|
md5sum -c target/SYSTEM.md5
|
||||||
|
if [ "$?" = "1" ]; then
|
||||||
|
md5sumFailed
|
||||||
|
fi
|
||||||
|
|
||||||
|
# ensure loop0 not in use
|
||||||
|
umount "$LOOP"
|
||||||
|
losetup -d "$LOOP"
|
||||||
|
|
||||||
|
# create an image
|
||||||
|
echo "creating new empty harddisk image: $DISK..."
|
||||||
|
dd if=/dev/zero of="$DISK" bs=1M count=512
|
||||||
|
|
||||||
|
# write a disklabel
|
||||||
|
echo "creating new partition table: $DISK..."
|
||||||
|
losetup "$LOOP" "$DISK"
|
||||||
|
parted -s "$LOOP" mklabel msdos
|
||||||
|
|
||||||
|
# create partition1
|
||||||
|
echo "creating partition1 on $DISK..."
|
||||||
|
parted -s "$LOOP" -a min unit s mkpart primary ext4 64 262208
|
||||||
|
|
||||||
|
# create partition2
|
||||||
|
echo "creating partition2 on $DISK..."
|
||||||
|
parted -s "$LOOP" -a min unit s mkpart primary ext4 262209 100%
|
||||||
|
|
||||||
|
# make partition1 active (bootable)
|
||||||
|
echo "marking partition1 active..."
|
||||||
|
parted -s "$LOOP" set 1 boot on
|
||||||
|
|
||||||
|
# write mbr
|
||||||
|
echo "writing mbr..."
|
||||||
|
if [ -f /usr/lib/syslinux/mbr.bin ]; then
|
||||||
|
MBR="/usr/lib/syslinux/mbr.bin" # example: debian, ubuntu
|
||||||
|
elif [ -f /usr/share/syslinux/mbr.bin ]; then
|
||||||
|
MBR="/usr/share/syslinux/mbr.bin" # example: fedora
|
||||||
|
else
|
||||||
|
echo "Can't find syslinux's mbr.bin on Host OS"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -n "$MBR" ]; then
|
||||||
|
cat "$MBR" > "$LOOP"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# create filesystem on partition1
|
||||||
|
echo "creating filesystem on partition1..."
|
||||||
|
losetup -d "$LOOP"
|
||||||
|
losetup -o 32768 --sizelimit 134218240 "$LOOP" "$DISK"
|
||||||
|
mke2fs -t ext4 -m 0 "$LOOP"
|
||||||
|
tune2fs -U random -L "System" "$LOOP"
|
||||||
|
sync
|
||||||
|
|
||||||
|
# mount partition
|
||||||
|
echo "mounting partition1 on /tmp/vmware_install..."
|
||||||
|
mkdir -p /tmp/vmware_install
|
||||||
|
mount "$LOOP" /tmp/vmware_install
|
||||||
|
|
||||||
|
# create bootloader configuration
|
||||||
|
echo "creating bootloader configuration..."
|
||||||
|
|
||||||
|
echo "DEFAULT linux" > /tmp/vmware_install/syslinux.cfg
|
||||||
|
echo "PROMPT 0" >> /tmp/vmware_install/syslinux.cfg
|
||||||
|
echo " " >> /tmp/vmware_install/syslinux.cfg
|
||||||
|
echo "LABEL linux" >> /tmp/vmware_install/syslinux.cfg
|
||||||
|
echo " KERNEL /KERNEL" >> /tmp/vmware_install/syslinux.cfg
|
||||||
|
echo " APPEND boot=LABEL=System disk=LABEL=Storage quiet ssh" >> /tmp/vmware_install/syslinux.cfg
|
||||||
|
|
||||||
|
# install extlinux
|
||||||
|
echo "installing extlinux to partition1..."
|
||||||
|
extlinux --heads=4 --sector=32 -i /tmp/vmware_install
|
||||||
|
|
||||||
|
# copy files
|
||||||
|
echo "copying files to partition1..."
|
||||||
|
cp target/KERNEL /tmp/vmware_install
|
||||||
|
cp target/SYSTEM /tmp/vmware_install
|
||||||
|
|
||||||
|
# sync disk
|
||||||
|
echo "syncing disk..."
|
||||||
|
sync
|
||||||
|
|
||||||
|
# unmount partition1
|
||||||
|
echo "unmounting partition1..."
|
||||||
|
umount "$LOOP"
|
||||||
|
sync
|
||||||
|
|
||||||
|
# create filesystem on partition2
|
||||||
|
echo "creating filesystem on partition2..."
|
||||||
|
losetup -d "$LOOP"
|
||||||
|
losetup -o 134251008 "$LOOP" "$DISK"
|
||||||
|
mke2fs -t ext4 -m 0 "$LOOP"
|
||||||
|
tune2fs -U random -L "Storage" "$LOOP"
|
||||||
|
sync
|
||||||
|
|
||||||
|
# detach loop0
|
||||||
|
losetup -d "$LOOP"
|
||||||
|
|
||||||
|
# cleaning
|
||||||
|
echo "cleaning tempdir..."
|
||||||
|
rm -rf /tmp/vmware_install
|
||||||
|
|
||||||
|
# convert image to vmdk
|
||||||
|
echo "converting $DISK to vmdk format..."
|
||||||
|
qemu-img convert -O vmdk "$DISK" "$VMDK"
|
||||||
|
rm -f "$DISK"
|
||||||
|
|
||||||
|
echo "...installation finished"
|
@ -56,6 +56,13 @@ HOST_OPT_FLAGS="$HOST_CFLAGS" \
|
|||||||
X11_INCLUDES= \
|
X11_INCLUDES= \
|
||||||
DRI_DRIVER_INSTALL_DIR="$XORG_PATH_DRI" \
|
DRI_DRIVER_INSTALL_DIR="$XORG_PATH_DRI" \
|
||||||
DRI_DRIVER_SEARCH_DIR="$XORG_PATH_DRI" \
|
DRI_DRIVER_SEARCH_DIR="$XORG_PATH_DRI" \
|
||||||
|
|
||||||
|
XA_CONFIG="--disable-xa"
|
||||||
|
for drv in $GRAPHIC_DRIVERS; do
|
||||||
|
[ "$drv" = "vmware" ] && \
|
||||||
|
XA_CONFIG="--enable-xa"
|
||||||
|
done
|
||||||
|
|
||||||
./configure --host=$TARGET_NAME \
|
./configure --host=$TARGET_NAME \
|
||||||
--build=$HOST_NAME \
|
--build=$HOST_NAME \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
@ -85,6 +92,7 @@ DRI_DRIVER_SEARCH_DIR="$XORG_PATH_DRI" \
|
|||||||
--disable-gallium-gbm \
|
--disable-gallium-gbm \
|
||||||
--enable-shared-glapi \
|
--enable-shared-glapi \
|
||||||
--enable-xcb \
|
--enable-xcb \
|
||||||
|
$XA_CONFIG \
|
||||||
--enable-shared-dricore \
|
--enable-shared-dricore \
|
||||||
--disable-egl \
|
--disable-egl \
|
||||||
$MESA_GALLIUM_LLVM \
|
$MESA_GALLIUM_LLVM \
|
||||||
|
@ -28,6 +28,9 @@ mkdir -p $INSTALL/usr/lib
|
|||||||
ln -sf /var/lib/libGL.so $INSTALL/usr/lib/libGL.so.1
|
ln -sf /var/lib/libGL.so $INSTALL/usr/lib/libGL.so.1
|
||||||
cp -P $PKG_BUILD/lib/libGLU.so* $INSTALL/usr/lib
|
cp -P $PKG_BUILD/lib/libGLU.so* $INSTALL/usr/lib
|
||||||
cp -P $PKG_BUILD/lib/libglapi.so* $INSTALL/usr/lib
|
cp -P $PKG_BUILD/lib/libglapi.so* $INSTALL/usr/lib
|
||||||
|
if [ -f $PKG_BUILD/lib/gallium/libxatracker.so ] ; then
|
||||||
|
cp -P $PKG_BUILD/lib/gallium/libxatracker.so* $INSTALL/usr/lib || true
|
||||||
|
fi
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/lib/dri
|
mkdir -p $INSTALL/usr/lib/dri
|
||||||
cp -P $PKG_BUILD/lib/libdricore.so $INSTALL/usr/lib/dri
|
cp -P $PKG_BUILD/lib/libdricore.so $INSTALL/usr/lib/dri
|
||||||
|
27
packages/linux-drivers/vboxguest/build
Executable file
27
packages/linux-drivers/vboxguest/build
Executable file
@ -0,0 +1,27 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# This file is part of OpenELEC - http://www.openelec.tv
|
||||||
|
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
||||||
|
#
|
||||||
|
# This Program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2, or (at your option)
|
||||||
|
# any later version.
|
||||||
|
#
|
||||||
|
# This Program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
||||||
|
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
||||||
|
# http://www.gnu.org/copyleft/gpl.html
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
. config/options $1
|
||||||
|
|
||||||
|
cd $BUILD/${PKG_NAME}-${PKG_VERSION}
|
||||||
|
|
||||||
|
make KERN_DIR=$(kernel_path)
|
29
packages/linux-drivers/vboxguest/install
Executable file
29
packages/linux-drivers/vboxguest/install
Executable file
@ -0,0 +1,29 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# This file is part of OpenELEC - http://www.openelec.tv
|
||||||
|
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
||||||
|
#
|
||||||
|
# This Program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2, or (at your option)
|
||||||
|
# any later version.
|
||||||
|
#
|
||||||
|
# This Program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
||||||
|
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
||||||
|
# http://www.gnu.org/copyleft/gpl.html
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
. config/options $1
|
||||||
|
|
||||||
|
VER=`ls $BUILD/linux*/modules/lib/modules`
|
||||||
|
|
||||||
|
mkdir -p $INSTALL/lib/modules/$VER/vboxguest
|
||||||
|
find $BUILD/${PKG_NAME}-${PKG_VERSION}/*.ko -name \*.ko -exec cp {} $INSTALL/lib/modules/$VER/vboxguest \;
|
||||||
|
|
35
packages/linux-drivers/vboxguest/meta
Normal file
35
packages/linux-drivers/vboxguest/meta
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
################################################################################
|
||||||
|
# This file is part of OpenELEC - http://www.openelec.tv
|
||||||
|
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
||||||
|
#
|
||||||
|
# This Program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2, or (at your option)
|
||||||
|
# any later version.
|
||||||
|
#
|
||||||
|
# This Program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
||||||
|
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
||||||
|
# http://www.gnu.org/copyleft/gpl.html
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
PKG_NAME="vboxguest"
|
||||||
|
PKG_VERSION="4.1.8"
|
||||||
|
PKG_REV="1"
|
||||||
|
PKG_ARCH="any"
|
||||||
|
PKG_LICENSE="GPL"
|
||||||
|
PKG_SITE="http://www.virtualbox.org"
|
||||||
|
PKG_URL="${DISTRO_SRC}/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
|
||||||
|
PKG_DEPENDS=""
|
||||||
|
PKG_BUILD_DEPENDS="toolchain linux"
|
||||||
|
PKG_PRIORITY="optional"
|
||||||
|
PKG_SECTION="driver"
|
||||||
|
PKG_SHORTDESC="vboxguest"
|
||||||
|
PKG_LONGDESC="vboxguest"
|
||||||
|
PKG_IS_ADDON="no"
|
||||||
|
PKG_AUTORECONF="no"
|
@ -3,4 +3,6 @@
|
|||||||
# This file contains the names of kernel modules that should be loaded
|
# This file contains the names of kernel modules that should be loaded
|
||||||
# at boot time, one per line. Lines beginning with "#" are ignored.
|
# at boot time, one per line. Lines beginning with "#" are ignored.
|
||||||
|
|
||||||
coretemp
|
coretemp
|
||||||
|
vboxvideo
|
||||||
|
vmwgfx
|
||||||
|
30
packages/x11/driver/xf86-video-virtualbox/install
Executable file
30
packages/x11/driver/xf86-video-virtualbox/install
Executable file
@ -0,0 +1,30 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# This file is part of OpenELEC - http://www.openelec.tv
|
||||||
|
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
||||||
|
#
|
||||||
|
# This Program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2, or (at your option)
|
||||||
|
# any later version.
|
||||||
|
#
|
||||||
|
# This Program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
||||||
|
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
||||||
|
# http://www.gnu.org/copyleft/gpl.html
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
mkdir -p $INSTALL/$XORG_PATH_MODULES/drivers
|
||||||
|
cp -P $PKG_BUILD/lib/VBoxGuestAdditions/vboxvideo_drv_111.so $INSTALL/$XORG_PATH_MODULES/drivers/vboxvideo_drv.so
|
||||||
|
mkdir -p $INSTALL/usr/lib/dri
|
||||||
|
cp -P $PKG_BUILD/lib/VBoxOGL.so $INSTALL/usr/lib/dri/vboxvideo_dri.so
|
||||||
|
mkdir -p $INSTALL/usr/lib
|
||||||
|
cp -aP $PKG_BUILD/lib/* $INSTALL/usr/lib
|
36
packages/x11/driver/xf86-video-virtualbox/meta
Normal file
36
packages/x11/driver/xf86-video-virtualbox/meta
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
################################################################################
|
||||||
|
# This file is part of OpenELEC - http://www.openelec.tv
|
||||||
|
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
||||||
|
#
|
||||||
|
# This Program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2, or (at your option)
|
||||||
|
# any later version.
|
||||||
|
#
|
||||||
|
# This Program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
||||||
|
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
||||||
|
# http://www.gnu.org/copyleft/gpl.html
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
PKG_NAME="xf86-video-virtualbox"
|
||||||
|
PKG_VERSION="4.1.8"
|
||||||
|
PKG_REV="1"
|
||||||
|
PKG_ARCH="i386 x86_64"
|
||||||
|
PKG_LICENSE="OSS"
|
||||||
|
PKG_SITE="http://www.virtualbox.org"
|
||||||
|
PKG_URL="${DISTRO_SRC}/${PKG_NAME}-${PKG_VERSION}-${ARCH}.tar.bz2"
|
||||||
|
PKG_DEPENDS="libXcomposite libXdamage libXfixes libXext libX11 libxcb libXau"
|
||||||
|
PKG_BUILD_DEPENDS="toolchain"
|
||||||
|
PKG_PRIORITY="optional"
|
||||||
|
PKG_SECTION="x11/driver"
|
||||||
|
PKG_SHORTDESC="xf86-video-virtualbox: The Xorg driver for virtualbox video"
|
||||||
|
PKG_LONGDESC="xf86-video-virtualbox: The Xorg driver for virtualbox video"
|
||||||
|
PKG_IS_ADDON="no"
|
||||||
|
|
||||||
|
PKG_AUTORECONF="no"
|
27
packages/x11/driver/xf86-video-virtualbox/unpack
Executable file
27
packages/x11/driver/xf86-video-virtualbox/unpack
Executable file
@ -0,0 +1,27 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# This file is part of OpenELEC - http://www.openelec.tv
|
||||||
|
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
||||||
|
#
|
||||||
|
# This Program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2, or (at your option)
|
||||||
|
# any later version.
|
||||||
|
#
|
||||||
|
# This Program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
||||||
|
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
||||||
|
# http://www.gnu.org/copyleft/gpl.html
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
. config/options $1
|
||||||
|
|
||||||
|
mkdir $BUILD/$PKG_NAME-$PKG_VERSION
|
||||||
|
|
||||||
|
tar jxpf $SOURCES/$1/$PKG_NAME-$PKG_VERSION-$ARCH.tar.bz2 -C $BUILD/$PKG_NAME-$PKG_VERSION
|
37
packages/x11/driver/xf86-video-vmware/build
Executable file
37
packages/x11/driver/xf86-video-vmware/build
Executable file
@ -0,0 +1,37 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# This file is part of OpenELEC - http://www.openelec.tv
|
||||||
|
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
||||||
|
#
|
||||||
|
# This Program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2, or (at your option)
|
||||||
|
# any later version.
|
||||||
|
#
|
||||||
|
# This Program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
||||||
|
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
||||||
|
# http://www.gnu.org/copyleft/gpl.html
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
. config/options $1
|
||||||
|
|
||||||
|
xorg_drv_configure_prepend
|
||||||
|
|
||||||
|
cd $PKG_BUILD
|
||||||
|
./configure --host=$TARGET_NAME \
|
||||||
|
--build=$HOST_NAME \
|
||||||
|
--prefix=/usr \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--enable-shared \
|
||||||
|
--disable-static \
|
||||||
|
--enable-vmwarectrl-client \
|
||||||
|
--with-xorg-module-dir=$XORG_PATH_MODULES
|
||||||
|
|
||||||
|
make
|
26
packages/x11/driver/xf86-video-vmware/install
Executable file
26
packages/x11/driver/xf86-video-vmware/install
Executable file
@ -0,0 +1,26 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# This file is part of OpenELEC - http://www.openelec.tv
|
||||||
|
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
||||||
|
#
|
||||||
|
# This Program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2, or (at your option)
|
||||||
|
# any later version.
|
||||||
|
#
|
||||||
|
# This Program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
||||||
|
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
||||||
|
# http://www.gnu.org/copyleft/gpl.html
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
. config/options
|
||||||
|
|
||||||
|
mkdir -p $INSTALL/$XORG_PATH_MODULES/drivers
|
||||||
|
cp -P $PKG_BUILD/src/.libs/vmware_drv.so $INSTALL/$XORG_PATH_MODULES/drivers
|
36
packages/x11/driver/xf86-video-vmware/meta
Normal file
36
packages/x11/driver/xf86-video-vmware/meta
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
################################################################################
|
||||||
|
# This file is part of OpenELEC - http://www.openelec.tv
|
||||||
|
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
||||||
|
#
|
||||||
|
# This Program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2, or (at your option)
|
||||||
|
# any later version.
|
||||||
|
#
|
||||||
|
# This Program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
||||||
|
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
||||||
|
# http://www.gnu.org/copyleft/gpl.html
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
PKG_NAME="xf86-video-vmware"
|
||||||
|
PKG_VERSION="12.0.0"
|
||||||
|
PKG_REV="1"
|
||||||
|
PKG_ARCH="i386 x86_64"
|
||||||
|
PKG_LICENSE="OSS"
|
||||||
|
PKG_SITE="http://www.vmware.com"
|
||||||
|
PKG_URL="http://cgit.freedesktop.org/xorg/driver/xf86-video-vmware/snapshot/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
||||||
|
PKG_DEPENDS="libX11 Mesa"
|
||||||
|
PKG_BUILD_DEPENDS="toolchain Mesa"
|
||||||
|
PKG_PRIORITY="optional"
|
||||||
|
PKG_SECTION="x11/driver"
|
||||||
|
PKG_SHORTDESC="xf86-video-vmware: The Xorg driver for vmware video"
|
||||||
|
PKG_LONGDESC="xf86-video-vmware: The Xorg driver for vmware video"
|
||||||
|
PKG_IS_ADDON="no"
|
||||||
|
|
||||||
|
PKG_AUTORECONF="yes"
|
@ -29,6 +29,8 @@ GOTO="end_video"
|
|||||||
LABEL="subsystem_drivers"
|
LABEL="subsystem_drivers"
|
||||||
KERNEL=="fglrx_pci", ENV{xorg_driver}="fglrx", GOTO="start_xorg"
|
KERNEL=="fglrx_pci", ENV{xorg_driver}="fglrx", GOTO="start_xorg"
|
||||||
KERNEL=="nvidia", ENV{xorg_driver}="nvidia", GOTO="start_xorg"
|
KERNEL=="nvidia", ENV{xorg_driver}="nvidia", GOTO="start_xorg"
|
||||||
|
KERNEL=="vboxvideo", ENV{xorg_driver}="vboxvideo", GOTO="start_xorg"
|
||||||
|
KERNEL=="vmwgfx", ENV{xorg_driver}="vmware", GOTO="start_xorg"
|
||||||
GOTO="end_video"
|
GOTO="end_video"
|
||||||
|
|
||||||
# check for drivers using the pci substem
|
# check for drivers using the pci substem
|
||||||
@ -37,7 +39,6 @@ DRIVER=="i915", ENV{xorg_driver}="i915", GOTO="start_xorg"
|
|||||||
DRIVER=="nouveau", ENV{xorg_driver}="nouveau", GOTO="start_xorg"
|
DRIVER=="nouveau", ENV{xorg_driver}="nouveau", GOTO="start_xorg"
|
||||||
#DRIVER=="nvidia", ENV{xorg_driver}="nvidia", GOTO="start_xorg"
|
#DRIVER=="nvidia", ENV{xorg_driver}="nvidia", GOTO="start_xorg"
|
||||||
DRIVER=="radeon", ENV{xorg_driver}="radeon", GOTO="start_xorg"
|
DRIVER=="radeon", ENV{xorg_driver}="radeon", GOTO="start_xorg"
|
||||||
DRIVER=="vmware", ENV{xorg_driver}="vmware", GOTO="start_xorg"
|
|
||||||
GOTO="end_video"
|
GOTO="end_video"
|
||||||
|
|
||||||
# start Xorg
|
# start Xorg
|
||||||
|
3330
projects/Virtual/linux/linux.i386.conf
Normal file
3330
projects/Virtual/linux/linux.i386.conf
Normal file
File diff suppressed because it is too large
Load Diff
3271
projects/Virtual/linux/linux.x86_64.conf
Normal file
3271
projects/Virtual/linux/linux.x86_64.conf
Normal file
File diff suppressed because it is too large
Load Diff
309
projects/Virtual/options
Executable file
309
projects/Virtual/options
Executable file
@ -0,0 +1,309 @@
|
|||||||
|
# Name of the Distro to build (full name, without special charcters)
|
||||||
|
if [ "$PVR" = yes ]; then
|
||||||
|
DISTRONAME="OpenELEC_PVR"
|
||||||
|
else
|
||||||
|
DISTRONAME="OpenELEC"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# 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=""
|
||||||
|
|
||||||
|
# Hostname for target system (openelec)
|
||||||
|
HOSTNAME="openelec"
|
||||||
|
|
||||||
|
# Root password to integrate in the target system
|
||||||
|
ROOT_PASSWORD="openelec"
|
||||||
|
|
||||||
|
# User to integrate in the target system
|
||||||
|
USER_NAME="openelec"
|
||||||
|
|
||||||
|
# User group to integrate in the target system
|
||||||
|
USER_GROUP="openelec"
|
||||||
|
|
||||||
|
# User password to integrate in the target system
|
||||||
|
USER_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="core2"
|
||||||
|
;;
|
||||||
|
|
||||||
|
x86_64)
|
||||||
|
# (AMD CPUs) k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3
|
||||||
|
# athlon-fx amdfam10 barcelona
|
||||||
|
# (Intel CPUs) atom core2 nocona
|
||||||
|
#
|
||||||
|
TARGET_CPU="core2"
|
||||||
|
;;
|
||||||
|
|
||||||
|
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_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/speed)
|
||||||
|
OPTIMIZATIONS="speed"
|
||||||
|
|
||||||
|
# Project CFLAGS
|
||||||
|
PROJECT_CFLAGS="-mfpmath=sse -msse2 -mssse3"
|
||||||
|
|
||||||
|
# LTO (Link Time Optimization) support
|
||||||
|
LTO_SUPPORT="no"
|
||||||
|
|
||||||
|
# GOLD (Google Linker) support
|
||||||
|
GOLD_SUPPORT="no"
|
||||||
|
|
||||||
|
# Graphite Support
|
||||||
|
GRAPHITE_SUPPORT="yes"
|
||||||
|
|
||||||
|
# LOOP optimazion support
|
||||||
|
LOOP_SUPPORT="yes"
|
||||||
|
|
||||||
|
# Bootloader to use (syslinux / u-boot / atv-bootloader)
|
||||||
|
BOOTLOADER="syslinux"
|
||||||
|
|
||||||
|
# Configuration for u-boot
|
||||||
|
UBOOT_CONFIG=""
|
||||||
|
|
||||||
|
# Kernel to use. values can be:
|
||||||
|
# default: default mainline kernel
|
||||||
|
# ti-omap4: Ti's OMAP4 kernel
|
||||||
|
LINUX="default"
|
||||||
|
|
||||||
|
# use linux-next (latest rc) instead latest released version
|
||||||
|
LINUX_NEXT="no"
|
||||||
|
|
||||||
|
# SquashFS compression method (gzip / lzo / xz)
|
||||||
|
SQUASHFS_COMPRESSION="gzip"
|
||||||
|
|
||||||
|
# Mediacenter to use (xbmc / no)
|
||||||
|
if [ "$PVR" = yes ]; then
|
||||||
|
MEDIACENTER="xbmc-pvr"
|
||||||
|
else
|
||||||
|
MEDIACENTER="xbmc"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# 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 XBMC (yes / no)
|
||||||
|
XBMC_EXTRA_FONTS="yes"
|
||||||
|
|
||||||
|
# Plugins for XBMC to install (SABnzbd)
|
||||||
|
# Space separated list is supported,
|
||||||
|
# e.g. XBMC_PLUGINS="SABnzbd"
|
||||||
|
XBMC_PLUGINS=""
|
||||||
|
|
||||||
|
# build and install 'RSXS' Screensaver (yes / no)
|
||||||
|
XBMC_SCR_RSXS="yes"
|
||||||
|
|
||||||
|
# build and install 'ProjectM' Visualization (yes / no)
|
||||||
|
XBMC_VIS_PROJECTM="yes"
|
||||||
|
|
||||||
|
# build and install 'GOOM' Visualization (yes / no)
|
||||||
|
XBMC_VIS_GOOM="yes"
|
||||||
|
|
||||||
|
# build and install PulseAudio support (yes / no)
|
||||||
|
PULSEAUDIO_SUPPORT="no"
|
||||||
|
|
||||||
|
# build and install with non-free support
|
||||||
|
# (RAR compression support in XBMC) (yes / no)
|
||||||
|
NONFREE_SUPPORT="yes"
|
||||||
|
|
||||||
|
# build and install with DVDCSS support
|
||||||
|
# (DVD decryption support in XBMC) (yes / no)
|
||||||
|
DVDCSS_SUPPORT="yes"
|
||||||
|
|
||||||
|
# build and install with BluRay support (yes / no)
|
||||||
|
BLURAY_SUPPORT="yes"
|
||||||
|
|
||||||
|
# additional drivers to install:
|
||||||
|
# AF9035: Afa Technologies Inc. AF9035A USB DVB Device
|
||||||
|
# asix-ax887xx: Asix AX887xx USB LAN Driver
|
||||||
|
# vboxguest: Oracle VM VirtualBox Guest Additions / Graphics Card
|
||||||
|
# Space separated list is supported,
|
||||||
|
# e.g. ADDITIONAL_DRIVERS="asix-ax887xx AF9035 vboxguest"
|
||||||
|
ADDITIONAL_DRIVERS="asix-ax887xx vboxguest"
|
||||||
|
if [ "$PVR" = yes ]; then
|
||||||
|
ADDITIONAL_DRIVERS="$ADDITIONAL_DRIVERS AF9035 A867 aver_h826d RTL2832 hdhomerun-driver vtuner-driver"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# build with network support (yes / no)
|
||||||
|
NETWORK="yes"
|
||||||
|
|
||||||
|
# build and install bluetooth support (yes / no)
|
||||||
|
BLUETOOTH_SUPPORT="yes"
|
||||||
|
|
||||||
|
# build and install with XBMC webfrontend (yes / no)
|
||||||
|
WEBSERVER="yes"
|
||||||
|
|
||||||
|
# build and install Avahi (Zeroconf) daemon (yes / no)
|
||||||
|
AVAHI_DAEMON="yes"
|
||||||
|
|
||||||
|
# build with AirPlay support (stream videos from iDevices to XBMC) (yes / no)
|
||||||
|
AIRPLAY_SUPPORT="yes"
|
||||||
|
|
||||||
|
# build with AirTunes support (stream music from iDevices to XBMC) (yes / no)
|
||||||
|
AIRTUNES_SUPPORT="yes"
|
||||||
|
|
||||||
|
# build with libnfs support (mounting nfs shares with XBMC) (yes / no)
|
||||||
|
NFS_SUPPORT="yes"
|
||||||
|
|
||||||
|
# build with afpfs-ng support (mounting AFP shares with XBMC) (yes / no)
|
||||||
|
AFP_SUPPORT="yes"
|
||||||
|
|
||||||
|
# build and install Samba Client support (yes / no)
|
||||||
|
SAMBA_CLIENT="yes"
|
||||||
|
|
||||||
|
# build and install Samba Server (yes / no)
|
||||||
|
SAMBA_SERVER="yes"
|
||||||
|
|
||||||
|
# build and install SFTP Server (yes / no)
|
||||||
|
SFTP_SERVER="yes"
|
||||||
|
|
||||||
|
# build and install SSH Guard (yes / no)
|
||||||
|
SSHGUARD_SUPPORT="yes"
|
||||||
|
|
||||||
|
# build and install diskmounter service (udisks)
|
||||||
|
# this service provide auto mounting support for external drives
|
||||||
|
# in the mediacenter also automount internally drives at boottime (yes / no)
|
||||||
|
UDISKS="yes"
|
||||||
|
|
||||||
|
# build and install powermanagement support (upower) (yes / no)
|
||||||
|
UPOWER="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 / none)
|
||||||
|
WINDOWMANAGER="ratpoison"
|
||||||
|
|
||||||
|
# Xorg Graphic drivers to use (all / i915,i965,r200,r300,r600,fglrx,nvidia,nouveau,vmware,virtualbox)
|
||||||
|
# Space separated list is supported,
|
||||||
|
# e.g. GRAPHIC_DRIVERS="i915 i965 r300 r600 radeon nvidia nouveau"
|
||||||
|
GRAPHIC_DRIVERS="vmware virtualbox"
|
||||||
|
|
||||||
|
# Use VDPAU video acceleration (needs nVidia driver and a supported card)
|
||||||
|
VDPAU="no"
|
||||||
|
|
||||||
|
# Use VAAPI video acceleration (needs intel i965 driver and a supported card)
|
||||||
|
VAAPI="no"
|
||||||
|
|
||||||
|
# Use XVBA video acceleration (needs AMD fglrx driver and a supported card)
|
||||||
|
XVBA="no"
|
||||||
|
|
||||||
|
# Use Broadcom CrystalHD Decoder Card for video acceleration
|
||||||
|
# (needs Kernelsupport for Broadcom Decoder Card and a supported card)
|
||||||
|
CRYSTALHD="yes"
|
||||||
|
|
||||||
|
# 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="yes"
|
||||||
|
|
||||||
|
# build and install Joystick support (yes / no)
|
||||||
|
JOYSTICK_SUPPORT="yes"
|
||||||
|
|
||||||
|
# build and install CEC adapter support (yes / no)
|
||||||
|
CEC_SUPPORT="yes"
|
||||||
|
|
||||||
|
# LCD driver to Use - Possible drivers are ( Comma seperated:
|
||||||
|
# bayrad,CFontz,CFontz633,CFontzPacket,curses,CwLnx,
|
||||||
|
# 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,
|
||||||
|
# 'all' compiles all drivers;
|
||||||
|
# 'all,!xxx,!yyy' de-selects previously selected drivers
|
||||||
|
# "none" for disable LCD support
|
||||||
|
LCD_DRIVER="irtrans,imon,imonlcd,mdm166a,MtxOrb"
|
||||||
|
|
||||||
|
# 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"
|
||||||
|
if [ "$PVR" = yes ]; then
|
||||||
|
FIRMWARE="$FIRMWARE dvb-firmware"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# build with lm_sensors hardware monitoring support (yes / no)
|
||||||
|
SENSOR_SUPPORT="yes"
|
||||||
|
|
||||||
|
# build with automatic update support (yes / no)
|
||||||
|
UPDATE_SUPPORT="yes"
|
||||||
|
|
||||||
|
# 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"
|
||||||
|
|
||||||
|
# Coreboot support (yes / no)
|
||||||
|
COREBOOT="no"
|
||||||
|
|
||||||
|
# Distribution Specific source location
|
||||||
|
DISTRO_SRC="http://sources.openelec.tv/$OPENELEC_VERSION"
|
||||||
|
|
||||||
|
# Addon Server Url
|
||||||
|
ADDON_SERVER_URL="http://addons.openelec.tv"
|
||||||
|
|
||||||
|
# set the addon dirs
|
||||||
|
ADDON_PATH="$OS_VERSION/$PROJECT/$TARGET_ARCH"
|
||||||
|
ADDON_URL="$ADDON_SERVER_URL/$ADDON_PATH"
|
Loading…
x
Reference in New Issue
Block a user