Files
linux-nv-oot/drivers/gpu/drm/tegra/Makefile
Thierry Reding 65450ce220 drm/tegra: Fix standalone build
To facilitate building the module standalone, set the srctree.host1x
variable to a default value.

Bug 200768479

Signed-off-by: Thierry Reding <treding@nvidia.com>
Change-Id: I7658a7f493d3b9791e68300cfc0ba864381671e0
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2596397
(cherry picked from commit e2a7e1400416480939e47b85e2353409ca7f7097)`
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2620151
Tested-by: Jonathan Hunter <jonathanh@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
Reviewed-by: svc_kernel_abi <svc_kernel_abi@nvidia.com>
Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
2023-04-03 09:18:59 +00:00

37 lines
624 B
Makefile

# SPDX-License-Identifier: GPL-2.0
srctree.tegra-drm := $(shell dirname $(abspath $(lastword $(MAKEFILE_LIST))))
srctree.host1x := $(abspath $(srctree.tegra-drm)/../../host1x)
ccflags-$(CONFIG_DRM_TEGRA_DEBUG) += -DDEBUG
ccflags-y += -I$(srctree.tegra-drm)/include
ccflags-y += -I$(srctree.host1x)/include
tegra-drm-next-y := \
drm.o \
uapi/uapi.o \
uapi/submit.o \
uapi/firewall.o \
uapi/gather_bo.o \
gem.o \
fb.o \
dp.o \
hub.o \
plane.o \
dc.o \
output.o \
rgb.o \
hda.o \
hdmi.o \
mipi-phy.o \
dsi.o \
sor.o \
dpaux.o \
gr2d.o \
gr3d.o \
falcon.o \
vic.o \
nvdec.o
obj-m := tegra-drm-next.o