mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
gpu: nvgpu: use $(srctree) properly in makefile
Fix include paths for kernel 4.9 and clean up some unnecessary ones. Bug 1853519 Change-Id: Ic9dc865654e593f4ed92e88863bca87d850aab3c Signed-off-by: Konsta Holtta <kholtta@nvidia.com> Reviewed-on: http://git-master/r/1321226 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
946f1e6359
commit
0742f4e703
@@ -1,11 +1,11 @@
|
||||
GCOV_PROFILE := y
|
||||
|
||||
ccflags-y += -Idrivers/gpu/nvgpu/include
|
||||
ccflags-y += -Idrivers/video/tegra/host
|
||||
ccflags-y += -Idrivers/devfreq
|
||||
ccflags-y += -I../nvgpu/include
|
||||
ccflags-y += -I../nvgpu/include/uapi
|
||||
ccflags-y += -I../nvgpu/drivers/gpu/nvgpu/include
|
||||
ccflags-y += -I$(srctree)/../nvgpu/drivers/gpu/nvgpu/include
|
||||
ccflags-y += -I$(srctree)/../nvgpu/include
|
||||
ccflags-y += -I$(srctree)/../nvgpu/include/uapi
|
||||
|
||||
ccflags-y += -I$(srctree)/drivers/devfreq
|
||||
|
||||
ccflags-y += -Wno-multichar
|
||||
ccflags-y += -Werror
|
||||
ccflags-y += -Wno-error=cpp
|
||||
@@ -14,7 +14,6 @@ ccflags-y += -Wextra -Wno-unused-parameter -Wno-missing-field-initializers
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_TEGRA_19x_GPU),y)
|
||||
ccflags-y += -I$(srctree)/../nvgpu/drivers/gpu/nvgpu/include
|
||||
ccflags-y += -I$(srctree)/../nvgpu-t19x/drivers/gpu/nvgpu
|
||||
ccflags-y += -I$(srctree)/../nvgpu-t19x/drivers/gpu/nvgpu/include
|
||||
ccflags-y += -I$(srctree)/../nvgpu-t19x/include
|
||||
|
||||
Reference in New Issue
Block a user