From d2893430b976e17d69ffca03c7fd18438dca18b6 Mon Sep 17 00:00:00 2001 From: gideonz Date: Sun, 4 Dec 2016 21:53:04 +0000 Subject: [PATCH] Makefiles corrected again, I hope it makes a clean build work out of the box now. --- Makefile | 7 +++++++ tools/Makefile | 10 +++++----- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index a84369a9..5a054094 100755 --- a/Makefile +++ b/Makefile @@ -101,11 +101,18 @@ u2p_tester: @$(MAKE) -C target/software/nios2_dutboot @$(MAKE) -C target/fpga/testdut @$(MAKE) -C target/fpga/testexec + @touch software/nios_dut_bsp/Makefile + @touch software/nios_dut_bsp/public.mk + @touch software/nios_tester_bsp/Makefile + @touch software/nios_tester_bsp/public.mk + @$(MAKE) -C software/nios_dut_bsp + @$(MAKE) -C software/nios_tester_bsp @$(MAKE) -C target/software/nios2_dut @$(MAKE) -C target/software/nios2_tester @$(MAKE) -C target/software/nios2_testloader @$(MAKE) -C target/software/nios2_testflasher @$(MAKE) -C target/tester_package force + @$(MAKE) -C target/tester_package force clean: @$(MAKE) -C tools clean diff --git a/tools/Makefile b/tools/Makefile index f029f81b..5596eebf 100755 --- a/tools/Makefile +++ b/tools/Makefile @@ -19,10 +19,6 @@ CC = gcc @echo $@ @$(CC) $(CFLAGS) $^ -o $(basename $@) -#svf_dump: ../software/application/tester/svf_player.c -# @echo $@ -# @$(CC) ../software/application/tester/svf_player.c $(CFLAGS) -DDUMP -o $(basename $@) - # -------------------------------------------------------------------------- # Binaries @@ -56,4 +52,8 @@ clean: @rm -f svf_dump.exe @rm -f 64tass/64tass @rm -f 64tass/*.o - + +svf_dump: ../software/application/tester/svf_player.c + @echo $@ + @$(CC) ../software/application/tester/svf_player.c $(CFLAGS) -DDUMP -o $(basename $@) +