mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-08-27 16:01:14 +00:00
initial commit
This commit is contained in:
3
vtoyfat/fat_io_lib/README.txt
Normal file
3
vtoyfat/fat_io_lib/README.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
========= About fat_io_lib =========
|
||||
1. Download fat_io_lib source code from http://ultra-embedded.com/releases/fat_io_lib.zip
|
||||
2. decompress the code and run buildlib.sh
|
25
vtoyfat/fat_io_lib/buildlib.sh
Normal file
25
vtoyfat/fat_io_lib/buildlib.sh
Normal file
@@ -0,0 +1,25 @@
|
||||
#!/bin/sh
|
||||
|
||||
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
|
||||
rm -f *.o
|
||||
|
||||
|
||||
gcc -m32 -O2 -D_FILE_OFFSET_BITS=64 fat*.c -c
|
||||
ar -rc libfat_io_32.a *.o
|
||||
rm -f *.o
|
||||
|
||||
|
||||
cd -
|
||||
|
||||
mkdir lib
|
||||
mkdir include
|
||||
|
||||
mv release/*.a lib/
|
||||
cp -a release/*.h include/
|
||||
|
||||
|
Reference in New Issue
Block a user