projects/ATV/*: add 'make' variable to build with PVR support: to build with PVR support use 'PROJECT=<project> ARCH=<arch> PVR=yes make [release]' if $PVR is not 'yes' or not specified the non-PVR version will be built (XBMC without PVR, no PVR drivers and firmwares) otherwise PVR support will be built and installed. This completes the merge of xbmc-pvr into the master branch

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-12-09 11:30:30 +01:00
parent e89e44a2a2
commit 8b6835d701
8 changed files with 136 additions and 29 deletions

View File

@ -41,8 +41,17 @@ cp $KERNEL_CFG_FILE $LINUX/.config
sed -i -e "s|^CONFIG_INITRAMFS_SOURCE=.*$|CONFIG_INITRAMFS_SOURCE=\"$ROOT/$BUILD/image/initramfs.cpio\"|" \
$LINUX/.config
# wipe out DVB and TV stuff if not building PVR version
if [ ! "$PVR" = yes ]; then
sed -i -e "s|^CONFIG_DVB_CORE=.*$|# CONFIG_DVB_CORE is not set|" $LINUX/.config
sed -i -e "s|^CONFIG_VIDEO_DEV=.*$|# CONFIG_VIDEO_DEV is not set|" $LINUX/.config
fi
# wipe out nouveau if GRAPHICS_DRIVERS contains nvidia
echo $GRAPHIC_DRIVERS | grep "nvidia" &>/dev/null && sed -i '/NOUVEAU/ d' $LINUX/.config && echo "# CONFIG_DRM_NOUVEAU is not set" >> $LINUX/.config
echo $GRAPHIC_DRIVERS | grep "nvidia" &>/dev/null && \
sed -i '/NOUVEAU/ d' $LINUX/.config && \
echo "# CONFIG_DRM_NOUVEAU is not set" >> $LINUX/.config
# copy some extra firmware to linux tree
cp -R $PKG_DIR/firmware/* $LINUX/firmware

View File

@ -1,5 +1,9 @@
# Name of the Distro to build (full name, without special charcters)
DISTRONAME="OpenELEC_PVR"
if [ "$PVR" = yes ]; then
DISTRONAME="OpenELEC_PVR"
else
DISTRONAME="OpenELEC"
fi
# Welcome Message for e.g. SSH Server (up to 5 Lines)
GREATING0="##############################################"
@ -104,7 +108,11 @@
LINUX_NEXT="no"
# Mediacenter to use (xbmc / no)
MEDIACENTER="xbmc"
if [ "$PVR" = yes ]; then
MEDIACENTER="xbmc-pvr"
else
MEDIACENTER="xbmc"
fi
# Skins to install (Confluence)
# Space separated list is supported,
@ -150,7 +158,10 @@
# asix-ax887xx: Asix AX887xx USB LAN Driver
# Space separated list is supported,
# e.g. ADDITIONAL_DRIVERS="asix-ax887xx AF9035"
ADDITIONAL_DRIVERS="asix-ax887xx AF9035 bcm_sta a867_drv aver_h826d"
ADDITIONAL_DRIVERS="asix-ax887xx bcm_sta"
if [ "$PVR" = yes ]; then
ADDITIONAL_DRIVERS="$ADDITIONAL_DRIVERS AF9035 a867_drv aver_h826d"
fi
# build with network support (yes / no)
NETWORK="yes"
@ -251,7 +262,10 @@
# 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="dvb-firmware wlan-firmware"
FIRMWARE="wlan-firmware"
if [ "$PVR" = yes ]; then
FIRMWARE="$FIRMWARE dvb-firmware"
fi
# build with lm_sensors hardware monitoring support (yes / no)
SENSOR_SUPPORT="yes"

View File

@ -1,5 +1,9 @@
# Name of the Distro to build (full name, without special charcters)
DISTRONAME="OpenELEC_PVR"
if [ "$PVR" = yes ]; then
DISTRONAME="OpenELEC_PVR"
else
DISTRONAME="OpenELEC"
fi
# Welcome Message for e.g. SSH Server (up to 5 Lines)
GREATING0="##############################################"
@ -104,7 +108,11 @@
LINUX_NEXT="no"
# Mediacenter to use (xbmc / no)
MEDIACENTER="xbmc"
if [ "$PVR" = yes ]; then
MEDIACENTER="xbmc-pvr"
else
MEDIACENTER="xbmc"
fi
# Skins to install (Confluence)
# Space separated list is supported,
@ -150,7 +158,10 @@
# asix-ax887xx: Asix AX887xx USB LAN Driver
# Space separated list is supported,
# e.g. ADDITIONAL_DRIVERS="asix-ax887xx AF9035"
ADDITIONAL_DRIVERS="asix-ax887xx AF9035 a867_drv aver_h826d"
ADDITIONAL_DRIVERS="asix-ax887xx"
if [ "$PVR" = yes ]; then
ADDITIONAL_DRIVERS="$ADDITIONAL_DRIVERS AF9035 a867_drv aver_h826d"
fi
# build with network support (yes / no)
NETWORK="yes"
@ -251,7 +262,10 @@
# 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="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"

View File

@ -1,5 +1,9 @@
# Name of the Distro to build (full name, without special charcters)
DISTRONAME="OpenELEC_PVR"
if [ "$PVR" = yes ]; then
DISTRONAME="OpenELEC_PVR"
else
DISTRONAME="OpenELEC"
fi
# Welcome Message for e.g. SSH Server (up to 5 Lines)
GREATING0="##############################################"
@ -104,7 +108,11 @@
LINUX_NEXT="no"
# Mediacenter to use (xbmc / no)
MEDIACENTER="xbmc"
if [ "$PVR" = yes ]; then
MEDIACENTER="xbmc-pvr"
else
MEDIACENTER="xbmc"
fi
# Skins to install (Confluence)
# Space separated list is supported,
@ -150,7 +158,10 @@
# asix-ax887xx: Asix AX887xx USB LAN Driver
# Space separated list is supported,
# e.g. ADDITIONAL_DRIVERS="asix-ax887xx AF9035"
ADDITIONAL_DRIVERS="asix-ax887xx AF9035 a867_drv aver_h826d"
ADDITIONAL_DRIVERS="asix-ax887xx"
if [ "$PVR" = yes ]; then
ADDITIONAL_DRIVERS="$ADDITIONAL_DRIVERS AF9035 a867_drv aver_h826d"
fi
# build with network support (yes / no)
NETWORK="yes"
@ -251,7 +262,10 @@
# 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="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"

View File

@ -1,5 +1,9 @@
# Name of the Distro to build (full name, without special charcters)
DISTRONAME="OpenELEC_PVR"
if [ "$PVR" = yes ]; then
DISTRONAME="OpenELEC_PVR"
else
DISTRONAME="OpenELEC"
fi
# Welcome Message for e.g. SSH Server (up to 5 Lines)
GREATING0="##############################################"
@ -104,7 +108,11 @@
LINUX_NEXT="no"
# Mediacenter to use (xbmc / no)
MEDIACENTER="xbmc"
if [ "$PVR" = yes ]; then
MEDIACENTER="xbmc-pvr"
else
MEDIACENTER="xbmc"
fi
# Skins to install (Confluence)
# Space separated list is supported,
@ -150,7 +158,10 @@
# asix-ax887xx: Asix AX887xx USB LAN Driver
# Space separated list is supported,
# e.g. ADDITIONAL_DRIVERS="asix-ax887xx AF9035"
ADDITIONAL_DRIVERS="asix-ax887xx AF9035 a867_drv aver_h826d"
ADDITIONAL_DRIVERS="asix-ax887xx"
if [ "$PVR" = yes ]; then
ADDITIONAL_DRIVERS="$ADDITIONAL_DRIVERS AF9035 a867_drv aver_h826d"
fi
# build with network support (yes / no)
NETWORK="yes"
@ -251,7 +262,10 @@
# 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="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"

View File

@ -1,5 +1,9 @@
# Name of the Distro to build (full name, without special charcters)
DISTRONAME="OpenELEC_PVR"
if [ "$PVR" = yes ]; then
DISTRONAME="OpenELEC_PVR"
else
DISTRONAME="OpenELEC"
fi
# Welcome Message for e.g. SSH Server (up to 5 Lines)
GREATING0="##############################################"
@ -104,7 +108,11 @@
LINUX_NEXT="no"
# Mediacenter to use (xbmc / no)
MEDIACENTER="xbmc"
if [ "$PVR" = yes ]; then
MEDIACENTER="xbmc-pvr"
else
MEDIACENTER="xbmc"
fi
# Skins to install (Confluence)
# Space separated list is supported,
@ -150,7 +158,10 @@
# asix-ax887xx: Asix AX887xx USB LAN Driver
# Space separated list is supported,
# e.g. ADDITIONAL_DRIVERS="asix-ax887xx AF9035"
ADDITIONAL_DRIVERS="asix-ax887xx AF9035 a867_drv aver_h826d"
ADDITIONAL_DRIVERS="asix-ax887xx"
if [ "$PVR" = yes ]; then
ADDITIONAL_DRIVERS="$ADDITIONAL_DRIVERS AF9035 a867_drv aver_h826d"
fi
# build with network support (yes / no)
NETWORK="yes"
@ -251,7 +262,10 @@
# 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="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"

View File

@ -1,5 +1,9 @@
# Name of the Distro to build (full name, without special charcters)
DISTRONAME="OpenELEC_PVR"
if [ "$PVR" = yes ]; then
DISTRONAME="OpenELEC_PVR"
else
DISTRONAME="OpenELEC"
fi
# Welcome Message for e.g. SSH Server (up to 5 Lines)
GREATING0="##############################################"
@ -104,7 +108,11 @@
LINUX_NEXT="no"
# Mediacenter to use (xbmc / no)
MEDIACENTER="xbmc"
if [ "$PVR" = yes ]; then
MEDIACENTER="xbmc-pvr"
else
MEDIACENTER="xbmc"
fi
# Skins to install (Confluence)
# Space separated list is supported,
@ -150,7 +158,10 @@
# asix-ax887xx: Asix AX887xx USB LAN Driver
# Space separated list is supported,
# e.g. ADDITIONAL_DRIVERS="asix-ax887xx AF9035"
ADDITIONAL_DRIVERS="asix-ax887xx AF9035 a867_drv aver_h826d"
ADDITIONAL_DRIVERS="asix-ax887xx"
if [ "$PVR" = yes ]; then
ADDITIONAL_DRIVERS="$ADDITIONAL_DRIVERS AF9035 a867_drv aver_h826d"
fi
# build with network support (yes / no)
NETWORK="yes"
@ -251,7 +262,10 @@
# 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="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"

View File

@ -1,5 +1,9 @@
# Name of the Distro to build (full name, without special charcters)
DISTRONAME="OpenELEC_PVR"
if [ "$PVR" = yes ]; then
DISTRONAME="OpenELEC_PVR"
else
DISTRONAME="OpenELEC"
fi
# Welcome Message for e.g. SSH Server (up to 5 Lines)
GREATING0="##############################################"
@ -104,7 +108,11 @@
LINUX_NEXT="no"
# Mediacenter to use (xbmc / no)
MEDIACENTER="xbmc"
if [ "$PVR" = yes ]; then
MEDIACENTER="xbmc-pvr"
else
MEDIACENTER="xbmc"
fi
# Skins to install (Confluence)
# Space separated list is supported,
@ -150,7 +158,10 @@
# asix-ax887xx: Asix AX887xx USB LAN Driver
# Space separated list is supported,
# e.g. ADDITIONAL_DRIVERS="asix-ax887xx AF9035"
ADDITIONAL_DRIVERS="asix-ax887xx AF9035 a867_drv aver_h826d"
ADDITIONAL_DRIVERS="asix-ax887xx"
if [ "$PVR" = yes ]; then
ADDITIONAL_DRIVERS="$ADDITIONAL_DRIVERS AF9035 a867_drv aver_h826d"
fi
# build with network support (yes / no)
NETWORK="yes"
@ -251,7 +262,10 @@
# 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="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"