mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-29 14:17:30 +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
|
NAME = murata
|
||||||
|
include ../Makefile.common
|
||||||
murata.chr: ../../dist/all.equ murata.gen
|
|
||||||
$(BOOM) gen2chr MURATA $^ >$@ || { rm -rf $@; exit 1; }
|
|
||||||
|
@ -1,4 +1,2 @@
|
|||||||
BOOM=PATH=/home/moko/svn.openmoko.org/trunk/eda/boom:../boom:$$PATH boom
|
NAME = panasonic
|
||||||
|
include ../Makefile.common
|
||||||
panasonic.chr: ../../dist/all.equ panasonic.gen
|
|
||||||
$(BOOM) gen2chr PANASONIC $^ >$@ || { rm -rf $@; exit 1; }
|
|
||||||
|
@ -1,4 +1,2 @@
|
|||||||
BOOM=PATH=/home/moko/svn.openmoko.org/trunk/eda/boom:../boom:$$PATH boom
|
NAME = stackpole
|
||||||
|
include ../Makefile.common
|
||||||
stackpole.chr: ../../dist/all.equ stackpole.gen
|
|
||||||
$(BOOM) gen2chr STACKPOLE $^ >$@ || { rm -rf $@; exit 1; }
|
|
||||||
|
@ -1,4 +1,2 @@
|
|||||||
BOOM=PATH=/home/moko/svn.openmoko.org/trunk/eda/boom:../boom:$$PATH boom
|
NAME = yageo
|
||||||
|
include ../Makefile.common
|
||||||
yageo.chr: ../../dist/all.equ yageo.gen
|
|
||||||
$(BOOM) gen2chr YAGEO $^ >$@ || { rm -rf $@; exit 1; }
|
|
||||||
|
Loading…
Reference in New Issue
Block a user