aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/linux-yocto-4.14.71/1231-drm-amd-backport-fix-out-of-tree-build.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/1231-drm-amd-backport-fix-out-of-tree-build.patch')
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.14.71/1231-drm-amd-backport-fix-out-of-tree-build.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/1231-drm-amd-backport-fix-out-of-tree-build.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/1231-drm-amd-backport-fix-out-of-tree-build.patch
new file mode 100644
index 00000000..4d8dc380
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/1231-drm-amd-backport-fix-out-of-tree-build.patch
@@ -0,0 +1,26 @@
+From d4361638ac44ed0c4b0aacadf007c25f177bd387 Mon Sep 17 00:00:00 2001
+From: Qiang Yu <Qiang.Yu@amd.com>
+Date: Fri, 16 Dec 2016 19:41:45 +0800
+Subject: [PATCH 1231/4131] drm/amd/backport: fix out-of-tree build
+
+Change-Id: Id53ac27979d3cd4bb32738e941d01e9a1fb30803
+Signed-off-by: Qiang Yu <Qiang.Yu@amd.com>
+Verified-by: Kent Russell <Kent.Russell@amd.com>
+---
+ drivers/gpu/drm/amd/amdkfd/backport/Makefile | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/drivers/gpu/drm/amd/amdkfd/backport/Makefile b/drivers/gpu/drm/amd/amdkfd/backport/Makefile
+index 3fc650a..6a3845e 100644
+--- a/drivers/gpu/drm/amd/amdkfd/backport/Makefile
++++ b/drivers/gpu/drm/amd/amdkfd/backport/Makefile
+@@ -3,4 +3,5 @@
+ LINUXINCLUDE := $(DKMS_INCLUDE_PREFIX) $(LINUXINCLUDE)
+
+ ccflags-y += \
+- -include $(AMDKFD_FULL_PATH)/backport/backport.h
++ -I$(AMDKFD_FULL_PATH) \
++ -include backport/backport.h
+--
+2.7.4
+