summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKristian H. Kristensen <hoegsberg@chromium.org>2018-12-04 10:19:13 -0800
committerKristian H. Kristensen <hoegsberg@chromium.org>2018-12-05 13:56:07 -0800
commit3b2ad8b290215a4bd52be4e397c9ab5603b8b372 (patch)
tree9420d81b6f71bc88480f7c66ba0277622edd4bd0 /src
parentdca6cd9ce65100896976e913bf72c2c68ea4e1a7 (diff)
gallium: Android build fixes
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>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/auxiliary/util/u_debug_stack_android.cpp2
-rw-r--r--src/gallium/drivers/freedreno/Makefile.am1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_debug_stack_android.cpp b/src/gallium/auxiliary/util/u_debug_stack_android.cpp
index 395a1fe9119..879b0fb2e9d 100644
--- a/src/gallium/auxiliary/util/u_debug_stack_android.cpp
+++ b/src/gallium/auxiliary/util/u_debug_stack_android.cpp
@@ -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"
diff --git a/src/gallium/drivers/freedreno/Makefile.am b/src/gallium/drivers/freedreno/Makefile.am
index 32130ab94c5..504ad290de5 100644
--- a/src/gallium/drivers/freedreno/Makefile.am
+++ b/src/gallium/drivers/freedreno/Makefile.am
@@ -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