Date:2011-03-23 01:59:13 (8 years 4 months ago)
Author:Werner Almesberger
Commit:8885467617b62908684bd0a045e4569c5551a6ab
Message:Makefile.kicad: added generation of a positioning for the SMT fab

- Makefile.kicad ($(NAME)Front.pos): --origin does nothing with --pos;
removed it
- Makefile.kicad ($(NAME)-pos.csv): use pos2fab to generate a positioning
file for the SMT fab
- Makefile.kicad (clean): remove $(NAME)Front.pos and $(NAME)-pos.csv
Files: makefiles/Makefile.kicad (3 diffs)

Change Details

makefiles/Makefile.kicad
2121PLOT_BRD = pcbnew --plot=ps_a4 --ps-pads-drill-opt=none --fill-all-zones
2222CPTX = ../../eda-tools/mlztx/cptx
2323GMERGE = ../../eda-tools/fab/gmerge
24PRETTYGERBV=../../eda-tools/fab/prettygerbv
24PRETTYGERBV = ../../eda-tools/fab/prettygerbv
25POS2FAB = ../../eda-tools/fab/pos2fab
2526
2627DIR = $(shell pwd | sed 's|.*/||')
2728
...... 
108109          $(NAME)-Back.gbl
109110
110111$(NAME)Front.pos:
111        pcbnew --pos --origin=abs $(BRD)
112        pcbnew --pos $(BRD)
113
114$(NAME)-pos.csv: $(NAME)Front.pos $(NAME).cmp
115        $(POS2FAB) $(NAME)Front.pos $(NAME).cmp >$@ || \
116          { rm -f "$@"; exit 1; }
112117
113118upload:
114119        qippl fab/$(NAME)-pcb-$(VERSION).tar.gz \
...... 
133138        rm -f $(NAME)-SilkS_Back.gbo $(NAME)-SoldP_Back.gbp
134139        rm -f $(NAME)-Comments.gbr $(NAME)-Drawings.gbr
135140        rm -f overview.png
141        rm -f $(NAME)Front.pos $(NAME)-pos.csv
136142
137143spotless:: clean
138144        rm -f '$$'savepcb.000 '$$'savepcb.brd

Archive Download the corresponding diff file



interactive