#!/bin/bash
##############################################################
# Description: a/kernel-firmware plugin script for SoC bcm2711
# Called from: ../../../kernel-firmware.SlackBuild
# Author.....: Brenton Earl
# Date.......: Dec. 17, 2021
##############################################################
#ASSETS="bluez-firmware firmware-brcm80211"

#for a in $ASSETS; do
#	pushd $platformdir/assets/$a
#		cp -rav lib/firmware/* $PKG/lib/firmware
#		#cp -rav usr/ $PKG/
#	popd
#done

# Unpack the assets into the root of the package:
tar xf $platformdir/assets/fw-${soc}.tar.!(*sign|*asc|*sig) -C $PKG/ || failinstall
