diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -24,6 +24,8 @@ asm.stamp:fit.stamp tools/wrap quartus_asm --read_settings_files=off --write_settings_files=off pong3 -c pong3 touch $@ +${SOF}:asm.stamp + fit.stamp: ans.stamp tools/wrap quartus_fit --read_settings_files=off --write_settings_files=off pong3 -c pong3 touch $@ @@ -37,10 +39,12 @@ ${SOPC_FILE}:ans.stamp source.stamp:${SRC} touch source.stamp -elf.stamp: src/Makefile +${ELF}: src/Makefile tools/wrap make -C src - touch $@ +elf.stamp:${ELF} + touch $@ + src/Makefile: bsp.stamp tools/wrap nios2-app-generate-makefile --bsp-dir bsp --src-rdir src --app-dir src --elf-name ${PROJ}.elf @@ -53,7 +57,6 @@ bsp.stamp:${SOPC_FILE} load_elf.stamp:${ELF} load_sof.stamp tools/wrap nios2-download ${ELF} -g - touch $@ load_sof.stamp: ${SOF} tools/wrap quartus_pgm -m JTAG -o "p;${SOF}" |