mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 18:16:01 +03:00
gpu: nvgpu: gp10b: Allow importing makefile via include
Refactor makefiles so that there is one makefile, and that file can be included in the main nvgpu build. Bug 1476801 Change-Id: I23ac451d695fc64064de2300e83b9d9487c52743 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/1028353 Reviewed-by: Konsta Holtta <kholtta@nvidia.com> GVS: Gerrit_Virtual_Submit
This commit is contained in:
committed by
Deepak Nibade
parent
5244299cdf
commit
eada66b2a9
@@ -1,10 +1,27 @@
|
|||||||
GCOV_PROFILE := y
|
nvgpu-t18x := ../../../../kernel-t18x/drivers/gpu/nvgpu
|
||||||
|
|
||||||
ccflags-$(CONFIG_GK20A) += -I$(srctree)/drivers/gpu/nvgpu
|
nvgpu-y += \
|
||||||
ccflags-$(CONFIG_GK20A) += -I$(srctree)/include/linux
|
$(nvgpu-t18x)/gp10b/gr_gp10b.o \
|
||||||
ccflags-$(CONFIG_GK20A) += -I$(srctree)/../kernel-t18x/include
|
$(nvgpu-t18x)/gp10b/gr_ctx_gp10b.o \
|
||||||
ccflags-$(CONFIG_GK20A) += -Wno-multichar
|
$(nvgpu-t18x)/gp10b/ce2_gp10b.o \
|
||||||
ccflags-$(CONFIG_GK20A) += -Werror
|
$(nvgpu-t18x)/gp10b/mc_gp10b.o \
|
||||||
|
$(nvgpu-t18x)/gp10b/fifo_gp10b.o \
|
||||||
|
$(nvgpu-t18x)/gp10b/ltc_gp10b.o \
|
||||||
|
$(nvgpu-t18x)/gp10b/mm_gp10b.o \
|
||||||
|
$(nvgpu-t18x)/gp10b/fb_gp10b.o \
|
||||||
|
$(nvgpu-t18x)/gp10b/pmu_gp10b.o \
|
||||||
|
$(nvgpu-t18x)/gp10b/hal_gp10b.o \
|
||||||
|
$(nvgpu-t18x)/gp10b/rpfb_gp10b.o \
|
||||||
|
$(nvgpu-t18x)/gp10b/gp10b_gating_reglist.o \
|
||||||
|
$(nvgpu-t18x)/gp10b/regops_gp10b.o \
|
||||||
|
$(nvgpu-t18x)/gp10b/cde_gp10b.o \
|
||||||
|
$(nvgpu-t18x)/gp10b/therm_gp10b.o \
|
||||||
|
$(nvgpu-t18x)/gp10b/gp10b_sysfs.o
|
||||||
|
|
||||||
obj-$(CONFIG_GK20A) += gp10b/
|
nvgpu-$(CONFIG_TEGRA_GK20A) += $(nvgpu-t18x)/gp10b/platform_gp10b_tegra.o
|
||||||
obj-$(CONFIG_TEGRA_GR_VIRTUALIZATION) += vgpu/gp10b/
|
|
||||||
|
nvgpu-$(CONFIG_TEGRA_GR_VIRTUALIZATION) += \
|
||||||
|
$(nvgpu-t18x)/vgpu/gp10b/vgpu_hal_gp10b.o \
|
||||||
|
$(nvgpu-t18x)/vgpu/gp10b/vgpu_gr_gp10b.o \
|
||||||
|
$(nvgpu-t18x)/vgpu/gp10b/vgpu_mm_gp10b.o \
|
||||||
|
$(nvgpu-t18x)/vgpu/gp10b/vgpu_fifo_gp10b.o
|
||||||
|
|||||||
@@ -1,31 +0,0 @@
|
|||||||
GCOV_PROFILE := y
|
|
||||||
|
|
||||||
ccflags-$(CONFIG_GK20A) += -I$(srctree)/drivers/gpu/nvgpu
|
|
||||||
ccflags-$(CONFIG_GK20A) += -I$(srctree)/include
|
|
||||||
ccflags-$(CONFIG_GK20A) += -I$(srctree)/drivers/devfreq
|
|
||||||
ccflags-$(CONFIG_GK20A) += -I$(srctree)/../kernel-t18x/drivers/gpu/nvgpu
|
|
||||||
ccflags-$(CONFIG_GK20A) += -I$(srctree)/../kernel-t18x/include
|
|
||||||
ccflags-$(CONFIG_GK20A) += -I$(srctree)/../kernel-t18x/include/uapi
|
|
||||||
|
|
||||||
ccflags-$(CONFIG_GK20A) += -Wno-multichar
|
|
||||||
ccflags-y += -Werror
|
|
||||||
|
|
||||||
obj-$(CONFIG_GK20A) += \
|
|
||||||
gr_gp10b.o \
|
|
||||||
gr_ctx_gp10b.o \
|
|
||||||
ce2_gp10b.o \
|
|
||||||
mc_gp10b.o \
|
|
||||||
fifo_gp10b.o \
|
|
||||||
ltc_gp10b.o \
|
|
||||||
mm_gp10b.o \
|
|
||||||
fb_gp10b.o \
|
|
||||||
pmu_gp10b.o \
|
|
||||||
hal_gp10b.o \
|
|
||||||
rpfb_gp10b.o \
|
|
||||||
gp10b_gating_reglist.o \
|
|
||||||
regops_gp10b.o \
|
|
||||||
cde_gp10b.o \
|
|
||||||
therm_gp10b.o \
|
|
||||||
gp10b_sysfs.o
|
|
||||||
|
|
||||||
obj-$(CONFIG_TEGRA_GK20A) += platform_gp10b_tegra.o
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
GCOV_PROFILE := y
|
|
||||||
|
|
||||||
ccflags-$(CONFIG_GK20A) += -I$(srctree)/drivers/gpu/nvgpu
|
|
||||||
ccflags-$(CONFIG_GK20A) += -I$(srctree)/include
|
|
||||||
ccflags-$(CONFIG_GK20A) += -I$(srctree)/../kernel-t18x/drivers/gpu/nvgpu
|
|
||||||
ccflags-$(CONFIG_GK20A) += -I$(srctree)/../kernel-t18x/include
|
|
||||||
ccflags-$(CONFIG_GK20A) += -I$(srctree)/../kernel-t18x/include/uapi
|
|
||||||
|
|
||||||
ccflags-$(CONFIG_GK20A) += -Wno-multichar
|
|
||||||
ccflags-y += -Werror
|
|
||||||
|
|
||||||
obj-$(CONFIG_GK20A) += \
|
|
||||||
vgpu_hal_gp10b.o \
|
|
||||||
vgpu_gr_gp10b.o \
|
|
||||||
vgpu_mm_gp10b.o \
|
|
||||||
vgpu_fifo_gp10b.o
|
|
||||||
Reference in New Issue
Block a user