From aac25570e55acba91823af07da7ad1c613b69127 Mon Sep 17 00:00:00 2001 From: BPanther Date: Fri, 14 Jul 2023 21:40:42 +0200 Subject: [PATCH] update for mips vuuno and mips vuultimo (not yet ready) --- acinclude.m4 | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/acinclude.m4 b/acinclude.m4 index 8f079921f..81cbdd96b 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -319,7 +319,7 @@ AC_ARG_WITH(boxtype, BOXTYPE="armbox" BOXMODEL="$withval" ;; - vuduo|vuduo2|dm8000) + vuduo|vuduo2|vuuno|vuultimo|dm8000) BOXTYPE="mipsbox" BOXMODEL="$withval" ;; @@ -333,7 +333,7 @@ AC_ARG_WITH(boxmodel, AS_HELP_STRING([--with-boxmodel], [valid for duckbox: ufs910, ufs912, ufs913, ufs922, atevio7500, fortis_hdbox, octagon1008, cuberevo, cuberevo_mini, cuberevo_mini2, cuberevo_250hd, cuberevo_2000hd, cuberevo_3000hd, ipbox9900, ipbox99, ipbox55, tf7700]) AS_HELP_STRING([], [valid for spark: spark, spark7162]) AS_HELP_STRING([], [valid for armbox: bre2ze4k, hd51, e4hdultra, vusolo4k, vuduo4k, vuduo4kse, vuultimo4k, vuzero4k, vuuno4kse, vuuno4k, h7]) -AS_HELP_STRING([], [valid for mipsbox: vuduo, vuduo2, dm8000]) +AS_HELP_STRING([], [valid for mipsbox: vuduo, vuduo2, vuuno, vuultimo, dm8000]) AS_HELP_STRING([], [valid for generic: raspi]), [case "${withval}" in ufs910|ufs912|ufs913|ufs922|atevio7500|fortis_hdbox|octagon1008|cuberevo|cuberevo_mini|cuberevo_mini2|cuberevo_250hd|cuberevo_2000hd|cuberevo_3000hd|ipbox9900|ipbox99|ipbox55|tf7700) @@ -357,7 +357,7 @@ AS_HELP_STRING([], [valid for generic: raspi]), AC_MSG_ERROR([unknown model $withval for boxtype $BOXTYPE]) fi ;; - vuduo|vuduo2|dm8000) + vuduo|vuduo2|vuuno|vuultimo|dm8000) if test "$BOXTYPE" = "mipsbox"; then BOXMODEL="$withval" else @@ -422,6 +422,8 @@ AM_CONDITIONAL(BOXMODEL_VUUNO4KSE, test "$BOXMODEL" = "vuuno4kse") AM_CONDITIONAL(BOXMODEL_VUUNO4K, test "$BOXMODEL" = "vuuno4k") AM_CONDITIONAL(BOXMODEL_VUDUO, test "$BOXMODEL" = "vuduo") AM_CONDITIONAL(BOXMODEL_VUDUO2, test "$BOXMODEL" = "vuduo2") +AM_CONDITIONAL(BOXMODEL_VUUNO, test "$BOXMODEL" = "vuuno") +AM_CONDITIONAL(BOXMODEL_VUULTIMO, test "$BOXMODEL" = "vuultimo") AM_CONDITIONAL(BOXMODEL_DM8000, test "$BOXMODEL" = "dm8000") AM_CONDITIONAL(BOXMODEL_H7, test "$BOXMODEL" = "h7") AM_CONDITIONAL(BOXMODEL_OSMIO4K, test "$BOXMODEL" = "osmio4k") @@ -429,9 +431,9 @@ AM_CONDITIONAL(BOXMODEL_OSMIO4KPLUS, test "$BOXMODEL" = "osmio4kplus") AM_CONDITIONAL(BOXMODEL_RASPI, test "$BOXMODEL" = "raspi") -AM_CONDITIONAL(BOXMODEL_VUPLUS_ALL, test "$BOXMODEL" = "vusolo4k" -o "$BOXMODEL" = "vuduo4k" -o "$BOXMODEL" = "vuduo4kse" -o "$BOXMODEL" = "vuultimo4k" -o "$BOXMODEL" = "vuzero4k" -o "$BOXMODEL" = "vuuno4kse" -o "$BOXMODEL" = "vuuno4k" -o "$BOXMODEL" = "vuduo" -o "$BOXMODEL" = "vuduo2") +AM_CONDITIONAL(BOXMODEL_VUPLUS_ALL, test "$BOXMODEL" = "vusolo4k" -o "$BOXMODEL" = "vuduo4k" -o "$BOXMODEL" = "vuduo4kse" -o "$BOXMODEL" = "vuultimo4k" -o "$BOXMODEL" = "vuzero4k" -o "$BOXMODEL" = "vuuno4kse" -o "$BOXMODEL" = "vuuno4k" -o "$BOXMODEL" = "vuduo" -o "$BOXMODEL" = "vuduo2" -o "$BOXMODEL" = "vuuno" -o "$BOXMODEL" = "vuultimo") AM_CONDITIONAL(BOXMODEL_VUPLUS_ARM, test "$BOXMODEL" = "vusolo4k" -o "$BOXMODEL" = "vuduo4k" -o "$BOXMODEL" = "vuduo4kse" -o "$BOXMODEL" = "vuultimo4k" -o "$BOXMODEL" = "vuzero4k" -o "$BOXMODEL" = "vuuno4kse" -o "$BOXMODEL" = "vuuno4k") -AM_CONDITIONAL(BOXMODEL_VUPLUS_MIPS, test "$BOXMODEL" = "vuduo" -o "$BOXMODEL" = "vuduo2") +AM_CONDITIONAL(BOXMODEL_VUPLUS_MIPS, test "$BOXMODEL" = "vuduo" -o "$BOXMODEL" = "vuduo2" -o "$BOXMODEL" = "vuuno" -o "$BOXMODEL" = "vuultimo") if test "$BOXTYPE" = "spark"; then AC_DEFINE(HAVE_SPARK_HARDWARE, 1, [building for a goldenmedia 990 or edision pingulux]) @@ -514,6 +516,10 @@ elif test "$BOXMODEL" = "vuduo"; then AC_DEFINE(BOXMODEL_VUDUO, 1, [vuduo]) elif test "$BOXMODEL" = "vuduo2"; then AC_DEFINE(BOXMODEL_VUDUO2, 1, [vuduo2]) +elif test "$BOXMODEL" = "vuuno"; then + AC_DEFINE(BOXMODEL_VUUNO, 1, [vuuno]) +elif test "$BOXMODEL" = "vuultimo"; then + AC_DEFINE(BOXMODEL_VUULTIMO, 1, [vuultimo]) elif test "$BOXMODEL" = "dm8000"; then AC_DEFINE(BOXMODEL_DM8000, 1, [dm8000]) elif test "$BOXMODEL" = "h7"; then @@ -528,14 +534,14 @@ fi # Support Boxmodel with OSD-Resolution case "$BOXMODEL" in - bre2ze4k|hd51|e4hdultra|vusolo4k|vuduo4k|vuduo4kse|vuultimo4k|vuzero4k|vuuno4kse|vuuno4k|vuduo|h7|osmio4k|osmio4kplus) + bre2ze4k|hd51|e4hdultra|vusolo4k|vuduo4k|vuduo4kse|vuultimo4k|vuzero4k|vuuno4kse|vuuno4k|h7|osmio4k|osmio4kplus) AC_DEFINE(ENABLE_CHANGE_OSD_RESOLUTION, 1, [enable to change osd resolution]) ;; esac # all vuplus BOXMODELs case "$BOXMODEL" in - vusolo4k|vuduo4k|vuduo4kse|vuultimo4k|vuuno4k|vuuno4kse|vuzero4k|vuduo|vuduo2) + vusolo4k|vuduo4k|vuduo4kse|vuultimo4k|vuuno4k|vuuno4kse|vuzero4k|vuduo|vuduo2|vuuno|vuultimo) AC_DEFINE(BOXMODEL_VUPLUS_ALL, 1, [vuplus_all]) ;; esac @@ -549,7 +555,7 @@ esac # all vuplus mips BOXMODELs case "$BOXMODEL" in - vuduo|vuduo2) + vuduo|vuduo2|vuuno|vuultimo) AC_DEFINE(BOXMODEL_VUPLUS_MIPS, 1, [vuplus_mips]) ;; esac