mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-05-31 23:28:32 -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
|
@ -7,13 +7,17 @@ rm -f vtoytool/00/*
|
|||
|
||||
aarch64-buildroot-linux-uclibc-gcc -Os -static -D_FILE_OFFSET_BITS=64 *.c BabyISO/*.c -IBabyISO -Wall -DBUILD_VTOY_TOOL -o vtoytool_aa64
|
||||
|
||||
mips64el-linux-musl-gcc -mips64r2 -mabi=64 -Os -static -D_FILE_OFFSET_BITS=64 *.c BabyISO/*.c -IBabyISO -Wall -DBUILD_VTOY_TOOL -o vtoytool_m64e
|
||||
|
||||
#gcc -D_FILE_OFFSET_BITS=64 -static -Wall -DBUILD_VTOY_TOOL *.c BabyISO/*.c -IBabyISO -o vtoytool_64
|
||||
#gcc -D_FILE_OFFSET_BITS=64 -Wall -DBUILD_VTOY_TOOL -m32 *.c BabyISO/*.c -IBabyISO -o vtoytool_32
|
||||
|
||||
if [ -e vtoytool_64 ] && [ -e vtoytool_32 ] && [ -e vtoytool_aa64 ]; then
|
||||
if [ -e vtoytool_64 ] && [ -e vtoytool_32 ] && [ -e vtoytool_aa64 ] && [ -e vtoytool_m64e ]; then
|
||||
echo -e '\n############### SUCCESS ###############\n'
|
||||
|
||||
aarch64-buildroot-linux-uclibc-strip --strip-all vtoytool_aa64
|
||||
mips64el-linux-musl-strip --strip-all vtoytool_m64e
|
||||
mv vtoytool_m64e vtoytool/00/
|
||||
mv vtoytool_aa64 vtoytool/00/
|
||||
mv vtoytool_64 vtoytool/00/
|
||||
mv vtoytool_32 vtoytool/00/
|
||||
|
|
|
@ -41,7 +41,9 @@
|
|||
#endif
|
||||
|
||||
#ifndef USE_DIET_C
|
||||
#ifndef __mips__
|
||||
typedef unsigned long long uint64_t;
|
||||
#endif
|
||||
typedef unsigned int uint32_t;
|
||||
#endif
|
||||
|
||||
|
|
|
@ -35,7 +35,9 @@
|
|||
#define IS_DIGIT(x) ((x) >= '0' && (x) <= '9')
|
||||
|
||||
#ifndef USE_DIET_C
|
||||
#ifndef __mips__
|
||||
typedef unsigned long long uint64_t;
|
||||
#endif
|
||||
typedef unsigned int uint32_t;
|
||||
typedef unsigned short uint16_t;
|
||||
typedef unsigned char uint8_t;
|
||||
|
|
BIN
VtoyTool/vtoytool/00/vtoytool_m64e
Normal file
BIN
VtoyTool/vtoytool/00/vtoytool_m64e
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue