From efef51dd75c8f41aa6ba08e806f8c81501eb7ee7 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Fri, 8 Dec 2017 11:33:21 +0000 Subject: debugger/overlay/tools: make sure to include embedded drm-uapi headers Headers from lib/ depend on drm uapi headers. Since we started embedding them, let's make sure to pull them first. We still depend on libdrm in places, we don't want the system headers from libdrm to be included prior to the embedded ones. v2: Fix debugger/overlay (Lionel) v3: More fixes in lib/tests (Lionel) Signed-off-by: Lionel Landwerlin Reviewed-by: Chris Wilson --- overlay/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'overlay') diff --git a/overlay/Makefile.am b/overlay/Makefile.am index f49f54ac..fca04cae 100644 --- a/overlay/Makefile.am +++ b/overlay/Makefile.am @@ -2,7 +2,7 @@ if BUILD_OVERLAY bin_PROGRAMS = intel-gpu-overlay endif -AM_CPPFLAGS = -I. +AM_CPPFLAGS = -I. -I$(top_srcdir)/include/drm-uapi AM_CFLAGS = $(DRM_CFLAGS) $(PCIACCESS_CFLAGS) $(CWARNFLAGS) \ $(CAIRO_CFLAGS) $(OVERLAY_CFLAGS) $(WERROR_CFLAGS) -I$(srcdir)/../lib LDADD = $(DRM_LIBS) $(PCIACCESS_LIBS) $(CAIRO_LIBS) $(OVERLAY_LIBS) $(top_builddir)/lib/libigt_perf.la -- cgit v1.2.3