diff options
author | James <james.mckenzie@citrix.com> | 2013-10-12 13:27:36 +0100 |
---|---|---|
committer | James <james.mckenzie@citrix.com> | 2013-10-12 13:27:36 +0100 |
commit | bebd13aa0647d237e1c55a4e1338b87361674922 (patch) | |
tree | f7c8d22ae00d444ed73deeb32fdb70955e5f9ea3 | |
parent | 3b3237c2ba1bb29f7d43fda9fdbc08bd0c32e5f9 (diff) | |
download | pong-bebd13aa0647d237e1c55a4e1338b87361674922.tar.gz pong-bebd13aa0647d237e1c55a4e1338b87361674922.tar.bz2 pong-bebd13aa0647d237e1c55a4e1338b87361674922.zip |
fish
-rw-r--r-- | .gitignore | 36 | ||||
-rw-r--r-- | Makefile | 9 |
2 files changed, 19 insertions, 26 deletions
@@ -1,36 +1,26 @@ db -pong3.qws +incremental_db +*.qws *.rpt *.bak *.pof *.sof -incremental_db -my_sys.sopcinfo *.done *.fit.summary *.jdi *.map.summary *.sta.summary +my_sys.sopcinfo script/ -software/.metadata/ -software/pong3/obj/ *~ -*.elf -*.map -*.objdump -HAL/ -alt_sys_init.c -drivers/ -libhal_bsp.a -linker.h -linker.x -mem_init.mk -memory.gdb -obj/ -public.mk -summary.html -system.h +src/pong3.elf +src/pong3.objdump +src/pong3.map +bsp *.swp -software/elf.flash -software/sof.flash - +elf.flash +sof.flash +*.stamp +src/Makefile +src/obj +*.pin @@ -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}" |