From db2ecbf620fc5420eda92fa98f5875636358284c Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Sun, 17 Oct 2010 01:36:02 -0300 Subject: [PATCH] Makefile (CHR): generate from list of manufacturer names --- boom/Makefile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/boom/Makefile b/boom/Makefile index 58d14fb..395960b 100644 --- a/boom/Makefile +++ b/boom/Makefile @@ -2,15 +2,13 @@ BOOM=PATH=/home/moko/svn.openmoko.org/trunk/eda/boom:../boom:$$PATH boom KITS = 1 +DIST = dk +MANU = murata panasonic stackpole yageo + EQU = dist/all.equ INV = dist/all.inv DSC = dist/all.dsc -CHR = manu/murata/murata.chr \ - manu/panasonic/panasonic.chr \ - manu/stackpole/stackpole.chr \ - manu/yageo/yageo.chr - -DIST = dk +CHR = $(foreach m,$(MANU),manu/$(m)/$(m).chr) DB = $(EQU) $(INV) $(DSC) $(CHR) \ $(DIST:%=dist/%/db/*.equ) \