aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..cc14996
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,13 @@
1obj-m += nvdebug.o
2
3# TODO: Avoid needing to distribute NVIDIA's headers (at least they're MIT...)
4#ccflags-y += -I$(PWD)/include
5ccflags-y += -I/playpen/Linux_for_Tegra/source/public/kernel/nvgpu/drivers/gpu/nvgpu/include
6ccflags-y += -I/playpen/Linux_for_Tegra/source/public/kernel/nvgpu/drivers/gpu/nvgpu
7ccflags-y += -I/playpen/Linux_for_Tegra/source/public/kernel/nvgpu/include
8ccflags-y += -I/playpen/Linux_for_Tegra/source/public/kernel/nvgpu/include/uapi
9
10all:
11 make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
12clean:
13 make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean