Ventoy: dmsetup: add binary & build.txt

Signed-off-by: Wentao Guan <guanwentao@uniontech.com>
This commit is contained in:
Wentao Guan 2024-08-26 14:45:01 +08:00
parent e431499774
commit f14326c70f
2 changed files with 6 additions and 0 deletions

View File

@ -64,6 +64,12 @@ build for 32bit, static linked with dietlibc
5. mips64el-linux-musl-strip dmsetup/dmsetup.static 5. mips64el-linux-musl-strip dmsetup/dmsetup.static
6. get dmsetup/dmsetup.static as the dmsetupm64e binary file 6. get dmsetup/dmsetup.static as the dmsetupm64e binary file
======================== Build for loongarch64 dmsetup =========================
1. extract device mapper source code
2. ./configure build_alias=loongarch64-unknown-linux-gnu --disable-nls --disable-selinux --disable-shared --enable-static_link CC='gcc -specs /usr/local/musl/lib/musl-gcc.specs'
3. make
4. strip --strip-all dmsetup/dmsetup.static
5. get dmsetup/dmsetup.static as the dmsetupla64 binary file

BIN
DMSETUP/dmsetupla64 Executable file

Binary file not shown.