mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 15:02:43 +02:00
fix HD60/HD61
Origin commit data
------------------
Branch: master
Commit: 73bc573a51
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:
19
acinclude.m4
19
acinclude.m4
@@ -90,7 +90,7 @@ AC_ARG_WITH(boxmodel,
|
||||
AS_HELP_STRING([--with-boxmodel], [valid for generic: generic, raspi])
|
||||
AS_HELP_STRING([], [valid for spark: spark, spark7162])
|
||||
AS_HELP_STRING([], [valid for duckbox: ufs910, ufs912, ufs913, ufs922, atevio7500, fortis_hdbox, octagon1008, hs7110, hs7810a, hs7119, hs7819, dp7000, cuberevo, cuberevo_mini, cuberevo_mini2, cuberevo_250hd, cuberevo_2000hd, cuberevo_3000hd, ipbox9900, ipbox99, ipbox55, arivalink200, tf7700, hl101])
|
||||
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)
|
||||
@@ -114,7 +114,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
|
||||
@@ -185,6 +185,7 @@ AM_CONDITIONAL(BOXMODEL_HL101, test "$BOXMODEL" = "hl101")
|
||||
# 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")
|
||||
@@ -278,6 +279,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
|
||||
@@ -337,6 +340,18 @@ 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")
|
||||
])
|
||||
|
||||
dnl backward compatiblity
|
||||
|
Reference in New Issue
Block a user