mirror of
git://projects.qi-hardware.com/m1.git
synced 2024-11-16 17:50:18 +02:00
f6f8f5c7dd
boomified remaining parts, but not characterized yet
25 lines
636 B
Makefile
25 lines
636 B
Makefile
BOOM_CONFIG=../../eda-tools/boom/boom-config
|
|
BOOM=../../boom/boom
|
|
|
|
KITS=1
|
|
|
|
EQU=usb_jtag.equ $(shell $(BOOM_CONFIG) equ)
|
|
INV=usb_jtag.inv digi-key.inv $(shell $(BOOM_CONFIG) inv)
|
|
DSC=digi-key.dsc $(shell $(BOOM_CONFIG) dsc)
|
|
CHR=$(shell $(BOOM_CONFIG) chr)
|
|
|
|
usb_jtag.ord: usb_jtag.par $(INV) $(EQU)
|
|
$(BOOM) part2order $(KITS) $^ >$@ || \
|
|
{ rm -f $@; exit 1; }
|
|
|
|
usb_jtag.par: $(EQU) $(INV) $(CHR) ../usb_jtag.lst usb_jtag.sub
|
|
$(BOOM) bom2part $^ >$@ || \
|
|
{ rm -f $@; exit 1; }
|
|
|
|
show: usb_jtag.ord $(DSC)
|
|
grep -vw USB_JTAG $< | $(BOOM) prettyord -t - $(DSC) | \
|
|
sed 's/^... //'
|
|
|
|
clean:
|
|
rm -f usb_jtag.par usb_jtag.ord
|