OpenCores
URL https://opencores.org/ocsvn/s6soc/s6soc/trunk

Subversion Repositories s6soc

[/] [s6soc/] [trunk/] [Makefile] - Rev 4

Go to most recent revision | Compare with Previous | Blame | View Log

.PHONY: all
all:    datestamp archive
# BENCH := `find bench -name Makefile` `find bench -name "*.cpp"` `find bench -name "*.h"`
BENCH :=
RTL   := `find rtl -name "*.v"` `find rtl -name Makefile`
NOTES := `find . -name "*.txt"` `find . -name "*.html"`
SW    := `find sw -name "*.cpp"` `find sw -name "*.h"`  \
        `find sw -name "*.sh"` `find sw -name "*.py"`   \
        `find sw -name "*.pl"` `find sw -name Makefile`
# PROJ  := xilinx/xula.prj xilinx/xula.xise xilinx/xula.xst     \
#       xilinx/xula.ut xilinx/Makefile
PROJ    :=
BIN     := `find xilinx -name "*.bit"`
CONSTRAINTS := cmod.ucf
YYMMDD  := `date +%Y%m%d`

datestamp:      $(YYMMDD)-build.v
$(YYMMDD)-build.v:
        -rm -rf 2*-build.v
        perl mkdatev.pl > $(YYMMDD)-build.v
        cd rtl; ln -fs ../$(YYMMDD)-build.v builddate.v

.PHONY: archive
archive:
        tar --transform s,^,$(YYMMDD)-s6/, -chjf $(YYMMDD)-xula.tjz $(BENCH) $(SW) $(RTL) $(NOTES) $(PROJ) $(BIN) $(CONSTRAINTS)

# .PHONY: bit
# bit:
#       cd xilinx ; make xula.bit


Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.