From 57bd86068a319b218796d0bea92258b44ee143a0 Mon Sep 17 00:00:00 2001 From: Tim Gore Date: Thu, 24 Jul 2014 17:38:22 +0100 Subject: intel-gpu-tools: fix version.h creation in android commit 743dc7997aa9f5210055896940d87c88983dcda6 breaks the build under Android because version.h is not created. This happens because the android make executes from the ANDROID_BUILD_TOP directory rather than from the directory containing the source files, so we need to differentiate between Android and linux builds. This is V2 of this patch based on Thomas Wood's suggestion. Signed-off-by: Tim Gore [Thomas: Fix distcheck issues] Signed-off-by: Thomas Wood --- lib/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/Makefile.am') diff --git a/lib/Makefile.am b/lib/Makefile.am index 4d4efe48..e8e04a25 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -1,3 +1,6 @@ +IGT_LIB_PATH := $(builddir) +GPU_TOOLS_PATH := $(top_srcdir) + include Makefile.sources noinst_LTLIBRARIES = libintel_tools.la -- cgit v1.2.3