summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/acp
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-03-14 22:27:11 +0100
committerAlex Deucher <alexander.deucher@amd.com>2017-03-14 19:19:44 -0400
commit655d9ca9ac075da1ef2a45012ba48a39f6eb1f58 (patch)
treee45dc19cb821b55c951d9f1d91990045587043e4 /drivers/gpu/drm/amd/acp
parent8c53ad2139137dd4bf506a2c2b888de3816e8f75 (diff)
downloadop-kernel-dev-655d9ca9ac075da1ef2a45012ba48a39f6eb1f58.zip
op-kernel-dev-655d9ca9ac075da1ef2a45012ba48a39f6eb1f58.tar.gz
drm: amd: remove broken include path
The AMD ACP driver adds "-I../acp -I../acp/include" to the gcc command line, which makes no sense, since these are evaluated relative to the build directory. When we build with "make W=1", they instead cause a warning: cc1: error: ../acp/: No such file or directory [-Werror=missing-include-dirs] cc1: error: ../acp/include: No such file or directory [-Werror=missing-include-dirs] cc1: all warnings being treated as errors ../scripts/Makefile.build:289: recipe for target 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.o' failed ../scripts/Makefile.build:289: recipe for target 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.o' failed ../scripts/Makefile.build:289: recipe for target 'drivers/gpu/drm/amd/amdgpu/amdgpu_kms.o' failed This removes the subdir-ccflags variable that evidently did not serve any purpose here. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/acp')
-rw-r--r--drivers/gpu/drm/amd/acp/Makefile2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/acp/Makefile b/drivers/gpu/drm/amd/acp/Makefile
index 8363cb5..8a08e81 100644
--- a/drivers/gpu/drm/amd/acp/Makefile
+++ b/drivers/gpu/drm/amd/acp/Makefile
@@ -3,6 +3,4 @@
# of AMDSOC/AMDGPU drm driver.
# It provides the HW control for ACP related functionalities.
-subdir-ccflags-y += -I$(AMDACPPATH)/ -I$(AMDACPPATH)/include
-
AMD_ACP_FILES := $(AMDACPPATH)/acp_hw.o
OpenPOWER on IntegriCloud