gpu: nvgpu: fix build errors in userspace make

Recent patches added new dependency of mock-iospace for FIFO unit tests.
However, mock-iospace binaries are generated after compiling FIFO UTs.
This leads to "cannot find -lmock-iospace" errors. This patch moves
mock-iospace compilation before FIFO UTs.

Jira NVGPU-4675

Change-Id: Ice2dc42412e06cc9e41b31bc852c220b09974ae2
Signed-off-by: Vedashree Vidwans <vvidwans@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2265396
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Vedashree Vidwans
2019-12-18 23:10:57 -08:00
committed by Alex Waterman
parent 5e9bdbc80d
commit 7dd618980a

View File

@@ -89,6 +89,7 @@ UNITS := \
$(UNIT_SRC)/netlist \ $(UNIT_SRC)/netlist \
$(UNIT_SRC)/fb \ $(UNIT_SRC)/fb \
$(UNIT_SRC)/fbp \ $(UNIT_SRC)/fbp \
$(UNIT_SRC)/mock-iospace \
$(UNIT_SRC)/fifo \ $(UNIT_SRC)/fifo \
$(UNIT_SRC)/fifo/fifo/gk20a \ $(UNIT_SRC)/fifo/fifo/gk20a \
$(UNIT_SRC)/fifo/fifo/gv11b \ $(UNIT_SRC)/fifo/fifo/gv11b \
@@ -136,5 +137,4 @@ UNITS := \
$(UNIT_SRC)/acr \ $(UNIT_SRC)/acr \
$(UNIT_SRC)/ce \ $(UNIT_SRC)/ce \
$(UNIT_SRC)/cg \ $(UNIT_SRC)/cg \
$(UNIT_SRC)/sync \ $(UNIT_SRC)/sync
$(UNIT_SRC)/mock-iospace