mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-08-28 00:11:15 +00:00
1. change some directory structure for the build script
2. add build script and document see DOC/BuildVentoyFromSource.txt for detail
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user