aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 5d611770b7af378a861b1ac4962f2adf1facde69 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
obj-m += nvdebug.o
nvdebug-objs = runlist_procfs.o runlist.o nvdebug_entry.o

# 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