1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-04 23:23:43 +02:00

generate SMT fab package

- makefiles/Makefile.kicad ($(NAME)-PCB_Edges.dxf, $(NAME).drl): since we
  now name the files explicitly, we need to generate them explicitly as
  well
- makefiles/Makefile.kicad (upload): added SMT fab package
- atben/Makefile (VERSION), atusb/Makefile (VERSION): bumped fab file
  version to 110323
This commit is contained in:
Werner Almesberger 2011-03-23 04:57:32 -03:00
parent 507e6c33de
commit 2aed5153ca
3 changed files with 13 additions and 5 deletions

View File

@ -1,5 +1,5 @@
NAME = atben
VERSION = 110322
VERSION = 110323
include ../makefiles/Makefile.kicad

View File

@ -1,5 +1,5 @@
NAME = atusb
VERSION = 110322
VERSION = 110323
include ../makefiles/Makefile.kicad

View File

@ -101,9 +101,13 @@ $(GERBERS): $(NAME).brd Makefile
fab: fab-pcb fab-smt
fab-pcb: $(PCB_FILES)
$(NAME)-PCB_Edges.dxf: $(NAME).brd
pcbnew --plot=dxf --origin=aux -l PCB_Edges $(BRD)
$(NAME).drl: $(NAME).brd
pcbnew --drill --origin=aux $(BRD)
fab-pcb: $(PCB_FILES)
mkdir -p fab
tar Ccfz .. fab/$(NAME)-pcb-$(VERSION).tar.gz \
$(PCB_FILES:%=$(DIR)/%)
@ -142,8 +146,12 @@ fab-smt: $(SMT_FILES)
$(SMT_FILES:%=$(DIR)/%)
upload:
qippl fab/$(NAME)-pcb-$(VERSION).tar.gz \
fab/$(NAME)-pcb-$(VERSION).zip wpan/fab
qippl \
fab/$(NAME)-pcb-$(VERSION).tar.gz \
fab/$(NAME)-pcb-$(VERSION).zip \
fab/$(NAME)-smt-$(VERSION).tar.gz \
fab/$(NAME)-smt-$(VERSION).zip \
wpan/fab
# --- Overview images ---------------------------------------------------------