meow_ui.a→3e0ee8f7 launcher→9d0efc2f hello→9609ea6e files→90f5cf07 ncm→be8be221(均已上卡); 真机截图证据 .tmp/meowbug/fix1.png+fix_b2_after.png
17 lines
819 B
Bash
Executable File
17 lines
819 B
Bash
Executable File
#!/bin/bash
|
||
# Build the Files app (MeowOS 外置文件管理器 os.meow.files,SDK framework=1):
|
||
# 链 meow_ui.a(已内含 meow_font.o)+ 系统 libz.a + -lpthread,静态 MIPS32r2 (musl sf)。
|
||
# 多文件结构(仿 hello_app 批次②拆分):app.c + ui/browser.c + ui/viewer.c +
|
||
# ui/common/chrome.c + logic/fsx.c。仅改本目录文件,编译期不改 SDK(patch_v2/sdk/ 零触及)。
|
||
# mipsel -Wall -Wextra 0 warning。
|
||
set -e
|
||
cd "$(dirname "$0")"
|
||
ROOT="$HOME/Project/R3ProII"
|
||
CC="$ROOT/.tools/zig-mipsel-cc"
|
||
SYSROOT="$ROOT/.tools/mipsel-linux-muslsf-cross/mipsel-linux-muslsf"
|
||
"$CC" -Os -static -Wall -Wextra -I../sdk -I../meow_launcherd -I. \
|
||
app.c ui/browser.c ui/viewer.c ui/common/chrome.c logic/fsx.c \
|
||
../sdk/meow_ui.a "$SYSROOT/lib/libz.a" -lpthread -o files
|
||
ls -la files
|
||
file files
|