nouveau: fix build against out of tree libdrm

For doing builds against a separated libdrm these cflags are needed.

Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
Dave Airlie
2011-01-17 15:41:49 +10:00
parent ef3b8042e0
commit 2bf52e7c28
4 changed files with 8 additions and 0 deletions
+1
View File
@@ -4,6 +4,7 @@ include $(TOP)/configs/current
LIBNAME = nouveau
LIBRARY_INCLUDES = \
$(LIBDRM_CFLAGS) \
-I$(TOP)/src/gallium/drivers/nouveau/include
C_SOURCES = nouveau_screen.c
+3
View File
@@ -29,4 +29,7 @@ C_SOURCES = \
nv50_pc_optimize.c \
nv50_pc_regalloc.c
LIBRARY_INCLUDES = \
$(LIBDRM_CFLAGS)
include ../../Makefile.template
+3
View File
@@ -31,4 +31,7 @@ C_SOURCES = \
nvc0_mm.c \
nvc0_query.c
LIBRARY_INCLUDES = \
$(LIBDRM_CFLAGS)
include ../../Makefile.template
+1
View File
@@ -27,6 +27,7 @@ C_SOURCES = \
nvfx_vertprog.c
LIBRARY_INCLUDES = \
$(LIBDRM_CFLAGS) \
-I$(TOP)/src/gallium/drivers/nouveau/include
include ../../Makefile.template