]> cvs.zerfleddert.de Git - raggedstone/blobdiff - common/Makefile.common
UseHighz for programming the spartan 3, as programming via parallel cable
[raggedstone] / common / Makefile.common
index ef297fe2e887f4d77baa48b93b726804912b4e92..bbf42182f35c96b6a4e7b16d8c94593f17b364f1 100644 (file)
@@ -7,7 +7,7 @@ CABLE ?= auto
 
 INTSTYLE := silent
 
 
 INTSTYLE := silent
 
-SOURCES := $(shell find . -name "*.v" -or -name "*.vhd" -print)
+SOURCES := $(shell find . -name "*.vhd" -print) $(shell find . -name "*.v" -print)
 PART ?= xc3s1500-fg456-4
 TARGET ?= bit
 CLEANFILES ?=
 PART ?= xc3s1500-fg456-4
 TARGET ?= bit
 CLEANFILES ?=
@@ -73,7 +73,10 @@ load: $(PROJECT).bit
        $(PRELOAD) impact -batch xc3s1500.batch.tmp
        @rm xc3s1500.batch.tmp
 
        $(PRELOAD) impact -batch xc3s1500.batch.tmp
        @rm xc3s1500.batch.tmp
 
-flash: $(PROJECT)-xcf02s.mcs $(PROJECT)-xcf04s.mcs
+flash:
+       @echo "NO"
+
+i-really-want-to-flash: $(PROJECT)-xcf02s.mcs $(PROJECT)-xcf04s.mcs
        @sed -e "s|%CABLE%|$(CABLE)|g" -e "s|%PROJECT%|$(PROJECT)|g" ../common/xcf.batch >xcf.batch.tmp
        $(PRELOAD) impact -batch xcf.batch.tmp
        @rm xcf.batch.tmp
        @sed -e "s|%CABLE%|$(CABLE)|g" -e "s|%PROJECT%|$(PROJECT)|g" ../common/xcf.batch >xcf.batch.tmp
        $(PRELOAD) impact -batch xcf.batch.tmp
        @rm xcf.batch.tmp
@@ -90,4 +93,4 @@ clean:
                build.log \
                $(PROJECT).unroutes *.xml $(CLEANFILES)
 
                build.log \
                $(PROJECT).unroutes *.xml $(CLEANFILES)
 
-.PHONY: all final burn load flash clean xst ngdbuild log analyzer
+.PHONY: all final burn load flash clean xst ngdbuild log analyzer i-really-want-to-flash
Impressum, Datenschutz