obj-m += nvdebug.o nvdebug-objs = runlist_procfs.o device_info_procfs.o runlist.o mmu.o \ nvdebug_entry.o bus.o nvdebug_linux.o copy_topology_procfs.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 all: make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules clean: make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean