mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-11-22 18:50:37 +02:00
850e9fca29
- bom/Makefile (atusd.ord, atusd.par): rm -r in case of failure is enough (reported by Wolfgang Spraul)
44 lines
1001 B
Makefile
44 lines
1001 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=$(shell $(BOOM_CONFIG) chr)
|
|
|
|
|
|
.PHONY: all again show-atusd spotless
|
|
|
|
all: atusd.ord
|
|
|
|
again:
|
|
$(MAKE) spotless
|
|
$(MAKE) all
|
|
|
|
atusd.ord: atusd.par $(INV) $(EQU)
|
|
$(BOOM) part2order $(KITS) $(INV) $(EQU) atusd.par >$@ || \
|
|
{ rm -f $@; exit 1; }
|
|
|
|
atusd.par: $(EQU) $(INV) $(CHR) ../atusd/atusd.lst atrf.sub
|
|
$(BOOM) bom2part $(EQU) $(INV) $(CHR) \
|
|
../atusd/atusd.lst atrf.sub \
|
|
>$@ || { 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-atusd: atusd.ord $(DSC)
|
|
grep -vw ATRF atusd.ord | $(BOOM) prettyord -t - $(DSC) | \
|
|
sed 's/^... //'
|
|
|
|
spotless:
|
|
$(MAKE) -C dk spotless
|
|
rm -f atusd.par atusd.ord
|