diff options
| author | Joshua Bakita <bakitajoshua@gmail.com> | 2023-06-22 12:52:59 -0400 |
|---|---|---|
| committer | Joshua Bakita <bakitajoshua@gmail.com> | 2023-06-22 12:52:59 -0400 |
| commit | 306a03d18b305e4e573be3b2931978fa10679eb9 (patch) | |
| tree | 349570dfbe5f531e903c949c3f663627ee1097a8 /Makefile | |
| parent | f4b83713672acaf88a526b930b8e417453f6edc5 (diff) | |
Quick dump of current state for Ben to review.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
| @@ -1,13 +1,14 @@ | |||
| 1 | obj-m += nvdebug.o | 1 | obj-m += nvdebug.o |
| 2 | nvdebug-objs = runlist_procfs.o runlist.o nvdebug_entry.o | 2 | nvdebug-objs = runlist_procfs.o device_info_procfs.o runlist.o mmu.o nvdebug_entry.o |
| 3 | KBUILD_CFLAGS += -DGIT_HASH=\"$(shell git --git-dir=$(PWD)/.git rev-parse --short HEAD)\" | 3 | KBUILD_CFLAGS += -DGIT_HASH=\"$(shell git --git-dir=$(PWD)/.git rev-parse --short HEAD)\" |
| 4 | # -mfentry above if not building due to mcount missing | ||
| 4 | 5 | ||
| 5 | # TODO: Avoid needing to distribute NVIDIA's headers (at least they're MIT...) | 6 | # TODO: Avoid needing to distribute NVIDIA's headers (at least they're MIT...) |
| 6 | #ccflags-y += -I$(PWD)/include | 7 | ccflags-y += -I$(PWD)/include |
| 7 | ccflags-y += -I/playpen/Linux_for_Tegra/source/public/kernel/nvgpu/drivers/gpu/nvgpu/include | 8 | #ccflags-y += -I/playpen/Linux_for_Tegra/source/public/kernel/nvgpu/drivers/gpu/nvgpu/include |
| 8 | ccflags-y += -I/playpen/Linux_for_Tegra/source/public/kernel/nvgpu/drivers/gpu/nvgpu | 9 | #ccflags-y += -I/playpen/Linux_for_Tegra/source/public/kernel/nvgpu/drivers/gpu/nvgpu |
| 9 | ccflags-y += -I/playpen/Linux_for_Tegra/source/public/kernel/nvgpu/include | 10 | #ccflags-y += -I/playpen/Linux_for_Tegra/source/public/kernel/nvgpu/include |
| 10 | ccflags-y += -I/playpen/Linux_for_Tegra/source/public/kernel/nvgpu/include/uapi | 11 | #ccflags-y += -I/playpen/Linux_for_Tegra/source/public/kernel/nvgpu/include/uapi |
| 11 | 12 | ||
| 12 | all: | 13 | all: |
| 13 | make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules | 14 | make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules |
