mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 15:02:50 +02:00
add hisilicon; re-add hd61
Origin commit data
------------------
Branch: ni/coolstream
Commit: 485d28ab28
Author: TangoCash <eric@loxat.de>
Date: 2020-10-03 (Sat, 03 Oct 2020)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
21
acinclude.m4
21
acinclude.m4
@@ -454,7 +454,7 @@ AC_ARG_WITH(boxtype,
|
||||
AC_ARG_WITH(boxmodel,
|
||||
AS_HELP_STRING([--with-boxmodel], [valid for generic: generic, raspi])
|
||||
AS_HELP_STRING([], [valid for coolstream: hd1, hd2])
|
||||
AS_HELP_STRING([], [valid for armbox: hd51, hd60, bre2ze4k, h7, osmio4k, osmio4kplus, vusolo4k, vuduo4k, vuultimo4k, vuuno4k, vuuno4kse, vuzero4k])
|
||||
AS_HELP_STRING([], [valid for armbox: hd51, hd60, hd61, bre2ze4k, h7, osmio4k, osmio4kplus, vusolo4k, vuduo4k, vuultimo4k, vuuno4k, vuuno4kse, vuzero4k])
|
||||
AS_HELP_STRING([], [valid for mipsbox: vuduo]),
|
||||
[case "${withval}" in
|
||||
generic|raspi)
|
||||
@@ -483,7 +483,7 @@ AS_HELP_STRING([], [valid for mipsbox: vuduo]),
|
||||
AC_MSG_ERROR([unknown model $withval for boxtype $BOXTYPE])
|
||||
fi
|
||||
;;
|
||||
hd51|hd60|bre2ze4k|h7|osmio4k|osmio4kplus|vusolo4k|vuduo4k|vuultimo4k|vuuno4k|vuuno4kse|vuzero4k)
|
||||
hd51|hd60|hd61|bre2ze4k|h7|osmio4k|osmio4kplus|vusolo4k|vuduo4k|vuultimo4k|vuuno4k|vuuno4kse|vuzero4k)
|
||||
if test "$BOXTYPE" = "armbox"; then
|
||||
BOXMODEL="$withval"
|
||||
else
|
||||
@@ -525,6 +525,7 @@ AM_CONDITIONAL(BOXMODEL_CST_HD2, test "$BOXMODEL" = "hd2")
|
||||
# armbox
|
||||
AM_CONDITIONAL(BOXMODEL_HD51, test "$BOXMODEL" = "hd51")
|
||||
AM_CONDITIONAL(BOXMODEL_HD60, test "$BOXMODEL" = "hd60")
|
||||
AM_CONDITIONAL(BOXMODEL_HD61, test "$BOXMODEL" = "hd61")
|
||||
AM_CONDITIONAL(BOXMODEL_BRE2ZE4K, test "$BOXMODEL" = "bre2ze4k")
|
||||
AM_CONDITIONAL(BOXMODEL_H7, test "$BOXMODEL" = "h7")
|
||||
AM_CONDITIONAL(BOXMODEL_OSMIO4K, test "$BOXMODEL" = "osmio4k")
|
||||
@@ -580,6 +581,8 @@ elif test "$BOXMODEL" = "hd51"; then
|
||||
AC_DEFINE(BOXMODEL_HD51, 1, [hd51])
|
||||
elif test "$BOXMODEL" = "hd60"; then
|
||||
AC_DEFINE(BOXMODEL_HD60, 1, [hd60])
|
||||
elif test "$BOXMODEL" = "hd61"; then
|
||||
AC_DEFINE(BOXMODEL_HD61, 1, [hd61])
|
||||
elif test "$BOXMODEL" = "bre2ze4k"; then
|
||||
AC_DEFINE(BOXMODEL_BRE2ZE4K, 1, [bre2ze4k])
|
||||
elif test "$BOXMODEL" = "h7"; then
|
||||
@@ -640,9 +643,21 @@ case "$BOXMODEL" in
|
||||
esac
|
||||
AM_CONDITIONAL(BOXMODEL_VUPLUS_MIPS, test "$vuplus_mips" = "true")
|
||||
|
||||
# all hisilicon BOXMODELs
|
||||
case "$BOXMODEL" in
|
||||
hd60|hd61)
|
||||
AC_DEFINE(BOXMODEL_HISILICON, 1, [hisilicon])
|
||||
hisilicon=true
|
||||
;;
|
||||
*)
|
||||
hisilicon=false
|
||||
;;
|
||||
esac
|
||||
AM_CONDITIONAL(BOXMODEL_HISILICON, test "$hisilicon" = "true")
|
||||
|
||||
# BOXMODELs that allows to change osd resolution
|
||||
case "$BOXMODEL" in
|
||||
hd2|hd51|hd60|bre2ze4k|h7|osmio4k|osmio4kplus|vusolo4k|vuduo4k|vuultimo4k|vuuno4k|vuuno4kse|vuzero4k|vuduo)
|
||||
hd2|hd51|hd60|hd61|bre2ze4k|h7|osmio4k|osmio4kplus|vusolo4k|vuduo4k|vuultimo4k|vuuno4k|vuuno4kse|vuzero4k|vuduo)
|
||||
AC_DEFINE(ENABLE_CHANGE_OSD_RESOLUTION, 1, [enable to change osd resolution])
|
||||
;;
|
||||
esac
|
||||
|
Reference in New Issue
Block a user