Root/
| 1 | BOOM_CONFIG=../../../eda-tools/boom/boom-config |
| 2 | BOOM=../../../boom/boom |
| 3 | |
| 4 | KITS=1 |
| 5 | |
| 6 | EQU=usb_jtag.equ $(shell $(BOOM_CONFIG) equ) |
| 7 | INV=usb_jtag.inv digi-key.inv $(shell $(BOOM_CONFIG) inv) |
| 8 | DSC=digi-key.dsc $(shell $(BOOM_CONFIG) dsc) |
| 9 | CHR=$(shell $(BOOM_CONFIG) chr) |
| 10 | |
| 11 | usb_jtag.ord: usb_jtag.par $(INV) $(EQU) |
| 12 | $(BOOM) part2order $(KITS) $^ >$@ || \ |
| 13 | { rm -f $@; exit 1; } |
| 14 | |
| 15 | usb_jtag.par: $(EQU) $(INV) $(CHR) ../usb_jtag.lst usb_jtag.sub |
| 16 | $(BOOM) bom2part $^ >$@ || \ |
| 17 | { rm -f $@; exit 1; } |
| 18 | |
| 19 | show: usb_jtag.ord $(DSC) |
| 20 | grep -vw USB_JTAG $< | $(BOOM) prettyord -t - $(DSC) | \ |
| 21 | sed 's/^... //' |
| 22 | |
| 23 | clean: |
| 24 | rm -f usb_jtag.par usb_jtag.ord |
| 25 |
Branches:
master
