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

Subversion Repositories xulalx25soc

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /xulalx25soc
    from Rev 78 to Rev 79
    Reverse comparison

Rev 78 → Rev 79

/trunk/Makefile
1,10 → 1,11
################################################################################
##
## Filename:
## Filename: Makefile
##
## Project: XuLA2 board
##
## Purpose:
## Purpose: A master project makefile. It tries to build all targets
## within the project, mostly by directing subdirectory makes.
##
##
## Creator: Dan Gisselquist, Ph.D.
32,7 → 33,7
##
##
.PHONY: all
all: datestamp verilated bit sw
all: datestamp verilated sw bench bit
# Could also depend upon load, if desired, but not necessary
BENCH := `find bench -name Makefile` `find bench -name "*.cpp"` `find bench -name "*.h"`
RTL := `find rtl -name "*.v"` `find rtl -name Makefile`
40,6 → 41,8
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`
DEVSW := `find sw-board -name "*.cpp"` `find sw-board -name "*.h" \
`find sw-board -name Makefile`
PROJ := xilinx/xula.prj xilinx/xula.xise xilinx/xula.xst \
xilinx/xula.ut xilinx/Makefile
BIN := `find xilinx -name "*.bit"`
48,8 → 51,8
 
.PHONY: datestamp
datestamp:
bash -c 'if [ ! -e $(YYMMDD)-build.v ]; then perl xilinx/mkdatev.pl > $(YYMMDD)-build.v; rm -f rtl/builddate.v; fi'
bash -c 'if [ ! -e rtl/builddate.v ]; then cd rtl; ln -fs ../$(YYMMDD)-build.v builddate.v; fi'
@bash -c 'if [ ! -e $(YYMMDD)-build.v ]; then rm 20??????-build.v; perl xilinx/mkdatev.pl > $(YYMMDD)-build.v; rm -f rtl/builddate.v; fi'
@bash -c 'if [ ! -e rtl/builddate.v ]; then cd rtl; cp ../$(YYMMDD)-build.v builddate.v; fi'
 
.PHONY: archive
archive:
59,6 → 62,10
verilated:
cd rtl ; $(MAKE) --no-print-directory
 
.PHONY: bench
bench:
cd bench ; $(MAKE) --no-print-directory
 
.PHONY: sw
sw:
cd sw ; $(MAKE) --no-print-directory

powered by: WebSVN 2.1.0

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