gallium: Android build fixes
authorKristian H. Kristensen <hoegsberg@chromium.org>
Tue, 4 Dec 2018 18:19:13 +0000 (10:19 -0800)
committerKristian H. Kristensen <hoegsberg@chromium.org>
Wed, 5 Dec 2018 21:56:07 +0000 (13:56 -0800)
A couple of simple fixes for building on Android with autotools.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/gallium/auxiliary/util/u_debug_stack_android.cpp
src/gallium/drivers/freedreno/Makefile.am

index 395a1fe9119b34d3ca6783fe537d89937ce2f17b..879b0fb2e9d33b6b1376dbed69573c59efb85c49 100644 (file)
@@ -23,7 +23,7 @@
 
 #include <backtrace/Backtrace.h>
 
-#include "u_debug.h"
+#include "util/u_debug.h"
 #include "u_debug_stack.h"
 #include "util/hash_table.h"
 #include "os/os_thread.h"
index 32130ab94c53b16e0a5e0df06ac344f67c01ac25..504ad290de538092cce024dc527f44b6011c0d58 100644 (file)
@@ -7,6 +7,7 @@ AM_CFLAGS = \
        -I$(top_srcdir)/src/freedreno \
        -I$(top_builddir)/src/compiler/nir \
        -I$(top_srcdir)/src/compiler/nir \
+       $(LIBDRM_CFLAGS) \
        $(GALLIUM_DRIVER_CFLAGS)
 
 noinst_LTLIBRARIES = libfreedreno.la