lkml.org 
[lkml]   [2018]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 2/2] drm/amd: Remove inclusion of non-existing include directories
From
Date
Am 22.02.2018 um 09:21 schrieb Corentin Labbe:
> This patch fix the following build warnings:
> CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_drv.o
> cc1: warning: ../display/: No such file or directory [-Wmissing-include-dirs]
> cc1: warning: ../display/include: No such file or directory [-Wmissing-include-dirs]
> CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_device.o
> cc1: warning: ../display/: No such file or directory [-Wmissing-include-dirs]
> cc1: warning: ../display/include: No such file or directory [-Wmissing-include-dirs]
> [...]
> This warning is shown for each file in amdgpu directory, so it spams a lot.
>
> Signed-off-by: Corentin Labbe <clabbe@baylibre.com>

Acked-by: Christian König <christian.koenig@amd.com>

> ---
> drivers/gpu/drm/amd/display/Makefile | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/display/Makefile b/drivers/gpu/drm/amd/display/Makefile
> index c27c81cdeed3..22c72dffdf98 100644
> --- a/drivers/gpu/drm/amd/display/Makefile
> +++ b/drivers/gpu/drm/amd/display/Makefile
> @@ -26,8 +26,6 @@
>
> AMDDALPATH = $(RELATIVE_AMD_DISPLAY_PATH)
>
> -subdir-ccflags-y += -I$(AMDDALPATH)/ -I$(AMDDALPATH)/include
> -
> subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/inc/
> subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/inc/hw
> subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/modules/inc

\
 
 \ /
  Last update: 2018-02-22 09:29    [W:0.136 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site