drm/amd/display: Skip entire amdgpu_dm build if !CONFIG_DRM_AMD_DC
authorHarry Wentland <harry.wentland@amd.com>
Wed, 26 Oct 2022 18:08:31 +0000 (14:08 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 28 Sep 2023 19:35:48 +0000 (15:35 -0400)
commit1b097bcd224e76807b66ef32cee76a3e87271a2b
tree4e76dcc32ddb9dc25a343a5791529fef4bf6b19f
parent3657a1d5ac8f2072c5d838216d4394a039ca2a17
drm/amd/display: Skip entire amdgpu_dm build if !CONFIG_DRM_AMD_DC

[WHY]
Previously this only excluded build for a few amdgpu_dm
binaries which makes no sense.

[HOW]
Wrap the entire Makefile in "ifneq ($(CONFIG_DRM_AMD_DC),)"

Reviewed-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/Makefile