From: Younes Manton Date: Sat, 24 Apr 2010 17:52:23 +0000 (-0400) Subject: vl: Fix up configure.ac/Makefile X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=edca5360cab6063a1dc2a388da800ca01eb86a42;p=mesa.git vl: Fix up configure.ac/Makefile --- diff --git a/configure.ac b/configure.ac index 90b105cff53..f9b5a32782e 100644 --- a/configure.ac +++ b/configure.ac @@ -1354,7 +1354,6 @@ if test "x$enable_gallium_nouveau" = xyes; then fi dnl -<<<<<<< HEAD dnl Gallium G3DVL configuration dnl AC_ARG_ENABLE([gallium-g3dvl], @@ -1367,10 +1366,15 @@ if test "x$enable_gallium_g3dvl" = xyes; then for dir in $GALLIUM_WINSYS_DIRS; do vl_winsys_dirs="$vl_winsys_dirs g3dvl/$dir" done + # Hack, g3dvl dri state tracker is in winsys/g3dvl/dri + # and needs to be built before the drm bits + if test "$mesa_driver" = dri; then + vl_winsys_dirs="g3dvl/dri $vl_winsys_dirs" + fi GALLIUM_WINSYS_DIRS="$GALLIUM_WINSYS_DIRS $vl_winsys_dirs" fi -======= +dnl dnl Gallium swrast configuration dnl AC_ARG_ENABLE([gallium-swrast], @@ -1384,7 +1388,6 @@ fi dnl prepend CORE_DIRS to SRC_DIRS SRC_DIRS="$CORE_DIRS $SRC_DIRS" ->>>>>>> origin/master dnl Restore LDFLAGS and CPPFLAGS LDFLAGS="$_SAVE_LDFLAGS" diff --git a/src/gallium/winsys/g3dvl/drm/nouveau/Makefile b/src/gallium/winsys/g3dvl/drm/nouveau/Makefile index 7ff448421a6..fe41ac9269e 100644 --- a/src/gallium/winsys/g3dvl/drm/nouveau/Makefile +++ b/src/gallium/winsys/g3dvl/drm/nouveau/Makefile @@ -7,7 +7,7 @@ include $(TOP)/configs/current C_SOURCES = DRIVER_INCLUDES = $(shell pkg-config libdrm libdrm_nouveau --cflags-only-I) \ - -I$(TOP)/src/gallium/winsys/drm/nouveau \ + -I$(TOP)/src/gallium/winsys/drm/nouveau DRIVER_DEFINES = $(shell pkg-config libdrm libdrm_nouveau --cflags-only-other) PIPE_DRIVERS = \