diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 13 |
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 @@ | |||
| 1 | obj-m += nvdebug.o | ||
| 2 | |||
| 3 | # TODO: Avoid needing to distribute NVIDIA's headers (at least they're MIT...) | ||
| 4 | #ccflags-y += -I$(PWD)/include | ||
| 5 | ccflags-y += -I/playpen/Linux_for_Tegra/source/public/kernel/nvgpu/drivers/gpu/nvgpu/include | ||
| 6 | ccflags-y += -I/playpen/Linux_for_Tegra/source/public/kernel/nvgpu/drivers/gpu/nvgpu | ||
| 7 | ccflags-y += -I/playpen/Linux_for_Tegra/source/public/kernel/nvgpu/include | ||
| 8 | ccflags-y += -I/playpen/Linux_for_Tegra/source/public/kernel/nvgpu/include/uapi | ||
| 9 | |||
| 10 | all: | ||
| 11 | make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules | ||
| 12 | clean: | ||
| 13 | make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean | ||
