summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>2012-05-03 15:16:14 +0100
committerDave Airlie <airlied@redhat.com>2012-05-07 10:58:57 +0100
commit4ad35b2e32c4d7c3a489863e1a33a0774f6bf4b8 (patch)
tree14f26272cb27a7503f7d30611987970bd484d39a
parent71ab1bee5388af0012eabea38e82f096bf381022 (diff)
downloadlinux-4ad35b2e32c4d7c3a489863e1a33a0774f6bf4b8.tar.bz2
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 <kirill.shutemov@linux.intel.com> Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r--drivers/gpu/drm/gma500/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/gma500/Makefile b/drivers/gpu/drm/gma500/Makefile
index efdad010b4e3..dd7d6b57996f 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 \