diff options
Diffstat (limited to 'common/recipes-kernel/linux/files/0003-drm-amdgpu-use-src-in-Makefile-v2.patch')
-rw-r--r-- | common/recipes-kernel/linux/files/0003-drm-amdgpu-use-src-in-Makefile-v2.patch | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/common/recipes-kernel/linux/files/0003-drm-amdgpu-use-src-in-Makefile-v2.patch b/common/recipes-kernel/linux/files/0003-drm-amdgpu-use-src-in-Makefile-v2.patch deleted file mode 100644 index 57182375..00000000 --- a/common/recipes-kernel/linux/files/0003-drm-amdgpu-use-src-in-Makefile-v2.patch +++ /dev/null @@ -1,40 +0,0 @@ -From 5275bdcecdd42926a65d16ad29b48414af476b46 Mon Sep 17 00:00:00 2001 -From: Jammy Zhou <Jammy.Zhou@amd.com> -Date: Tue, 24 Nov 2015 16:55:20 +0800 -Subject: [PATCH 0003/1110] drm/amdgpu: use $(src) in Makefile (v2) - -This can solve the path problem when compile amdgpu with DKMS. - -v2: agd: rebase on current drm-next - -Signed-off-by: Jammy Zhou <Jammy.Zhou@amd.com> -Acked-by: Alex Deucher <alexander.deucher@amd.com> -Signed-off-by: Alex Deucher <alexander.deucher@amd.com> ---- - drivers/gpu/drm/amd/amdgpu/Makefile | 10 ++++++---- - 1 file changed, 6 insertions(+), 4 deletions(-) - -diff --git a/drivers/gpu/drm/amd/amdgpu/Makefile b/drivers/gpu/drm/amd/amdgpu/Makefile -index ca06601..178fa15 100644 ---- a/drivers/gpu/drm/amd/amdgpu/Makefile -+++ b/drivers/gpu/drm/amd/amdgpu/Makefile -@@ -2,10 +2,12 @@ - # Makefile for the drm device driver. This driver provides support for the - # Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher. - --ccflags-y := -Iinclude/drm -Idrivers/gpu/drm/amd/include/asic_reg \ -- -Idrivers/gpu/drm/amd/include \ -- -Idrivers/gpu/drm/amd/amdgpu \ -- -Idrivers/gpu/drm/amd/scheduler -+FULL_AMD_PATH=$(src)/.. -+ -+ccflags-y := -Iinclude/drm -I$(FULL_AMD_PATH)/include/asic_reg \ -+ -I$(FULL_AMD_PATH)/include \ -+ -I$(FULL_AMD_PATH)/amdgpu \ -+ -I$(FULL_AMD_PATH)/scheduler - - amdgpu-y := amdgpu_drv.o - --- -2.7.4 - |