summaryrefslogtreecommitdiff
path: root/src/libXNVCtrl/utils.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/libXNVCtrl/utils.mk')
-rw-r--r--src/libXNVCtrl/utils.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libXNVCtrl/utils.mk b/src/libXNVCtrl/utils.mk
index dd68d48..2b15880 100644
--- a/src/libXNVCtrl/utils.mk
+++ b/src/libXNVCtrl/utils.mk
@@ -186,6 +186,8 @@ NV_QUIET_COMMAND_REMOVED_TARGET_PREFIX ?=
NV_GENERATED_HEADERS ?=
+PCIACCESS_CFLAGS ?=
+PCIACCESS_LDFLAGS ?=
##############################################################################
# This makefile uses the $(eval) builtin function, which was added in
@@ -380,6 +382,7 @@ BUILD_OBJECT_LIST_WITH_DIR = \
BUILD_OBJECT_LIST = \
$(call BUILD_OBJECT_LIST_WITH_DIR,$(1),$(OUTPUTDIR))
+$(call BUILD_OBJECT_LIST,nvpci-utils.c): CFLAGS += $(PCIACCESS_CFLAGS)
##############################################################################
# function to generate a list of dependency files from their