summaryrefslogtreecommitdiffstats
path: root/userspace/units/Makefile.units
diff options
context:
space:
mode:
authorAlex Waterman <alexw@nvidia.com>2018-06-27 17:45:16 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-08-10 02:11:13 -0400
commit98d092e73679be792f99bb6debb9ecffbf403987 (patch)
treee0c62a10f2ecc55a7d887833bcb1aaada5b5eec6 /userspace/units/Makefile.units
parent70915d8d604965fddf79cb68c0de5b32ed2ab104 (diff)
gpu: nvgpu: unit: Add test unit module
Add a super simple tiny test unit module to test the unit test framework. This unit test has a test that deliberately fails so it obviously cannot be part of a real unit test run. Eventually this will have to be removed or otherwise skipped. JIRA NVGPU-525 Change-Id: I41532a85156445a778897bbc84bb5919deab56ae Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1687095 GVS: Gerrit_Virtual_Submit Reviewed-by: Konsta Holtta <kholtta@nvidia.com> Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'userspace/units/Makefile.units')
-rw-r--r--userspace/units/Makefile.units2
1 files changed, 1 insertions, 1 deletions
diff --git a/userspace/units/Makefile.units b/userspace/units/Makefile.units
index 64b9e07d..9ba3111d 100644
--- a/userspace/units/Makefile.units
+++ b/userspace/units/Makefile.units
@@ -37,7 +37,7 @@ all: lib$(MODULE).so
37 $(CC) $(CFLAGS) -c -o $@ $< 37 $(CC) $(CFLAGS) -c -o $@ $<
38 38
39lib$(MODULE).so: $(OBJS) 39lib$(MODULE).so: $(OBJS)
40 $(CC) -shared -o $@ $(OBJS) 40 $(CC) -shared -o $@ $(OBJS) $(LIB_PATHS) -lnvgpu_unit
41 @mkdir -p $(UNIT_OUT)/ 41 @mkdir -p $(UNIT_OUT)/
42 @cp $@ $(UNIT_OUT)/ 42 @cp $@ $(UNIT_OUT)/
43 43