X-Git-Url: https://rtime.felk.cvut.cz/gitweb/fpga/zynq/canbench-sw.git/blobdiff_plain/33fc4618944d82aa8731ccc916ad758d139960ae..d3d0d4c3304255a9a9079f0edcfd24381422b9b0:/Makefile diff --git a/Makefile b/Makefile index 6339ccf..9347c0a 100644 --- a/Makefile +++ b/Makefile @@ -2,12 +2,24 @@ # 2. peta linux # 3. apps (latester) +TFTPROOT := /tftpboot + system_project: cd system/script && vivado -mode batch -nolog -nojournal -source recreate.tcl -system/system.hdf: +system/system.hdf system/system.bit: cd system/script && vivado -mode batch -nolog -nojournal -source build.tcl +petalinux/bootscript: FORCE + $(MAKE) -C petalinux bootscript +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 + cp -t $(TFTPROOT) $^ petalinux_config: system/system.hdf $(MAKE) -C petalinux config petalinux_build: $(MAKE) -C petalinux build bootscript + +FORCE: