]> glassweightruler.freedombox.rocks Git - Ventoy.git/blobdiff - DMSETUP/build.txt
keep up with 1.0.67 (#1464)
[Ventoy.git] / DMSETUP / build.txt
index 6585e599f77b7e6d959db32eb473ff431d181a58..b9601cbd812b8c3b5c8487ebc48a4506c045eb6e 100644 (file)
@@ -55,6 +55,16 @@ build for 32bit, static linked with dietlibc
 6. get dmsetup/dmsetup.static as the dmsetupaa64 binary file\r
 \r
 \r
+======================== Build for mips64 dmsetup =========================\r
+1. extract device mapper source code\r
+2. ./configure CC="mips64el-linux-musl-gcc -mips64r2 -mabi=64" --target=mips --host=x86_64-linux-gnu --disable-nls  --disable-selinux --disable-shared  --enable-static_link\r
+3. modify include/configure.h file\r
+   --- delete the line with "#define malloc rpl_malloc"\r
+4. make\r
+5. mips64el-linux-musl-strip dmsetup/dmsetup.static\r
+6. get dmsetup/dmsetup.static as the dmsetupm64e binary file\r
+\r
+\r
 \r
 \r
 \r