[ general ] TVboxes configurations are getting its own category "tvb" @150balbes Moving current three boxes we have in there.

This commit is contained in:
Igor Pecovnik 2018-12-06 17:43:27 +01:00
parent c80617d145
commit e9562b1ff4
5 changed files with 9 additions and 2 deletions

View File

@ -148,6 +148,7 @@ create_images_list()
if [[ -f $file".conf" ]]; then source $file".conf"; fi
if [[ -f $file".wip" ]]; then source $file".wip"; fi
if [[ -f $file".csc" ]]; then source $file".csc"; fi
if [[ -f $file".tvb" ]]; then source $file".tvb"; fi
# beta targets are the same as stable. To build the same set beta set as future stable.
if [[ "$MERGETARGETS" == "yes" ]]; then
@ -175,6 +176,7 @@ create_kernels_list()
if [[ -f $file".conf" ]]; then source $file".conf"; fi
if [[ -f $file".wip" ]]; then source $file".wip"; fi
if [[ -f $file".csc" ]]; then source $file".csc"; fi
if [[ -f $file".tvb" ]]; then source $file".tvb"; fi
if [[ -n $KERNEL_TARGET ]]; then
for kernel in $(tr ',' ' ' <<< $KERNEL_TARGET); do

View File

@ -100,7 +100,7 @@ fi
if [[ -z $BOARD ]]; then
WIP_STATE=supported
WIP_BUTTON='CSC/WIP/EOS'
WIP_BUTTON='CSC/WIP/EOS/TVB'
STATE_DESCRIPTION=' - Officially supported boards'
temp_rc=$(mktemp)
while true; do
@ -119,6 +119,9 @@ if [[ -z $BOARD ]]; then
for board in $SRC/config/boards/*.eos; do
options+=("$(basename $board | cut -d'.' -f1)" "\Z1(EOS)\Zn $(head -1 $board | cut -d'#' -f2)")
done
for board in $SRC/config/boards/*.tvb; do
options+=("$(basename $board | cut -d'.' -f1)" "\Z1(TVB)\Zn $(head -1 $board | cut -d'#' -f2)")
done
fi
if [[ $WIP_STATE != supported ]]; then
cat <<-'EOF' > $temp_rc
@ -139,7 +142,7 @@ if [[ -z $BOARD ]]; then
if [[ $STATUS == 3 ]]; then
if [[ $WIP_STATE == supported ]]; then
[[ $SHOW_WARNING == yes ]] && show_developer_warning
STATE_DESCRIPTION=' - \Z1(CSC)\Zn - Community Supported Configuration\n - \Z1(WIP)\Zn - Work In Progress\n - \Z1(EOS)\Zn - End Of Support'
STATE_DESCRIPTION=' - \Z1(CSC)\Zn - Community Supported Configuration\n - \Z1(WIP)\Zn - Work In Progress\n - \Z1(EOS)\Zn - End Of Support\n - \Z1(TVB)\Zn - TV boxes'
WIP_STATE=unsupported
WIP_BUTTON='supported'
EXPERT=yes
@ -166,6 +169,8 @@ elif [[ -f $SRC/config/boards/${BOARD}.wip ]]; then
BOARD_TYPE='wip'
elif [[ -f $SRC/config/boards/${BOARD}.eos ]]; then
BOARD_TYPE='eos'
elif [[ -f $SRC/config/boards/${BOARD}.tvb ]]; then
BOARD_TYPE='tvb'
fi
source $SRC/config/boards/${BOARD}.${BOARD_TYPE}