diff --git a/scripts/gplan-build.sh b/scripts/gplan-build.sh index f294014..ab4ad7f 100755 --- a/scripts/gplan-build.sh +++ b/scripts/gplan-build.sh @@ -3,4 +3,9 @@ cd /mnt/host scons -j 8 -C cbang disable_local="re2 libevent" export CBANG_HOME="/mnt/host/cbang" + +perl -i -0pe 's/case 610: setPathMode.*;/case 610: implemented = false; break;/gm' /mnt/host/camotics/src/gcode/ControllerImpl.cpp +perl -i -0pe 's/case 611: setPathMode.*;/case 611: implemented = false; break;/gm' /mnt/host/camotics/src/gcode/ControllerImpl.cpp +perl -i -0pe 's/case 640: {[^}]+}/case 640: implemented = false; break;/gm' /mnt/host/camotics/src/gcode/ControllerImpl.cpp + scons -j 8 -C camotics gplan.so with_gui=0 with_tpl=0