]> rtime.felk.cvut.cz Git - fpga/zynq/canbench-sw.git/blobdiff - Makefile
scripts: include script for applying new FPGA design at runtime.
[fpga/zynq/canbench-sw.git] / Makefile
index 9347c0a650c3dabd9111a203294ffaec49334ec6..de68daf4738d85876337dd4300340bff20818814 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
 # 2. peta linux
 # 3. apps (latester)
 
-TFTPROOT := /tftpboot
+TFTPROOT := /tftpboot/uzedcan
 
 system_project:
        cd system/script && vivado -mode batch -nolog -nojournal -source recreate.tcl
@@ -14,7 +14,8 @@ petalinux/images/linux/BOOT.BIN: FORCE
        $(MAKE) -C petalinux images/linux/BOOT.BIN
 
 .PHONY: dist
-dist: system/system.hdf system/system.bit petalinux/bootscript petalinux/images/linux/BOOT.BIN
+dist: system/system.bit petalinux/bootscript petalinux/images/linux/BOOT.BIN petalinux/images/linux/image.ub petalinux/images/linux/system.dtb
+       $(MAKE) -C petalinux images/linux/image.ub
        cp -t $(TFTPROOT) $^
 
 petalinux_config: system/system.hdf