Files
MeowOS 249b6224ab feat(route): meow_route 音频输出路由自动跟随插孔 (agent-220) — svcd托管,1s轮询switch state,4.4优先; 只写变化+读回校验+不重试风暴; 真机已部署运行(svcd tf conf)
meow_route fa2b80be; 主机模拟状态机全过+真机cset/cget往返验证; 物理插拔端到端待用户插耳机实测
注: 223 拼音IME设计稿已出(devdocs/plan/IME_PINYIN_DESIGN.md, 静态表方案~272KB, qemu验证通过)
2026-08-31 15:32:13 +08:00

29 lines
931 B
Bash
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/bin/bash
# build_route.sh — meow_route 交叉编译(mipsel 静态)+ 宿主编译可选。
#
# 目标:R3 Pro II / MeowOS(mipsel-linux-muslsf,静态)。仅 POSIX + Linux 基接口,
# 无 launcher/IPC 依赖(不链 meow_ipc.h),单文件、体积小。
#
# 用法:
# ./build_route.sh # 交叉编译 → patch_v2/meow_route/meow_route(mipsel 静态)
# ./build_route.sh host # 宿主编译 → patch_v2/meow_route/meow_route_host
set -e
cd "$(dirname "$0")"
ROOT="$HOME/Project/R3ProII"
CC="$ROOT/.tools/zig-mipsel-cc"
if [ "$1" = "host" ]; then
HOST_CC="${CC_HOST:-cc}"
"$HOST_CC" -Os -Wall -Wextra meow_route.c -o meow_route_host
echo "== host build =="
ls -la meow_route_host
file meow_route_host
exit 0
fi
"$CC" -Os -Wall -Wextra -static meow_route.c -o meow_route
echo "== meow_route (mipsel static) =="
ls -la meow_route
md5sum meow_route
file meow_route