summaryrefslogtreecommitdiffstats
path: root/tools/rmq/Makefile
blob: f58e4d9c3c7b8a0087abc767f1b45abb51b592db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# rmq - RM query tool (userspace RM API client)
#
# Queries the host NVIDIA Resource Manager via /dev/nvidia0 ioctls.
# Used as an "oracle" to extract ground-truth static GPU data (device info
# tables, static config) from the host's real GSP-RM for the GSP-RM emulation
# layer (kernel/gsp_rm_emulation.c).

CC      ?= gcc
CFLAGS  ?= -O2 -Wall

all: rmq

rmq: rmq.c
	$(CC) $(CFLAGS) -o $@ $<

clean:
	rm -f rmq

.PHONY: all clean