move common files to common subdir
[raggedstone] / common / Makefile.common
index 51494f98fce9a90a0db6be70b2e7d85e5f7cf854..c275a06eed175ba6ad5463da6fd24862609b73c4 100644 (file)
@@ -54,12 +54,12 @@ burn: $(PROJECT).bit
        xc3sprog $(PROJECT).bit
 
 load: $(PROJECT).bit
-       @sed -e "s|%CABLE%|$(CABLE)|g" xc3s1500.batch >xc3s1500.batch.tmp
+       @sed -e "s|%CABLE%|$(CABLE)|g" -e "s|%PROJECT%|$(PROJECT)|g" ../common/xc3s1500.batch >xc3s1500.batch.tmp
        impact -batch xc3s1500.batch.tmp
        @rm xc3s1500.batch.tmp
 
 flash: $(PROJECT)-xcf02s.mcs $(PROJECT)-xcf04s.mcs
-       @sed -e "s|%CABLE%|$(CABLE)|g" xcf.batch >xcf.batch.tmp
+       @sed -e "s|%CABLE%|$(CABLE)|g" -e "s|%PROJECT%|$(PROJECT)|g" ../common/xcf.batch >xcf.batch.tmp
        impact -batch xcf.batch.tmp
        @rm xcf.batch.tmp
 
Impressum, Datenschutz