]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Skip entire amdgpu_dm build if !CONFIG_DRM_AMD_DC
authorHarry Wentland <harry.wentland@amd.com>
Fri, 1 Dec 2023 13:25:22 +0000 (06:25 -0700)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Dec 2023 20:22:34 +0000 (15:22 -0500)
commit80af8859b46d1fa386871f71bad95db9ff50ad62
tree1ecb4b5c4afc5c66fb1c55d9ecb3fee8b226b16c
parentb6411638c026fde33046f5515a5a7d37af1da146
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),)"

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
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