mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-05-29 22:35:41 -04:00
experimental support for loongson mips64el uefi
This commit is contained in:
parent
bb7e10d93e
commit
b63ce2a3df
294 changed files with 26406 additions and 96 deletions
|
@ -8,17 +8,23 @@ rm -f vtoygpt_aa64
|
|||
/opt/diet32/bin/diet -Os gcc -D_FILE_OFFSET_BITS=64 -m32 vtoygpt.c crc32.c -o vtoygpt_32
|
||||
|
||||
aarch64-buildroot-linux-uclibc-gcc -Os -static -D_FILE_OFFSET_BITS=64 vtoygpt.c crc32.c -o vtoygpt_aa64
|
||||
mips64el-linux-musl-gcc -mips64r2 -mabi=64 -static -Os -D_FILE_OFFSET_BITS=64 vtoygpt.c crc32.c -o vtoygpt_m64e
|
||||
|
||||
|
||||
#gcc -D_FILE_OFFSET_BITS=64 -static -Wall vtoygpt.c -o vtoytool_64
|
||||
#gcc -D_FILE_OFFSET_BITS=64 -Wall -m32 vtoygpt.c -o vtoytool_32
|
||||
|
||||
if [ -e vtoygpt_64 ] && [ -e vtoygpt_32 ] && [ -e vtoygpt_aa64 ]; then
|
||||
if [ -e vtoygpt_64 ] && [ -e vtoygpt_32 ] && [ -e vtoygpt_aa64 ] && [ -e vtoygpt_m64e ]; then
|
||||
echo -e '\n############### SUCCESS ###############\n'
|
||||
mv vtoygpt_64 ../INSTALL/tool/x86_64/vtoygpt
|
||||
mv vtoygpt_32 ../INSTALL/tool/i386/vtoygpt
|
||||
|
||||
aarch64-buildroot-linux-uclibc-strip --strip-all vtoygpt_aa64
|
||||
mv vtoygpt_aa64 ../INSTALL/tool/aarch64/vtoygpt
|
||||
|
||||
mips64el-linux-musl-strip --strip-all vtoygpt_m64e
|
||||
mv vtoygpt_m64e ../INSTALL/tool/mips64el/vtoygpt
|
||||
|
||||
else
|
||||
echo -e '\n############### FAILED ################\n'
|
||||
exit 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue