aboutsummaryrefslogtreecommitdiffstats
path: root/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1231-drm-amd-backport-fix-out-of-tree-build.patch
blob: 4d8dc380c7ef3eac7bbffd032d7c66395dd90522 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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