Gateway GZ80x: `Add bluetooth support to $board.conf`

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
This commit is contained in:
Patrick Yavitz 2025-07-03 16:26:49 -04:00 committed by c0rnelius
parent c5d19faec1
commit 8a19f9aae1
1 changed files with 10 additions and 0 deletions

View File

@ -11,6 +11,16 @@ BOOT_FDT_FILE="amlogic/meson-axg-amper-gateway-am-gz80x.dtb"
SRC_EXTLINUX="yes"
SRC_CMDLINE="console=ttyAML0,115200n8 clk_ignore_unused loglevel=7"
HAS_VIDEO_OUTPUT="no"
MODULES_BLACKLIST="rtw88_8723d rtw88_8723ds"
PACKAGE_LIST_BOARD="rfkill bluetooth bluez bluez-tools"
function post_family_tweaks_bsp__gateway_gz80x_firmware() {
if [[ -d "$SRC/packages/bsp/gateway-gz80x/rtl_bt" ]]; then
mkdir -p "${destination}"/lib/firmware/updates/rtl_bt
display_alert "$BOARD" "Installing bluetooth firmware" "info"
cp -fr $SRC/packages/bsp/gateway-gz80x/rtl_bt/* "${destination}"/lib/firmware/updates/rtl_bt/
fi
}
function post_family_tweaks_bsp__gateway_gz80x_udev() {
mkdir -p "${destination}"/etc/udev/rules.d