mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-18 21:01:26 +00:00
update z28pro-part for BT
This commit is contained in:
parent
b3178a2c9f
commit
21470716ec
1 changed files with 13 additions and 0 deletions
|
@ -108,5 +108,18 @@ family_tweaks()
|
|||
echo "ttyFIQ0" >> $SDCARD/etc/securetty
|
||||
if [[ $BOARD == z28pro ]]; then
|
||||
echo "fdtfile=rockchip/rk3328-z28pro.dtb" >> $SDCARD/boot/armbianEnv.txt
|
||||
chroot $SDCARD /bin/bash -c "systemctl --no-reload enable z28pro-bluetooth.service >/dev/null 2>&1"
|
||||
fi
|
||||
}
|
||||
|
||||
family_tweaks_bsp()
|
||||
{
|
||||
if [[ $BOARD == z28pro ]]; then
|
||||
mkdir -p $destination/usr/local/bin
|
||||
# Bluetooth
|
||||
install -m 755 $SRC/packages/bsp/rk3328/z28pro/8822b_hciattach $destination/usr/bin
|
||||
install -m 755 $SRC/packages/bsp/rk3328/z28pro/start_bt.sh $destination/usr/local/bin
|
||||
cp $SRC/packages/bsp/rk3328/z28pro/z28pro-bluetooth.service $destination/lib/systemd/system/
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue