From e9562b1ff4c4a69d54f49e1a36ba032cc05606c8 Mon Sep 17 00:00:00 2001 From: Igor Pecovnik Date: Thu, 6 Dec 2018 17:43:27 +0100 Subject: [PATCH] [ general ] TVboxes configurations are getting its own category "tvb" @150balbes Moving current three boxes we have in there. --- config/boards/{beelinkx2.eos => beelinkx2.tvb} | 0 config/boards/{xt-q8l-v10.csc => xt-q8l-v10.tvb} | 0 config/boards/{z28pro.csc => z28pro.tvb} | 0 lib/build-all.sh | 2 ++ lib/main.sh | 9 +++++++-- 5 files changed, 9 insertions(+), 2 deletions(-) rename config/boards/{beelinkx2.eos => beelinkx2.tvb} (100%) rename config/boards/{xt-q8l-v10.csc => xt-q8l-v10.tvb} (100%) rename config/boards/{z28pro.csc => z28pro.tvb} (100%) diff --git a/config/boards/beelinkx2.eos b/config/boards/beelinkx2.tvb similarity index 100% rename from config/boards/beelinkx2.eos rename to config/boards/beelinkx2.tvb diff --git a/config/boards/xt-q8l-v10.csc b/config/boards/xt-q8l-v10.tvb similarity index 100% rename from config/boards/xt-q8l-v10.csc rename to config/boards/xt-q8l-v10.tvb diff --git a/config/boards/z28pro.csc b/config/boards/z28pro.tvb similarity index 100% rename from config/boards/z28pro.csc rename to config/boards/z28pro.tvb diff --git a/lib/build-all.sh b/lib/build-all.sh index 554f62e1b3..128a79add6 100644 --- a/lib/build-all.sh +++ b/lib/build-all.sh @@ -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 diff --git a/lib/main.sh b/lib/main.sh index e2e274a1ad..ddbba3e9ca 100644 --- a/lib/main.sh +++ b/lib/main.sh @@ -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}