From: Kirill A. Shutemov Date: Thu, 3 May 2012 14:16:14 +0000 (+0100) Subject: gma500: fix -Wmissing-include-dirs warnings X-Git-Tag: v3.5-rc1~83^2~41 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4ad35b2e32c4d7c3a489863e1a33a0774f6bf4b8;p=platform%2Fkernel%2Flinux-stable.git gma500: fix -Wmissing-include-dirs warnings cc1: warning: include/drm: No such file or directory [enabled by default] It's reproducible if you build with O=/some/obj/dir and W=1. Signed-off-by: Kirill A. Shutemov Signed-off-by: Alan Cox Signed-off-by: Dave Airlie --- diff --git a/drivers/gpu/drm/gma500/Makefile b/drivers/gpu/drm/gma500/Makefile index efdad01..dd7d6b5 100644 --- a/drivers/gpu/drm/gma500/Makefile +++ b/drivers/gpu/drm/gma500/Makefile @@ -1,7 +1,7 @@ # # KMS driver for the GMA500 # -ccflags-y += -Iinclude/drm +ccflags-y += -I$(srctree)/include/drm gma500_gfx-y += gem_glue.o \ accel_2d.o \