T. Meissner 2 weeks ago
parent
commit
2ec21b0e31
1 changed files with 22 additions and 20 deletions
  1. 22
    20
      test/Makefile

+ 22
- 20
test/Makefile View File

@@ -1,7 +1,26 @@
1 1
 SIM_SRC := ../sim
2 2
 SYN_SRC := ../syn
3 3
 CMN_SRC := ../common
4
-OSVVM_SRC := ../lib/OSVVM
4
+OSVVM_DIR := ../lib/OSVVM
5
+OSVVM_SRC := \
6
+  $(OSVVM_DIR)/NamePkg.vhd \
7
+  $(OSVVM_DIR)/OsvvmGlobalPkg.vhd \
8
+  $(OSVVM_DIR)/VendorCovApiPkg.vhd \
9
+  $(OSVVM_DIR)/TranscriptPkg.vhd \
10
+  $(OSVVM_DIR)/TextUtilPkg.vhd \
11
+  $(OSVVM_DIR)/AlertLogPkg.vhd \
12
+  $(OSVVM_DIR)/MessagePkg.vhd \
13
+  $(OSVVM_DIR)/SortListPkg_int.vhd \
14
+  $(OSVVM_DIR)/RandomBasePkg.vhd \
15
+  $(OSVVM_DIR)/RandomPkg.vhd \
16
+  $(OSVVM_DIR)/CoveragePkg.vhd \
17
+  $(OSVVM_DIR)/MemoryPkg.vhd \
18
+  $(OSVVM_DIR)/ScoreboardGenericPkg.vhd \
19
+  $(OSVVM_DIR)/ScoreboardPkg_slv.vhd \
20
+  $(OSVVM_DIR)/ScoreboardPkg_int.vhd \
21
+  $(OSVVM_DIR)/ResolutionPkg.vhd \
22
+  $(OSVVM_DIR)/TbUtilPkg.vhd \
23
+  $(OSVVM_DIR)/OsvvmContext.vhd
5 24
 VHD08_SRC := vhdl_2008
6 25
 VHD_STD := 08
7 26
 
@@ -10,25 +29,8 @@ VHD_STD := 08
10 29
 all: queue dict stack sim wishbone uart
11 30
 
12 31
 
13
-OsvvmContext.o: $(OSVVM_SRC)/*.vhd
14
-	ghdl -a --std=$(VHD_STD) --work=osvvm $(OSVVM_SRC)/NamePkg.vhd
15
-	ghdl -a --std=$(VHD_STD) --work=osvvm $(OSVVM_SRC)/OsvvmGlobalPkg.vhd
16
-	ghdl -a --std=$(VHD_STD) --work=osvvm $(OSVVM_SRC)/VendorCovApiPkg.vhd
17
-	ghdl -a --std=$(VHD_STD) --work=osvvm $(OSVVM_SRC)/TranscriptPkg.vhd
18
-	ghdl -a --std=$(VHD_STD) --work=osvvm $(OSVVM_SRC)/TextUtilPkg.vhd
19
-	ghdl -a --std=$(VHD_STD) --work=osvvm $(OSVVM_SRC)/AlertLogPkg.vhd
20
-	ghdl -a --std=$(VHD_STD) --work=osvvm $(OSVVM_SRC)/MessagePkg.vhd
21
-	ghdl -a --std=$(VHD_STD) --work=osvvm $(OSVVM_SRC)/SortListPkg_int.vhd
22
-	ghdl -a --std=$(VHD_STD) --work=osvvm $(OSVVM_SRC)/RandomBasePkg.vhd
23
-	ghdl -a --std=$(VHD_STD) --work=osvvm $(OSVVM_SRC)/RandomPkg.vhd
24
-	ghdl -a --std=$(VHD_STD) --work=osvvm $(OSVVM_SRC)/CoveragePkg.vhd
25
-	ghdl -a --std=$(VHD_STD) --work=osvvm $(OSVVM_SRC)/MemoryPkg.vhd
26
-	ghdl -a --std=$(VHD_STD) --work=osvvm $(OSVVM_SRC)/ScoreboardGenericPkg.vhd
27
-	ghdl -a --std=$(VHD_STD) --work=osvvm $(OSVVM_SRC)/ScoreboardPkg_slv.vhd
28
-	ghdl -a --std=$(VHD_STD) --work=osvvm $(OSVVM_SRC)/ScoreboardPkg_int.vhd
29
-	ghdl -a --std=$(VHD_STD) --work=osvvm $(OSVVM_SRC)/ResolutionPkg.vhd
30
-	ghdl -a --std=$(VHD_STD) --work=osvvm $(OSVVM_SRC)/TbUtilPkg.vhd
31
-	ghdl -a --std=$(VHD_STD) --work=osvvm $(OSVVM_SRC)/OsvvmContext.vhd
32
+OsvvmContext.o: $(OSVVM_SRC)
33
+	ghdl -a --std=$(VHD_STD) --work=osvvm -Wno-hide $(OSVVM_SRC)
32 34
 
33 35
 
34 36
 UtilsP.o: $(CMN_SRC)/UtilsP.vhd