]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
drm/amdxcp: fix Makefile to build amdxcp module
authorBob Zhou <bob.zhou@amd.com>
Tue, 30 May 2023 06:48:02 +0000 (14:48 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 16:32:53 +0000 (12:32 -0400)
After drm conduct amdgpu Makefile, amdgpu.ko has been created
and "amdgpu-y +=" in amdxcp Makefile isn't used.
So modify amdgpu-y to amdxcp-y and build amdxcp module.

Signed-off-by: Bob Zhou <bob.zhou@amd.com>
Reviewed-by: James Zhu <James.Zhu@amd.com>
Reviewed-by: Guchun Chen <guchun.chen@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdxcp/Makefile

index 5e1bd70748d460028bc20ea56617d21aa6c0c7f4..870501a4bb8c044a2e57dd1bf96bc9f3473128bb 100644 (file)
@@ -20,6 +20,6 @@
 # OTHER DEALINGS IN THE SOFTWARE.
 #
 
-amdgpu-y := amdgpu_xcp_drv.o
+amdxcp-y := amdgpu_xcp_drv.o
 
-obj-$(CONFIG_DRM_AMDGPU) += amdgpu_xcp_drv.o
+obj-$(CONFIG_DRM_AMDGPU) += amdxcp.o