mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
rockchip: only install ap6330-initramfs-firmware hook when armbian firmware is installed
This commit is contained in:
@@ -271,8 +271,10 @@ family_tweaks_bsp() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# AP6330 (BCM4330) firmware initramfs hook for in-kernel btbcm driver
|
# AP6330 (BCM4330) firmware initramfs hook for in-kernel btbcm driver
|
||||||
mkdir -p $destination/etc/initramfs-tools/hooks
|
if [[ "$INSTALL_ARMBIAN_FIRMWARE" == "yes" ]]; then
|
||||||
install -m 550 $SRC/packages/bsp/rockchip/ap6330-initramfs-firmware $destination/etc/initramfs-tools/hooks
|
mkdir -p $destination/etc/initramfs-tools/hooks
|
||||||
|
install -m 550 $SRC/packages/bsp/rockchip/ap6330-initramfs-firmware $destination/etc/initramfs-tools/hooks
|
||||||
|
fi
|
||||||
|
|
||||||
# Board selection script, only for rk322x-box
|
# Board selection script, only for rk322x-box
|
||||||
if [[ "$BOARD" == "rk322x-box" ]]; then
|
if [[ "$BOARD" == "rk322x-box" ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user