mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-12-23 17:25:30 +02:00
69ddbf6f0c
- bom/atrf.chr: tentative characteristics of two transient voltage suppressors - bom/Makefile (CHR): added atrf.chr - bom/atrf.sub: added tentative translation for TVSs - bom/atrf.equ: added C8051F320 and mini-USB receptacle (for cntr) - bom/atrf.inv: added 120x60 mil pad (for cntr) - bom/atrf.sub: map footprint to value for PAD_12x60 - bom/Makefile: marked .par files as "precious" - bom/Makefile (all, vpath): added cntr sub-project - bom/dk/digi-key.equ: added cntr parts: C8051F320-GQ, LTST-C190KRKT, TVSs CT0603M4G and EZJ-P0V080GA, USB receptacle 1734035-2
45 lines
952 B
Makefile
45 lines
952 B
Makefile
BOOM=PATH=/home/moko/svn.openmoko.org/trunk/eda/boom:../boom:$$PATH boom
|
|
|
|
BOOM2=../../eda-tools/boom
|
|
BOOM_CONFIG=$(BOOM2)/boom-config
|
|
|
|
KITS=1
|
|
|
|
EQU=atrf.equ dk/digi-key.equ $(shell $(BOOM_CONFIG) equ)
|
|
INV=atrf.inv dk/digi-key.inv $(shell $(BOOM_CONFIG) inv)
|
|
DSC=dk/digi-key.dsc $(shell $(BOOM_CONFIG) dsc)
|
|
CHR=atrf.chr $(shell $(BOOM_CONFIG) chr)
|
|
|
|
|
|
.PHONY: all again spotless
|
|
.PRECIOUS: %.par
|
|
|
|
all: atusd.ord cntr.ord
|
|
|
|
again:
|
|
$(MAKE) spotless
|
|
$(MAKE) all
|
|
|
|
%.ord: %.par $(INV) $(EQU)
|
|
$(BOOM) part2order $(KITS) $^ >$@ || { rm -f $@; exit 1; }
|
|
|
|
vpath atusd.lst ../atusd
|
|
vpath cntr.lst ../cntr
|
|
|
|
%.par: $(EQU) $(INV) $(CHR) %.lst atrf.sub
|
|
$(BOOM) bom2part $^ >$@ || { rm -f $@; exit 1; }
|
|
|
|
dk/digi-key.inv:
|
|
$(MAKE) -C dk digi-key.inv
|
|
|
|
dk/digi-key.dsc:
|
|
$(MAKE) -C dk digi-key.dsc
|
|
|
|
show-%: %.ord $(DSC)
|
|
grep -vw ATRF $< | $(BOOM) prettyord -t - $(DSC) | \
|
|
sed 's/^... //'
|
|
|
|
spotless:
|
|
$(MAKE) -C dk spotless
|
|
rm -f atusd.par atusd.ord
|