1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-07-01 02:39:49 +03: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:
Werner Almesberger 2010-10-17 00:57:22 -03:00
parent b66b71f560
commit ac7ebdd822
5 changed files with 23 additions and 16 deletions

15
boom/manu/Makefile.common Normal file
View 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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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