Support Orange Pi 3 LTS

This commit is contained in:
orangepi-xunlong
2021-11-25 19:16:52 +08:00
parent 31d8885bd5
commit 9f400f169d
9 changed files with 7123 additions and 4 deletions

View File

@@ -29,6 +29,15 @@ case $BRANCH in
ASOUND_STATE='asound.state.sun50iw6-legacy'
BOOT_FDT_FILE=sunxi/sun50i-h6-orangepi-${BOARD:8}.dtb
;;
current)
if [[ ${BOARD} == orangepi3-lts ]]; then
KERNELBRANCH="branch:orange-pi-5.10"
LINUXCONFIG=linux-5.10-sunxi64-current
fi
;;
esac
family_tweaks_s()
@@ -67,4 +76,6 @@ family_tweaks_bsp()
cp $EXTER/packages/bsp/sunxi/ap6255-bluetooth.service $destination/lib/systemd/system/
[[ $BRANCH == legacy ]] && cp $EXTER/packages/bsp/sunxi/ap6255-wifi.service $destination/lib/systemd/system/
fi
install -m 755 $EXTER/packages/blobs/bt/hciattach/hciattach_opi_$ARCH $destination/usr/bin/hciattach_opi
}