mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-25 23:52:51 +02:00
manu/Makefile were highly redundant. Moved their content to a common Makefile.
- boom/manu/Makefile.common: common makefile for all manufacturers - boom/manu/Makefile.common (test): added coverage test mode (gen2chr -n) - murata/Makefile, panasonic/Makefile, stackpole/Makefile, yageo/Makefile: use Makfile.common
This commit is contained in:
parent
b66b71f560
commit
ac7ebdd822
15
boom/manu/Makefile.common
Normal file
15
boom/manu/Makefile.common
Normal file
@ -0,0 +1,15 @@
|
||||
BOOM=PATH=/home/moko/svn.openmoko.org/trunk/eda/boom:../boom:$$PATH boom
|
||||
|
||||
UC_NAME = $(shell echo $(NAME) | tr [a-z] [A-Z])
|
||||
|
||||
EQU = ../../dist/all.equ
|
||||
|
||||
.PHONY: all test
|
||||
|
||||
all: $(NAME).chr
|
||||
|
||||
$(NAME).chr: $(EQU) $(NAME).gen
|
||||
$(BOOM) gen2chr $(UC_NAME) $^ >$@ || { rm -rf $@; exit 1; }
|
||||
|
||||
test:
|
||||
$(BOOM) gen2chr -n $(UC_NAME) $(EQU) $(NAME).gen
|
@ -1,4 +1,2 @@
|
||||
BOOM=PATH=/home/moko/svn.openmoko.org/trunk/eda/boom:../boom:$$PATH boom
|
||||
|
||||
murata.chr: ../../dist/all.equ murata.gen
|
||||
$(BOOM) gen2chr MURATA $^ >$@ || { rm -rf $@; exit 1; }
|
||||
NAME = murata
|
||||
include ../Makefile.common
|
||||
|
@ -1,4 +1,2 @@
|
||||
BOOM=PATH=/home/moko/svn.openmoko.org/trunk/eda/boom:../boom:$$PATH boom
|
||||
|
||||
panasonic.chr: ../../dist/all.equ panasonic.gen
|
||||
$(BOOM) gen2chr PANASONIC $^ >$@ || { rm -rf $@; exit 1; }
|
||||
NAME = panasonic
|
||||
include ../Makefile.common
|
||||
|
@ -1,4 +1,2 @@
|
||||
BOOM=PATH=/home/moko/svn.openmoko.org/trunk/eda/boom:../boom:$$PATH boom
|
||||
|
||||
stackpole.chr: ../../dist/all.equ stackpole.gen
|
||||
$(BOOM) gen2chr STACKPOLE $^ >$@ || { rm -rf $@; exit 1; }
|
||||
NAME = stackpole
|
||||
include ../Makefile.common
|
||||
|
@ -1,4 +1,2 @@
|
||||
BOOM=PATH=/home/moko/svn.openmoko.org/trunk/eda/boom:../boom:$$PATH boom
|
||||
|
||||
yageo.chr: ../../dist/all.equ yageo.gen
|
||||
$(BOOM) gen2chr YAGEO $^ >$@ || { rm -rf $@; exit 1; }
|
||||
NAME = yageo
|
||||
include ../Makefile.common
|
||||
|
Loading…
Reference in New Issue
Block a user