From 306a03d18b305e4e573be3b2931978fa10679eb9 Mon Sep 17 00:00:00 2001 From: Joshua Bakita Date: Thu, 22 Jun 2023 12:52:59 -0400 Subject: Quick dump of current state for Ben to review. --- Makefile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 18c07e8..2dc90c7 100644 --- a/Makefile +++ b/Makefile @@ -1,13 +1,14 @@ obj-m += nvdebug.o -nvdebug-objs = runlist_procfs.o runlist.o nvdebug_entry.o +nvdebug-objs = runlist_procfs.o device_info_procfs.o runlist.o mmu.o nvdebug_entry.o KBUILD_CFLAGS += -DGIT_HASH=\"$(shell git --git-dir=$(PWD)/.git rev-parse --short HEAD)\" +# -mfentry above if not building due to mcount missing # TODO: Avoid needing to distribute NVIDIA's headers (at least they're MIT...) -#ccflags-y += -I$(PWD)/include -ccflags-y += -I/playpen/Linux_for_Tegra/source/public/kernel/nvgpu/drivers/gpu/nvgpu/include -ccflags-y += -I/playpen/Linux_for_Tegra/source/public/kernel/nvgpu/drivers/gpu/nvgpu -ccflags-y += -I/playpen/Linux_for_Tegra/source/public/kernel/nvgpu/include -ccflags-y += -I/playpen/Linux_for_Tegra/source/public/kernel/nvgpu/include/uapi +ccflags-y += -I$(PWD)/include +#ccflags-y += -I/playpen/Linux_for_Tegra/source/public/kernel/nvgpu/drivers/gpu/nvgpu/include +#ccflags-y += -I/playpen/Linux_for_Tegra/source/public/kernel/nvgpu/drivers/gpu/nvgpu +#ccflags-y += -I/playpen/Linux_for_Tegra/source/public/kernel/nvgpu/include +#ccflags-y += -I/playpen/Linux_for_Tegra/source/public/kernel/nvgpu/include/uapi all: make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules -- cgit v1.2.2