Build: MCUboot: Applies patches from TF-M to MCUBoot

Signed-off-by: Matthew Dalzell <matthew.dalzell@arm.com>
Change-Id: I07d8da0b4141ebd422282c02f865b6e37f5bb4a7
diff --git a/run-build.sh b/run-build.sh
index 1722d79..5a9e6db 100755
--- a/run-build.sh
+++ b/run-build.sh
@@ -93,6 +93,13 @@
     cd -
 fi
 
+cnt=$(ls trusted-firmware-m/lib/ext/mcuboot/*.patch 2> /dev/null | wc -l)
+if [ "$cnt" != "0" ] ; then
+    cd mcuboot
+    git apply ../trusted-firmware-m/lib/ext/mcuboot/*.patch
+    cd -
+fi
+
 cnt=$(ls trusted-firmware-m/lib/ext/t_cose/*.patch 2> /dev/null | wc -l)
 if [ "$cnt" != "0" ] ; then
     cd t_cose