mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 07:22:57 +02:00
add first experimental support for ax hd60
Origin commit data
------------------
Branch: ni/coolstream
Commit: 1a12ee574e
Author: TangoCash <eric@loxat.de>
Date: 2018-11-01 (Thu, 01 Nov 2018)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
20
acinclude.m4
20
acinclude.m4
@@ -419,6 +419,10 @@ AC_ARG_WITH(boxtype,
|
|||||||
tripledragon|coolstream|spark|azbox|generic|armbox)
|
tripledragon|coolstream|spark|azbox|generic|armbox)
|
||||||
BOXTYPE="$withval"
|
BOXTYPE="$withval"
|
||||||
;;
|
;;
|
||||||
|
hd60)
|
||||||
|
BOXTYPE="armbox"
|
||||||
|
BOXMODEL="$withval"
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
AC_MSG_ERROR([bad value $withval for --with-boxtype])
|
AC_MSG_ERROR([bad value $withval for --with-boxtype])
|
||||||
;;
|
;;
|
||||||
@@ -427,7 +431,7 @@ AC_ARG_WITH(boxtype,
|
|||||||
|
|
||||||
AC_ARG_WITH(boxmodel,
|
AC_ARG_WITH(boxmodel,
|
||||||
AS_HELP_STRING([--with-boxmodel], [valid for coolstream: hd1, hd2])
|
AS_HELP_STRING([--with-boxmodel], [valid for coolstream: hd1, hd2])
|
||||||
AS_HELP_STRING([], [valid for armbox: hd51])
|
AS_HELP_STRING([], [valid for armbox: hd51, hd60])
|
||||||
AS_HELP_STRING([], [valid for generic: raspi]),
|
AS_HELP_STRING([], [valid for generic: raspi]),
|
||||||
[case "${withval}" in
|
[case "${withval}" in
|
||||||
hd1|hd2)
|
hd1|hd2)
|
||||||
@@ -456,6 +460,13 @@ AS_HELP_STRING([], [valid for generic: raspi]),
|
|||||||
AC_MSG_ERROR([unknown model $withval for boxtype $BOXTYPE])
|
AC_MSG_ERROR([unknown model $withval for boxtype $BOXTYPE])
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
hd60)
|
||||||
|
if test "$BOXTYPE" = "armbox"; then
|
||||||
|
BOXMODEL="$withval"
|
||||||
|
else
|
||||||
|
AC_MSG_ERROR([unknown model $withval for boxtype $BOXTYPE])
|
||||||
|
fi
|
||||||
|
;;
|
||||||
raspi)
|
raspi)
|
||||||
if test "$BOXTYPE" = "generic"; then
|
if test "$BOXTYPE" = "generic"; then
|
||||||
BOXMODEL="$withval"
|
BOXMODEL="$withval"
|
||||||
@@ -481,6 +492,9 @@ AM_CONDITIONAL(BOXTYPE_ARMBOX, test "$BOXTYPE" = "armbox")
|
|||||||
AM_CONDITIONAL(BOXMODEL_CS_HD1, test "$BOXMODEL" = "hd1")
|
AM_CONDITIONAL(BOXMODEL_CS_HD1, test "$BOXMODEL" = "hd1")
|
||||||
AM_CONDITIONAL(BOXMODEL_CS_HD2, test "$BOXMODEL" = "hd2")
|
AM_CONDITIONAL(BOXMODEL_CS_HD2, test "$BOXMODEL" = "hd2")
|
||||||
|
|
||||||
|
AM_CONDITIONAL(BOXMODEL_HD51, test "$BOXMODEL" = "hd51")
|
||||||
|
AM_CONDITIONAL(BOXMODEL_HD60, test "$BOXMODEL" = "hd60")
|
||||||
|
|
||||||
AM_CONDITIONAL(BOXMODEL_RASPI, test "$BOXMODEL" = "raspi")
|
AM_CONDITIONAL(BOXMODEL_RASPI, test "$BOXMODEL" = "raspi")
|
||||||
|
|
||||||
if test "$BOXTYPE" = "azbox"; then
|
if test "$BOXTYPE" = "azbox"; then
|
||||||
@@ -504,6 +518,10 @@ elif test "$BOXMODEL" = "hd2"; then
|
|||||||
AC_DEFINE(BOXMODEL_CS_HD2, 1, [coolstream tank/trinity/trinity v2/trinity duo/zee2/link])
|
AC_DEFINE(BOXMODEL_CS_HD2, 1, [coolstream tank/trinity/trinity v2/trinity duo/zee2/link])
|
||||||
AC_DEFINE(ENABLE_CHANGE_OSD_RESOLUTION, 1, [enable change the osd resolution])
|
AC_DEFINE(ENABLE_CHANGE_OSD_RESOLUTION, 1, [enable change the osd resolution])
|
||||||
elif test "$BOXMODEL" = "hd51"; then
|
elif test "$BOXMODEL" = "hd51"; then
|
||||||
|
AC_DEFINE(BOXMODEL_HD51, 1, [hd51])
|
||||||
|
AC_DEFINE(ENABLE_CHANGE_OSD_RESOLUTION, 1, [enable change the osd resolution])
|
||||||
|
elif test "$BOXMODEL" = "hd60"; then
|
||||||
|
AC_DEFINE(BOXMODEL_HD60, 1, [hd60])
|
||||||
AC_DEFINE(ENABLE_CHANGE_OSD_RESOLUTION, 1, [enable change the osd resolution])
|
AC_DEFINE(ENABLE_CHANGE_OSD_RESOLUTION, 1, [enable change the osd resolution])
|
||||||
elif test "$BOXMODEL" = "raspi"; then
|
elif test "$BOXMODEL" = "raspi"; then
|
||||||
AC_DEFINE(BOXMODEL_RASPI, 1, [raspberry pi])
|
AC_DEFINE(BOXMODEL_RASPI, 1, [raspberry pi])
|
||||||
|
Reference in New Issue
Block a user