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:
@@ -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
|
||||
|
||||
@@ -29,4 +29,7 @@ C_SOURCES = \
|
||||
nv50_pc_optimize.c \
|
||||
nv50_pc_regalloc.c
|
||||
|
||||
LIBRARY_INCLUDES = \
|
||||
$(LIBDRM_CFLAGS)
|
||||
|
||||
include ../../Makefile.template
|
||||
|
||||
@@ -31,4 +31,7 @@ C_SOURCES = \
|
||||
nvc0_mm.c \
|
||||
nvc0_query.c
|
||||
|
||||
LIBRARY_INCLUDES = \
|
||||
$(LIBDRM_CFLAGS)
|
||||
|
||||
include ../../Makefile.template
|
||||
|
||||
@@ -27,6 +27,7 @@ C_SOURCES = \
|
||||
nvfx_vertprog.c
|
||||
|
||||
LIBRARY_INCLUDES = \
|
||||
$(LIBDRM_CFLAGS) \
|
||||
-I$(TOP)/src/gallium/drivers/nouveau/include
|
||||
|
||||
include ../../Makefile.template
|
||||
|
||||
Reference in New Issue
Block a user