mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 15:02:50 +02:00
add hd51; mostly ported from TangoCash's neutrino-mp
Origin commit data
------------------
Branch: ni/coolstream
Commit: 09ae4c3a51
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-10-05 (Thu, 05 Oct 2017)
Origin message was:
------------------
- add hd51; mostly ported from TangoCash's neutrino-mp
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
17
acinclude.m4
17
acinclude.m4
@@ -312,9 +312,9 @@ _TUXBOX_APPS_LIB_PKGCONFIG($1,$2)
|
||||
|
||||
AC_DEFUN([TUXBOX_BOXTYPE],[
|
||||
AC_ARG_WITH(boxtype,
|
||||
[ --with-boxtype valid values: tripledragon,coolstream,spark,azbox,generic],
|
||||
[ --with-boxtype valid values: tripledragon,coolstream,spark,azbox,generic,axtech],
|
||||
[case "${withval}" in
|
||||
tripledragon|coolstream|spark|azbox|generic)
|
||||
tripledragon|coolstream|spark|azbox|generic|axtech)
|
||||
BOXTYPE="$withval"
|
||||
;;
|
||||
*)
|
||||
@@ -323,6 +323,7 @@ AC_ARG_WITH(boxtype,
|
||||
|
||||
AC_ARG_WITH(boxmodel,
|
||||
[ --with-boxmodel valid for coolstream: hd1, hd2
|
||||
valid for axtech: ax
|
||||
valid for generic: raspi],
|
||||
[case "${withval}" in
|
||||
hd1|hd2)
|
||||
@@ -344,6 +345,13 @@ AC_ARG_WITH(boxmodel,
|
||||
AC_MSG_ERROR([unknown model $withval for boxtype $BOXTYPE])
|
||||
fi
|
||||
;;
|
||||
ax)
|
||||
if test "$BOXTYPE" = "axtech"; then
|
||||
BOXMODEL="$withval"
|
||||
else
|
||||
AC_MSG_ERROR([unknown model $withval for boxtype $BOXTYPE])
|
||||
fi
|
||||
;;
|
||||
raspi)
|
||||
if test "$BOXTYPE" = "generic"; then
|
||||
BOXMODEL="$withval"
|
||||
@@ -365,6 +373,7 @@ AM_CONDITIONAL(BOXTYPE_TRIPLE, test "$BOXTYPE" = "tripledragon")
|
||||
AM_CONDITIONAL(BOXTYPE_COOL, test "$BOXTYPE" = "coolstream")
|
||||
AM_CONDITIONAL(BOXTYPE_SPARK, test "$BOXTYPE" = "spark")
|
||||
AM_CONDITIONAL(BOXTYPE_GENERIC, test "$BOXTYPE" = "generic")
|
||||
AM_CONDITIONAL(BOXTYPE_ARMBOX, test "$BOXTYPE" = "axtech")
|
||||
|
||||
AM_CONDITIONAL(BOXMODEL_CS_HD1,test "$BOXMODEL" = "hd1")
|
||||
AM_CONDITIONAL(BOXMODEL_CS_HD2,test "$BOXMODEL" = "hd2")
|
||||
@@ -381,6 +390,8 @@ elif test "$BOXTYPE" = "spark"; then
|
||||
AC_DEFINE(HAVE_SPARK_HARDWARE, 1, [building for a goldenmedia 990 or edision pingulux])
|
||||
elif test "$BOXTYPE" = "generic"; then
|
||||
AC_DEFINE(HAVE_GENERIC_HARDWARE, 1, [building for a generic device like a standard PC])
|
||||
elif test "$BOXTYPE" = "axtech"; then
|
||||
AC_DEFINE(HAVE_ARM_HARDWARE, 1, [building for an axtech])
|
||||
fi
|
||||
|
||||
# TODO: do we need more defines?
|
||||
@@ -389,6 +400,8 @@ if test "$BOXMODEL" = "hd1"; then
|
||||
elif test "$BOXMODEL" = "hd2"; then
|
||||
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])
|
||||
elif test "$BOXMODEL" = "ax"; then
|
||||
AC_DEFINE(ENABLE_CHANGE_OSD_RESOLUTION,1,[enable change the osd resolution])
|
||||
elif test "$BOXMODEL" = "raspi"; then
|
||||
AC_DEFINE(BOXMODEL_RASPI, 1, [Raspberry pi])
|
||||
fi
|
||||
|
Reference in New Issue
Block a user