- if [ "$CONFIG_CARL9170FW_MAKE_RELEASE" = "y" ]; then
- echo "Installing firmware..."
- tmpfwfile=`mktemp`
- cat carlfw/carl9170.fw carlfw/carl9170.dsc > $tmpfwfile
- sudo install $tmpfwfile /lib/firmware/carl9170-$CONFIG_CARL9170FW_RELEASE_VERSION.fw
- rm $tmpfwfile
+ if [ "$CONFIG_CARL9170FW_BUILD_MINIBOOT" = "y" ]; then
+ echo -n "Apply miniboot..."
+ # also update checksum
+ tools/src/miniboot a carlfw/carl9170.fw minifw/miniboot.fw
+ fi