mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 15:02:43 +02:00
add multibox
Origin commit data
------------------
Branch: master
Commit: bf911c308a
Author: vanhofen <vanhofen@gmx.de>
Date: 2022-09-15 (Thu, 15 Sep 2022)
Origin message was:
------------------
- add multibox
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -88,7 +88,7 @@ AC_ARG_WITH(boxtype,
|
||||
|
||||
AC_ARG_WITH(boxmodel,
|
||||
AS_HELP_STRING([--with-boxmodel], [valid for generic: generic, raspi])
|
||||
AS_HELP_STRING([], [valid for armbox: hd60, hd61, multiboxse, hd51, bre2ze4k, h7, osmini4k, osmio4k, osmio4kplus, vusolo4k, vuduo4k, vuduo4kse, vuultimo4k, vuuno4k, vuuno4kse, vuzero4k])
|
||||
AS_HELP_STRING([], [valid for armbox: hd60, hd61, multibox, multiboxse, hd51, bre2ze4k, h7, osmini4k, osmio4k, osmio4kplus, vusolo4k, vuduo4k, vuduo4kse, vuultimo4k, vuuno4k, vuuno4kse, vuzero4k])
|
||||
AS_HELP_STRING([], [valid for mipsbox: vuduo, vuduo2, gb800se, osnino, osninoplus, osninopro]),
|
||||
[case "${withval}" in
|
||||
generic|raspi)
|
||||
@@ -98,7 +98,7 @@ AS_HELP_STRING([], [valid for mipsbox: vuduo, vuduo2, gb800se, osnino, osninoplu
|
||||
AC_MSG_ERROR([unknown model $withval for boxtype $BOXTYPE])
|
||||
fi
|
||||
;;
|
||||
hd60|hd61|multiboxse|hd51|bre2ze4k|h7|osmini4k|osmio4k|osmio4kplus|vusolo4k|vuduo4k|vuduo4kse|vuultimo4k|vuuno4k|vuuno4kse|vuzero4k)
|
||||
hd60|hd61|multibox|multiboxse|hd51|bre2ze4k|h7|osmini4k|osmio4k|osmio4kplus|vusolo4k|vuduo4k|vuduo4kse|vuultimo4k|vuuno4k|vuuno4kse|vuzero4k)
|
||||
if test "$BOXTYPE" = "armbox"; then
|
||||
BOXMODEL="$withval"
|
||||
else
|
||||
@@ -132,6 +132,7 @@ AM_CONDITIONAL(BOXMODEL_RASPI, test "$BOXMODEL" = "raspi")
|
||||
# armbox
|
||||
AM_CONDITIONAL(BOXMODEL_HD60, test "$BOXMODEL" = "hd60")
|
||||
AM_CONDITIONAL(BOXMODEL_HD61, test "$BOXMODEL" = "hd61")
|
||||
AM_CONDITIONAL(BOXMODEL_MULTIBOX, test "$BOXMODEL" = "multibox")
|
||||
AM_CONDITIONAL(BOXMODEL_MULTIBOXSE, test "$BOXMODEL" = "multiboxse")
|
||||
|
||||
AM_CONDITIONAL(BOXMODEL_HD51, test "$BOXMODEL" = "hd51")
|
||||
@@ -179,6 +180,8 @@ 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" = "multibox"; then
|
||||
AC_DEFINE(BOXMODEL_MULTIBOX, 1, [multibox])
|
||||
elif test "$BOXMODEL" = "multiboxse"; then
|
||||
AC_DEFINE(BOXMODEL_MULTIBOXSE, 1, [multiboxse])
|
||||
|
||||
@@ -266,7 +269,7 @@ AM_CONDITIONAL(BOXMODEL_VUPLUS_MIPS, test "$vuplus_mips" = "true")
|
||||
|
||||
# all hisilicon BOXMODELs
|
||||
case "$BOXMODEL" in
|
||||
hd60|hd61|multiboxse)
|
||||
hd60|hd61|multibox|multiboxse)
|
||||
AC_DEFINE(BOXMODEL_HISILICON, 1, [hisilicon])
|
||||
hisilicon=true
|
||||
;;
|
||||
|
Reference in New Issue
Block a user