- if [ "$CONFIG_CARL9170FW_BUILD_TOOLS" = "y" ] &&
- [ "$CONFIG_CARL9170FW_BUILD_MINIBOOT" = "y" ]; then
- echo -n "Apply miniboot..."
- tools/src/miniboot a carlfw/carl9170.fw minifw/miniboot.fw
+ if [ "$CONFIG_CARL9170FW_BUILD_TOOLS" = "y" ]; then
+ echo -n "Prepare firmware image..."
+ tools/src/fwprepare carlfw/carl9170.fw
+
+ 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