结论: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。
31 lines
900 B
Bash
Executable File
31 lines
900 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
cd "$(dirname "$0")"
|
|
|
|
linuxcnc_root=${LINUXCNC_ROOT:-../linuxcnc}
|
|
filter=${1:-}
|
|
|
|
LINUXCNC_ROOT="$linuxcnc_root" ./check-linuxcnc-inputs.sh --root-only
|
|
|
|
objects=(
|
|
src/objects/emc/rs274ngc/interpmodule.o
|
|
src/objects/emc/rs274ngc/canonmodule.o
|
|
src/objects/emc/rs274ngc/pyarrays.o
|
|
src/objects/emc/rs274ngc/pyblock.o
|
|
src/objects/emc/rs274ngc/pyemctypes.o
|
|
src/objects/emc/rs274ngc/pyinterp1.o
|
|
src/objects/emc/rs274ngc/pyparamclass.o
|
|
src/objects/emc/nml_intf/emcops.o
|
|
src/objects/emc/sai/dummyemcstat.o
|
|
src/objects/libnml/nml/stat_msg.o
|
|
)
|
|
|
|
for object in "${objects[@]}"; do
|
|
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"
|