满庭芳·源流归一
结论:LinuxCNC rs274ngc 源码移植边界继续收拢。已将 rs274ngc 头文件纳入 manifest 跟踪,core 编译组仍只包含可编译源文件;启用 CNC_SIM_ENABLE_LINUXCNC_RS274_BACKEND 时 API 默认使用 LinuxCNC rs274 后端;M428/M429/M430 与 5axis/TRT/TDR/RTCP 相关路径继续保持来自 LinuxCNC 源码或 remap 配置的薄桥接。 验证:./test-linuxcnc-source-syntax.sh;./test-linuxcnc-api-native.sh;./test-native.sh;./test-linuxcnc-source-link.sh。
This commit is contained in:
@@ -6,10 +6,7 @@ cd "$(dirname "$0")"
|
||||
linuxcnc_root=${LINUXCNC_ROOT:-../linuxcnc}
|
||||
filter=${1:-}
|
||||
|
||||
if [[ ! -d "$linuxcnc_root" ]]; then
|
||||
echo "missing LinuxCNC root: $linuxcnc_root" >&2
|
||||
exit 1
|
||||
fi
|
||||
LINUXCNC_ROOT="$linuxcnc_root" ./check-linuxcnc-inputs.sh --root-only
|
||||
|
||||
objects=(
|
||||
src/objects/emc/rs274ngc/interpmodule.o
|
||||
@@ -24,22 +21,10 @@ objects=(
|
||||
src/objects/libnml/nml/stat_msg.o
|
||||
)
|
||||
|
||||
found=0
|
||||
for object in "${objects[@]}"; do
|
||||
full_object="$linuxcnc_root/$object"
|
||||
if [[ ! -f "$full_object" ]]; then
|
||||
echo "missing LinuxCNC support object: $full_object" >&2
|
||||
echo "build LinuxCNC first or set LINUXCNC_ROOT to a built tree" >&2
|
||||
exit 1
|
||||
fi
|
||||
if [[ -n "$filter" && "$(basename "$object")" != "$filter" ]]; then
|
||||
continue
|
||||
fi
|
||||
found=1
|
||||
printf '%s\n' "$full_object"
|
||||
done
|
||||
|
||||
if [[ -n "$filter" && "$found" -eq 0 ]]; then
|
||||
echo "missing LinuxCNC support object in list: $filter" >&2
|
||||
exit 1
|
||||
fi
|
||||
printf '%s\n' "$linuxcnc_root/$object"
|
||||
done | ./list-filtered-existing-paths.sh \
|
||||
"$filter" \
|
||||
"missing LinuxCNC support object" \
|
||||
"missing LinuxCNC support object in list" \
|
||||
"build LinuxCNC first or set LINUXCNC_ROOT to a built tree"
|
||||
|
||||
Reference in New Issue
Block a user