Explorar o código

chore(configure): check whether mkfs.fat exists

greatbridf %!s(int64=2) %!d(string=hai) anos
pai
achega
8da2920aa5
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  1. 8 0
      configure

+ 8 - 0
configure

@@ -95,6 +95,14 @@ else
     CROSS_COMPILE_FLAG=
 fi
 
+event "checking mkfs tool"
+if ! which mkfs.fat > /dev/null 2>&1; then
+    echo "no"
+    exit 1
+else
+    echo `which mkfs.fat`
+fi
+
 cp Makefile.src Makefile
 sed -i '' -e "s/##PLACEHOLDER_1##/$QEMU/" Makefile > /dev/null 2>&1
 sed -i '' -e "s/##PLACEHOLDER_2##/$GDB/" Makefile > /dev/null 2>&1