From a35a89b780c674ff57f90d3e48af7267ceb973c9 Mon Sep 17 00:00:00 2001 From: Nicolas Benech Date: Tue, 22 Jan 2019 11:30:15 -0500 Subject: [PATCH] gpu: nvgpu: add NVGPU_POSIX config in host builds A previous change to re-organize Makefile.sources made use of the NVGPU_POSIX variable which was not defined in the host Makefile and thus caused run issues. This patch adds the missing variable. JIRA NVGPU-1734 Change-Id: I0857204578ff67fa80113c3a40eac13f290dd838 Signed-off-by: Nicolas Benech Reviewed-on: https://git-master.nvidia.com/r/2001062 Reviewed-by: Alex Waterman GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom Reviewed-by: mobile promotions Tested-by: mobile promotions --- userspace/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/userspace/Makefile b/userspace/Makefile index 164befaed..0bf1266bf 100644 --- a/userspace/Makefile +++ b/userspace/Makefile @@ -51,6 +51,9 @@ INCLUDES= \ -I$(TWD)/../include/uapi \ -I$(TWD)/include +# This Makefile is only for host POSIX builds +NVGPU_POSIX=1 + # Linuxy configs. We want these so that we can mirror builds from the actual # Linux kernel. include Makefile.configs