Commit 4586b67b authored by Andrey Filippov's avatar Andrey Filippov

converted to a Makefile project

parent b4eb8e56
......@@ -30,4 +30,7 @@ cocotb/Makefile
cocotb/sim_build
cocotb/results.xml
*.directory
/html.tar.gz
html.tar.gz
bitbake-logs
sysroots
include $(AXIS_TOP_DIR)/tools/build/Rules.axis
VERILOGDIR= $(DESTDIR)/usr/local/verilog
#INSTALLDIR= $(DESTDIR)/usr/local/bin
DOCUMENTROOT= $(DESTDIR)/www/pages
TESTSCRIPTS = $(DOCUMENTROOT)/359
OWN = -o root -g root
DOCUMENTROOT = $(prefix)/usr/html
TESTSCRIPTS = $(DOCUMENTROOT)/359
INCLUDES = $(prefix)/usr/html/includes
INSTDOCS = 0644
INSTMODE = 0755
DOCMODE = 0644
FPGA_BITFILES = x359.bit
PHPSCRIPTS= test_scripts/10359_controls.html \
test_scripts/10359_mem_test.php \
test_scripts/10359_modes.php \
test_scripts/10359_mem_test.php \
test_scripts/10359_modes.php \
test_scripts/phases_adjust.php \
test_scripts/reg_read.php \
test_scripts/reg_write.php \
test_scripts/sensors_init.php \
all:
@echo "make all in x359"
install:
@echo "make install in x393sata"
$(INSTALL) $(OWN) -d $(VERILOGDIR)
# $(INSTALL) $(OWN) -d $(INSTALLDIR)
$(INSTALL) $(OWN) -d $(DOCUMENTROOT)
$(INSTALL) $(OWN) -d $(TESTSCRIPTS)
#install files
$(INSTALL) $(OWN) -m $(INSTDOCS) $(PHPSCRIPTS) $(TESTSCRIPTS)
$(INSTALL) $(OWN) -m $(INSTMODE) $(PHPSCRIPTS) $(TESTSCRIPTS)
$(INSTALL) $(OWN) -m $(DOCMODE) $(FPGA_BITFILES) $(VERILOGDIR)
clean:
@echo "make clean in x359"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment