]> glassweightruler.freedombox.rocks Git - Ventoy.git/blobdiff - vtoyfat/fat_io_lib/buildlib.sh
1. change some directory structure for the build script
[Ventoy.git] / vtoyfat / fat_io_lib / buildlib.sh
index 11ca235700b158e65499b565ad6621947b7eca24..4c9846bbd258d591a7356e59e5cd1136524c2522 100644 (file)
@@ -1,8 +1,16 @@
 #!/bin/sh
 
+if ! [ -f fat_io_lib.zip ]; then
+    echo "No fat_io_lib.zip found ..."
+    exit 1
+fi
+
+unzip fat_io_lib.zip
+
 rm -rf include
 rm -rf lib
 
+
 cd release
 gcc -O2 -D_FILE_OFFSET_BITS=64 fat*.c -c
 ar -rc libfat_io_64.a *.o