From 125055b0fec615168dd676e5414fd04b82c14f8a Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Mon, 21 Feb 2011 23:31:04 -0300 Subject: [PATCH] Updates CAM processes of various sub-projects - atben/cam/mkmk: introduced variables for board corner - atben/cam/mkmk: updated for new raw board - atusb-pgm/cam/Makefile: updated for new board - atusb/cam/Makefile: introduced abstraction with $(NAME) - atusb/cam/Makefile: use cameo/templates/mkmk-simple instead of local mkmk - atusb/cam/mkmk: removed - atusb/cam/Makefile: updated for new board --- atben/cam/mkmk | 10 +++--- atusb-pgm/cam/Makefile | 4 +++ atusb/cam/Makefile | 29 +++++++++++++---- atusb/cam/mkmk | 71 ------------------------------------------ 4 files changed, 33 insertions(+), 81 deletions(-) delete mode 100755 atusb/cam/mkmk diff --git a/atben/cam/mkmk b/atben/cam/mkmk index b4f697a..6be467b 100755 --- a/atben/cam/mkmk +++ b/atben/cam/mkmk @@ -3,6 +3,8 @@ PATH=$PATH:/home/qi/cae-tools/cameo PATH=$PATH:/home/moko/svn.openmoko.org/developers/werner/cncmap/gp2rml NAME=atben +X0=8.6mm +Y0=7.1mm X=0 Y=0 @@ -10,9 +12,9 @@ cameo <mill.rml -gp2rml 2 0.1 0.5 drill.gp >drill.rml - - -cat <Makefile.mkmk -SPOOL=/home/moko/svn.openmoko.org/developers/werner/cncmap/spool/spool -CNGT=/home/qi/cae-tools/cngt/cngt - -.PHONY: mill drill cng plot dplot - -mill: - PORT=/dev/ttyUSB0 \$(SPOOL) mill.rml - -drill: - PORT=/dev/ttyUSB0 \$(SPOOL) drill.rml - -cng: - \$(CNGT) -57.4 20 mill.gp - -plot: - echo 'plot "drill.gp" with points, "mill.gp" with lines' | \\ - gnuplot -persist - -dplot: - echo 'plot "< sed /^\$\$/d drill.gp" with linespoints' | \\ - gnuplot -persist - -clean:: - rm -f mill.gp mill.rml drill.gp drill.rml -EOF