mirror of
https://github.com/DrHo1y/orangepi-build.git
synced 2026-11-07 00:07:20 +07:00
Add H2/H3 legacy branch support
This commit is contained in:
@@ -1,248 +0,0 @@
|
||||
state.Codec {
|
||||
control.1 {
|
||||
iface MIXER
|
||||
name 'DAC Playback Volume'
|
||||
value 63
|
||||
comment {
|
||||
access 'read write'
|
||||
type INTEGER
|
||||
count 1
|
||||
range '0 - 63'
|
||||
dbmin -7308
|
||||
dbmax 0
|
||||
dbvalue.0 0
|
||||
}
|
||||
}
|
||||
control.2 {
|
||||
iface MIXER
|
||||
name 'Line Out Playback Volume'
|
||||
value 25
|
||||
comment {
|
||||
access 'read write'
|
||||
type INTEGER
|
||||
count 1
|
||||
range '0 - 31'
|
||||
dbmin -9999999
|
||||
dbmax 0
|
||||
dbvalue.0 -900
|
||||
}
|
||||
}
|
||||
control.3 {
|
||||
iface MIXER
|
||||
name 'Line Out Playback Switch'
|
||||
value.0 true
|
||||
value.1 true
|
||||
comment {
|
||||
access 'read write'
|
||||
type BOOLEAN
|
||||
count 2
|
||||
}
|
||||
}
|
||||
control.4 {
|
||||
iface MIXER
|
||||
name 'Line In Playback Volume'
|
||||
value 6
|
||||
comment {
|
||||
access 'read write'
|
||||
type INTEGER
|
||||
count 1
|
||||
range '0 - 7'
|
||||
dbmin -450
|
||||
dbmax 600
|
||||
dbvalue.0 450
|
||||
}
|
||||
}
|
||||
control.5 {
|
||||
iface MIXER
|
||||
name 'Mic1 Playback Volume'
|
||||
value 3
|
||||
comment {
|
||||
access 'read write'
|
||||
type INTEGER
|
||||
count 1
|
||||
range '0 - 7'
|
||||
dbmin -450
|
||||
dbmax 600
|
||||
dbvalue.0 0
|
||||
}
|
||||
}
|
||||
control.6 {
|
||||
iface MIXER
|
||||
name 'Mic2 Playback Volume'
|
||||
value 4
|
||||
comment {
|
||||
access 'read write'
|
||||
type INTEGER
|
||||
count 1
|
||||
range '0 - 7'
|
||||
dbmin -450
|
||||
dbmax 600
|
||||
dbvalue.0 150
|
||||
}
|
||||
}
|
||||
control.7 {
|
||||
iface MIXER
|
||||
name 'Mic1 Boost Volume'
|
||||
value 4
|
||||
comment {
|
||||
access 'read write'
|
||||
type INTEGER
|
||||
count 1
|
||||
range '0 - 7'
|
||||
dbmin 0
|
||||
dbmax 4200
|
||||
dbvalue.0 3300
|
||||
}
|
||||
}
|
||||
control.8 {
|
||||
iface MIXER
|
||||
name 'Mic2 Boost Volume'
|
||||
value 4
|
||||
comment {
|
||||
access 'read write'
|
||||
type INTEGER
|
||||
count 1
|
||||
range '0 - 7'
|
||||
dbmin 0
|
||||
dbmax 4200
|
||||
dbvalue.0 3300
|
||||
}
|
||||
}
|
||||
control.9 {
|
||||
iface MIXER
|
||||
name 'ADC Gain Capture Volume'
|
||||
value 3
|
||||
comment {
|
||||
access 'read write'
|
||||
type INTEGER
|
||||
count 1
|
||||
range '0 - 7'
|
||||
dbmin -450
|
||||
dbmax 600
|
||||
dbvalue.0 0
|
||||
}
|
||||
}
|
||||
control.10 {
|
||||
iface MIXER
|
||||
name 'DAC Playback Switch'
|
||||
value.0 true
|
||||
value.1 true
|
||||
comment {
|
||||
access 'read write'
|
||||
type BOOLEAN
|
||||
count 2
|
||||
}
|
||||
}
|
||||
control.11 {
|
||||
iface MIXER
|
||||
name 'DAC Reversed Playback Switch'
|
||||
value.0 false
|
||||
value.1 false
|
||||
comment {
|
||||
access 'read write'
|
||||
type BOOLEAN
|
||||
count 2
|
||||
}
|
||||
}
|
||||
control.12 {
|
||||
iface MIXER
|
||||
name 'Line In Playback Switch'
|
||||
value.0 false
|
||||
value.1 false
|
||||
comment {
|
||||
access 'read write'
|
||||
type BOOLEAN
|
||||
count 2
|
||||
}
|
||||
}
|
||||
control.13 {
|
||||
iface MIXER
|
||||
name 'Mic1 Playback Switch'
|
||||
value.0 false
|
||||
value.1 false
|
||||
comment {
|
||||
access 'read write'
|
||||
type BOOLEAN
|
||||
count 2
|
||||
}
|
||||
}
|
||||
control.14 {
|
||||
iface MIXER
|
||||
name 'Mic2 Playback Switch'
|
||||
value.0 false
|
||||
value.1 false
|
||||
comment {
|
||||
access 'read write'
|
||||
type BOOLEAN
|
||||
count 2
|
||||
}
|
||||
}
|
||||
control.15 {
|
||||
iface MIXER
|
||||
name 'Mixer Capture Switch'
|
||||
value.0 false
|
||||
value.1 false
|
||||
comment {
|
||||
access 'read write'
|
||||
type BOOLEAN
|
||||
count 2
|
||||
}
|
||||
}
|
||||
control.16 {
|
||||
iface MIXER
|
||||
name 'Mixer Reversed Capture Switch'
|
||||
value.0 false
|
||||
value.1 false
|
||||
comment {
|
||||
access 'read write'
|
||||
type BOOLEAN
|
||||
count 2
|
||||
}
|
||||
}
|
||||
control.17 {
|
||||
iface MIXER
|
||||
name 'Line In Capture Switch'
|
||||
value.0 false
|
||||
value.1 false
|
||||
comment {
|
||||
access 'read write'
|
||||
type BOOLEAN
|
||||
count 2
|
||||
}
|
||||
}
|
||||
control.18 {
|
||||
iface MIXER
|
||||
name 'Mic1 Capture Switch'
|
||||
value.0 false
|
||||
value.1 false
|
||||
comment {
|
||||
access 'read write'
|
||||
type BOOLEAN
|
||||
count 2
|
||||
}
|
||||
}
|
||||
control.19 {
|
||||
iface MIXER
|
||||
name 'Mic2 Capture Switch'
|
||||
value.0 false
|
||||
value.1 false
|
||||
comment {
|
||||
access 'read write'
|
||||
type BOOLEAN
|
||||
count 2
|
||||
}
|
||||
}
|
||||
control.20 {
|
||||
iface MIXER
|
||||
name 'Line Out Source Playback Route'
|
||||
value.0 Stereo
|
||||
value.1 Stereo
|
||||
comment {
|
||||
access 'read write'
|
||||
type ENUMERATED
|
||||
count 2
|
||||
item.0 Stereo
|
||||
item.1 'Mono Differential'
|
||||
}
|
||||
}
|
||||
}
|
||||
15
external/packages/bsp/common/etc/update-motd.d/98-armbian-autoreboot-warn
vendored
Executable file
15
external/packages/bsp/common/etc/update-motd.d/98-armbian-autoreboot-warn
vendored
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Copyright (c) Authors: http://www.armbian.com/authors
|
||||
#
|
||||
# This file is licensed under the terms of the GNU General Public
|
||||
# License version 2. This program is licensed "as is" without any
|
||||
# warranty of any kind, whether express or implied.
|
||||
|
||||
# DO NOT EDIT THIS FILE
|
||||
# any changes will be lost on board support package update
|
||||
|
||||
if [[ -f /var/run/resize2fs-reboot ]]; then
|
||||
printf "\e[0;91mWarning: a reboot is needed to finish resizing the filesystem \x1B[0m \n"
|
||||
printf "\e[0;91mPlease reboot the system as soon as possible \x1B[0m \n"
|
||||
fi
|
||||
0
external/packages/bsp/h3consumption
vendored
Normal file → Executable file
0
external/packages/bsp/h3consumption
vendored
Normal file → Executable file
14
external/packages/bsp/h3disp
vendored
14
external/packages/bsp/h3disp
vendored
@@ -72,7 +72,7 @@ Main() {
|
||||
|
||||
# check for supported boards
|
||||
/bin/bash -n /etc/orangepi-release && . /etc/orangepi-release
|
||||
if [ "X${LINUXFAMILY}" = "Xsun8i" -a "X${BRANCH}" = "Xdefault" -a "X${BOARD}" != "Xorangepizero" ]; then
|
||||
if [ "X${LINUXFAMILY}" = "Xsun8i" -a "X${BRANCH}" = "Xlegacy" -a "X${BOARD}" != "Xorangepir1" -a "X${BOARD}" != "Xorangepizero" ]; then
|
||||
# Supported board/kernel combination so proceed
|
||||
:
|
||||
else
|
||||
@@ -329,11 +329,11 @@ DisplayUsage() {
|
||||
echo -e " please use the ${LGREEN}-d${NC} switch.\n\n The resolution can be set using the ${LGREEN}-m${NC} switch.\c"
|
||||
echo -e " The following resolutions\n are currently supported:\n"
|
||||
ShowVideoModes
|
||||
echo -e " You can also specify the colour-range for your HDMI-display with the ${LGREEN}-c${NC} switch."
|
||||
echo -e "\n The following values for ${LGREEN}-c${NC} are currently supported:\n"
|
||||
echo -e " ${BOLD}0${NC} -- RGB range 16-255 (Default, use \"${LGREEN}-c 0${NC}\")"
|
||||
echo -e " ${BOLD}1${NC} -- RGB range 0-255 (Full range, use \"${LGREEN}-c 1${NC}\")"
|
||||
echo -e " ${BOLD}2${NC} -- RGB range 16-235 (Limited video, \"${LGREEN}-c 2${NC}\")\n"
|
||||
#echo -e " You can also specify the colour-range for your HDMI-display with the ${LGREEN}-c${NC} switch."
|
||||
#echo -e "\n The following values for ${LGREEN}-c${NC} are currently supported:\n"
|
||||
#echo -e " ${BOLD}0${NC} -- RGB range 16-255 (Default, use \"${LGREEN}-c 0${NC}\")"
|
||||
#echo -e " ${BOLD}1${NC} -- RGB range 0-255 (Full range, use \"${LGREEN}-c 1${NC}\")"
|
||||
#echo -e " ${BOLD}2${NC} -- RGB range 16-235 (Limited video, \"${LGREEN}-c 2${NC}\")\n"
|
||||
echo -e "To change frame buffer config use ${LGREEN}-f${NC} option and data in format ${BOLD}fb_mode:fb_width:fb_height${NC} where:"
|
||||
echo -e " ${BOLD}fb_mode${NC} :"
|
||||
echo -e " ${LGREEN}0${NC} -- DEFAULT, ${LGREEN}4${NC} -- RGB655, ${LGREEN}5${NC} -- RGB565, ${LGREEN}6${NC} -- RGB556, ${LGREEN}7${NC} -- ARGB1555"
|
||||
@@ -370,7 +370,7 @@ ShowVideoModes() {
|
||||
IFS=${OIFS}
|
||||
if [ ! $clean ]; then
|
||||
echo -e "\n Two examples:\n\n '${BOLD}${0##*/}${NC} ${LGREEN}-m 1080p60 -d${NC}' (1920x1080@60Hz DVI)"
|
||||
echo -e " '${BOLD}${0##*/}${NC} ${LGREEN}-m 720i${NC}' (1280x720@30Hz HDMI)\n"
|
||||
echo -e " '${BOLD}${0##*/}${NC} ${LGREEN}-m 720p60${NC}' (1280x720@60Hz HDMI)\n"
|
||||
fi
|
||||
} # ShowVideoModes
|
||||
|
||||
|
||||
55
external/packages/bsp/setsystem
vendored
Executable file
55
external/packages/bsp/setsystem
vendored
Executable file
@@ -0,0 +1,55 @@
|
||||
#!/bin/bash
|
||||
|
||||
source /etc/orangepi-release
|
||||
|
||||
if [[ $LINUXFAMILY != sun8i || $BRANCH != legacy ]]; then
|
||||
echo -e "Unsupported Linux Image: [$LINUXFAMILY|$BRANCH]" ; exit 1
|
||||
fi
|
||||
|
||||
|
||||
function csi_configure()
|
||||
{
|
||||
local csi_mode=$1
|
||||
|
||||
echo "Set the csi camera used by the ${BOARD} as: ${csi_mode}"
|
||||
cd /boot/bin
|
||||
cp ${BOARD}.bin ${BOARD}_${csi_mode}.bin
|
||||
bin2fex ${BOARD}_${csi_mode}.bin ${BOARD}_${csi_mode}.fex > /dev/null 2>&1
|
||||
sed -i "s/ov5640/${csi_mode}/g" ${BOARD}_${csi_mode}.fex
|
||||
sed -i "s/gc2035/${csi_mode}/g" ${BOARD}_${csi_mode}.fex
|
||||
fex2bin ${BOARD}_${csi_mode}.fex ${BOARD}_${csi_mode}.bin > /dev/null 2>&1
|
||||
|
||||
rm -f /boot/script.bin /boot/bin/${BOARD}_${csi_mode}.fex
|
||||
cd /boot && ln -sv bin/${BOARD}_${csi_mode}.bin script.bin > /dev/null 2>&1
|
||||
|
||||
sed -i '/gc2035/d' /etc/modules
|
||||
sed -i '/ov5640/d' /etc/modules
|
||||
sed -i '/vfe_v4l2/d' /etc/modules
|
||||
echo ${csi_mode} >> /etc/modules
|
||||
echo "vfe_v4l2" >> /etc/modules
|
||||
|
||||
sync
|
||||
}
|
||||
|
||||
|
||||
function install_sunxi-tools()
|
||||
{
|
||||
if [[ -z "$(which bin2fex)" ]]; then
|
||||
sudo apt-get update
|
||||
apt-get -f -qq -y install libusb-1.0-0-dev || (echo -e "Aborted\nNot possible to install a sunxi-tools requirement" ; exit 1)
|
||||
cd /tmp
|
||||
git clone https://github.com/linux-sunxi/sunxi-tools
|
||||
cd sunxi-tools
|
||||
make
|
||||
make install
|
||||
cd -
|
||||
fi
|
||||
}
|
||||
|
||||
if [[ $# != 1 ]]; then
|
||||
echo "Usage: $0 gc2035|ov5640"
|
||||
exit
|
||||
fi
|
||||
|
||||
install_sunxi-tools
|
||||
csi_configure $1
|
||||
10
external/packages/bsp/sunxi/zeroplus2-bt.sh
vendored
Executable file
10
external/packages/bsp/sunxi/zeroplus2-bt.sh
vendored
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
MAC=$(echo -n 1c:1b; dd bs=1 count=4 if=/dev/random 2>/dev/null | hexdump -v -e '/1 ":%02X"')
|
||||
|
||||
rfkill unblock all
|
||||
echo "0" > /sys/class/rfkill/rfkill0/state
|
||||
echo "1" > /sys/class/rfkill/rfkill0/state
|
||||
echo " " > /dev/ttyS1
|
||||
|
||||
brcm_patchram_plus --enable_hci --no2bytes --tosleep 200000 --use_baudrate_for_download --baudrate 115200 --bd_addr ${MAC} --patchram /lib/firmware/ap6212/bcm43438a1.hcd /dev/ttyS1 &
|
||||
4
external/packages/extras-buildpkgs/00-libdri2.conf
vendored
Normal file → Executable file
4
external/packages/extras-buildpkgs/00-libdri2.conf
vendored
Normal file → Executable file
@@ -12,10 +12,10 @@ local package_component="${release}-desktop"
|
||||
|
||||
package_checkbuild()
|
||||
{
|
||||
[[ $release == jessie ]]
|
||||
[[ $LINUXFAMILY == sun8i && $BRANCH == legacy && $BUILD_DESKTOP == yes ]]
|
||||
}
|
||||
|
||||
package_checkinstall()
|
||||
{
|
||||
[[ $LINUXFAMILY == sun*i && $BRANCH == legacy && $RELEASE == jessie && $BUILD_DESKTOP == yes ]]
|
||||
[[ $LINUXFAMILY == sun8i && $BRANCH == legacy && $RELEASE == xenial && $BUILD_DESKTOP == yes ]]
|
||||
}
|
||||
|
||||
5
external/packages/extras-buildpkgs/04-libvdpau.conf
vendored
Normal file → Executable file
5
external/packages/extras-buildpkgs/04-libvdpau.conf
vendored
Normal file → Executable file
@@ -11,11 +11,12 @@ local package_component="${release}-desktop"
|
||||
|
||||
package_checkbuild()
|
||||
{
|
||||
false
|
||||
# we don't support running kernels < 3.13 on Stretch or Bionic
|
||||
[[ $release != xenial && $release != stretch && $release != bionic && $release != disco && $release != buster && $release != focal ]]
|
||||
#[[ $LINUXFAMILY == sun8i && $BRANCH == legacy && $BUILD_DESKTOP == yes ]]
|
||||
}
|
||||
|
||||
package_checkinstall()
|
||||
{
|
||||
[[ $LINUXFAMILY == sun*i && $BRANCH == legacy && $RELEASE != stretch && $RELEASE != bionic && $BUILD_DESKTOP == yes ]]
|
||||
[[ $LINUXFAMILY == sun8i && $BRANCH == legacy && $BUILD_DESKTOP == yes ]]
|
||||
}
|
||||
|
||||
5
external/packages/extras-buildpkgs/05-libump.conf
vendored
Normal file → Executable file
5
external/packages/extras-buildpkgs/05-libump.conf
vendored
Normal file → Executable file
@@ -11,11 +11,10 @@ local package_component="${release}-desktop"
|
||||
|
||||
package_checkbuild()
|
||||
{
|
||||
# we don't support running kernels < 3.13 on Stretch or Bionic
|
||||
[[ $arch == armhf && $release != stretch && $release != bionic && $release != buster && $release != disco ]]
|
||||
[[ $LINUXFAMILY == sun8i && $BRANCH == legacy && $BUILD_DESKTOP == yes ]]
|
||||
}
|
||||
|
||||
package_checkinstall()
|
||||
{
|
||||
[[ $LINUXFAMILY == sun*i && $BRANCH == legacy && $RELEASE != stretch && $RELEASE != bionic && $BUILD_DESKTOP == yes ]]
|
||||
[[ $LINUXFAMILY == sun8i && $BRANCH == legacy && $BUILD_DESKTOP == yes ]]
|
||||
}
|
||||
|
||||
5
external/packages/extras-buildpkgs/06-libcedrus.conf
vendored
Normal file → Executable file
5
external/packages/extras-buildpkgs/06-libcedrus.conf
vendored
Normal file → Executable file
@@ -11,11 +11,10 @@ local package_component="${release}-desktop"
|
||||
|
||||
package_checkbuild()
|
||||
{
|
||||
# we don't support running kernels < 3.13 on Stretch or Bionic
|
||||
[[ $release != stretch && $release != bionic && $release != buster && $release != disco ]]
|
||||
[[ $LINUXFAMILY == sun8i && $BRANCH == legacy && $BUILD_DESKTOP == yes ]]
|
||||
}
|
||||
|
||||
package_checkinstall()
|
||||
{
|
||||
[[ $LINUXFAMILY == sun*i && $RELEASE != stretch && $RELEASE != bionic && $BRANCH == legacy && $BUILD_DESKTOP == yes ]]
|
||||
[[ $LINUXFAMILY == sun8i && $BRANCH == legacy && $BUILD_DESKTOP == yes ]]
|
||||
}
|
||||
|
||||
6
external/packages/extras-buildpkgs/06-xf86-video-fbturbo.conf
vendored
Normal file → Executable file
6
external/packages/extras-buildpkgs/06-xf86-video-fbturbo.conf
vendored
Normal file → Executable file
@@ -11,12 +11,10 @@ local package_component="${release}-desktop"
|
||||
|
||||
package_checkbuild()
|
||||
{
|
||||
# we don't support running kernels < 3.13 on Stretch or Bionic
|
||||
[[ $release != stretch && $release != bionic ]]
|
||||
[[ $release != stretch && $release != bionic && $release != buster && $release != disco ]]
|
||||
[[ $LINUXFAMILY == sun8i && $BRANCH == legacy && $BUILD_DESKTOP == yes ]]
|
||||
}
|
||||
|
||||
package_checkinstall()
|
||||
{
|
||||
[[ $LINUXFAMILY == sun*i && $RELEASE != stretch && $RELEASE != bionic && $BUILD_DESKTOP == yes && $BRANCH == default ]]
|
||||
[[ $LINUXFAMILY == sun8i && $BRANCH == legacy && $BUILD_DESKTOP == yes ]]
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@ local package_component="${release}-desktop"
|
||||
package_checkbuild()
|
||||
{
|
||||
# until we have access to properly licensed arm64 mali binary drivers
|
||||
[[ $arch == armhf ]]
|
||||
[[ $arch == armhf && $RELEASE != xenial ]]
|
||||
}
|
||||
|
||||
package_checkinstall()
|
||||
|
||||
@@ -9,7 +9,7 @@ local package_component="${release}-utils"
|
||||
|
||||
package_checkbuild()
|
||||
{
|
||||
true
|
||||
[[ $RELEASE != xenial ]]
|
||||
}
|
||||
|
||||
package_checkinstall()
|
||||
|
||||
5
external/packages/extras-buildpkgs/90-libglshim.conf
vendored
Normal file → Executable file
5
external/packages/extras-buildpkgs/90-libglshim.conf
vendored
Normal file → Executable file
@@ -9,11 +9,10 @@ local package_component="${release}-desktop"
|
||||
|
||||
package_checkbuild()
|
||||
{
|
||||
# we don't support running kernels < 3.13 on Stretch or Bionic
|
||||
[[ $arch == armhf && $release != stretch && $release != bionic && $release != buster && $release != disco && $release != focal ]]
|
||||
[[ $LINUXFAMILY == sun8i && $BRANCH == legacy && $BUILD_DESKTOP == yes ]]
|
||||
}
|
||||
|
||||
package_checkinstall()
|
||||
{
|
||||
[[ $LINUXFAMILY == sun[4578]i && $BRANCH == legacy && $RELEASE != stretch && $RELEASE != bionic && $BUILD_DESKTOP == yes ]]
|
||||
[[ $LINUXFAMILY == sun8i && $BRANCH == legacy && $BUILD_DESKTOP == yes ]]
|
||||
}
|
||||
|
||||
5
external/packages/extras-buildpkgs/90-libmali-sunxi-r3p0.conf
vendored
Normal file → Executable file
5
external/packages/extras-buildpkgs/90-libmali-sunxi-r3p0.conf
vendored
Normal file → Executable file
@@ -11,11 +11,10 @@ local package_component="${release}-desktop"
|
||||
|
||||
package_checkbuild()
|
||||
{
|
||||
# we don't support running kernels < 3.13 on Stretch or Bionic
|
||||
[[ $arch == armhf && $release != stretch && $release != bionic && $release != buster && $release != disco && $release != focal ]]
|
||||
[[ $LINUXFAMILY == sun8i && $BRANCH == legacy && $BUILD_DESKTOP == yes ]]
|
||||
}
|
||||
|
||||
package_checkinstall()
|
||||
{
|
||||
[[ $LINUXFAMILY == sun[4578]i && $BRANCH == default && $RELEASE != stretch && $RELEASE != bionic && $BUILD_DESKTOP == yes ]]
|
||||
[[ $LINUXFAMILY == sun8i && $BRANCH == legacy && $BUILD_DESKTOP == yes ]]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ local package_component="${release}-utils"
|
||||
|
||||
package_checkbuild()
|
||||
{
|
||||
true
|
||||
[[ $RELEASE != xenial ]]
|
||||
}
|
||||
|
||||
package_checkinstall()
|
||||
|
||||
@@ -9,7 +9,7 @@ local package_component="${release}-utils"
|
||||
|
||||
package_checkbuild()
|
||||
{
|
||||
true
|
||||
[[ $RELEASE != xenial ]]
|
||||
}
|
||||
|
||||
package_checkinstall()
|
||||
|
||||
@@ -14,7 +14,6 @@ Homepage: https://github.com/linux-sunxi/sunxi-mali/
|
||||
Package: libmali-sunxi-r3p0
|
||||
Architecture: any
|
||||
Pre-Depends:
|
||||
orangepi-bsp,
|
||||
${misc:Pre-Depends}
|
||||
Depends:
|
||||
${shlibs:Depends},
|
||||
|
||||
@@ -7,7 +7,7 @@ LINUXFAMILY=""
|
||||
|
||||
case "$1" in
|
||||
install)
|
||||
if [ -z "$BRANCH" ] || [ "$BRANCH" != "default" ]; then
|
||||
if [ -z "$BRANCH" ] || [ "$BRANCH" != "legacy" ]; then
|
||||
echo "Mali binary driver can be used only with legacy kernel" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user