Add blacklist rtw88 for JetHub H1/D1/D1+
This commit is contained in:
parent
d0cfcfa733
commit
0a784cb9b7
@ -1,7 +1,7 @@
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
#
|
||||
# Copyright (c) 2019-2023 JetHome
|
||||
# Copyright (c) 2019-2024 JetHome
|
||||
# Author: Viacheslav Bocharov <vb@jethome.ru>
|
||||
#
|
||||
# This file is a part of the Armbian Build Framework
|
||||
@ -25,6 +25,18 @@ elif [[ "$BOARD" == "jethubj100" ]]; then
|
||||
OFFSET=126
|
||||
fi
|
||||
|
||||
|
||||
if [[ "$BOARD" == "jethubj80" ]] || [[ "$BOARD" == "jethubj100" ]] ; then
|
||||
function family_tweaks__blacklistrtw88() {
|
||||
if [[ "$BOARD" == jethubj80 ]] || [[ "$BOARD" == jethubj100 ]]; then
|
||||
mkdir -p "${destination}"/etc/modprobe.d
|
||||
echo "blacklist rtw88_8822cs" > "${destination}"/etc/modprobe.d/rtw88_8822cs.conf
|
||||
fi
|
||||
display_alert "Added rtw88_8822cs to blacklist" "${BOARD}" "info"
|
||||
}
|
||||
fi
|
||||
|
||||
|
||||
# JetHub builds userspace tooling with c++ (gpp) toolchain in buildjethomecmds() below.
|
||||
# The C++ compiler is no longer included by default in the Armbian build system.
|
||||
# Enable the extension that brings includes it. It could've been an inline extension (eg: the function right here),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user