intel-gpu-tools: fix version.h creation in android
authorTim Gore <tim.gore@intel.com>
Thu, 24 Jul 2014 16:38:22 +0000 (17:38 +0100)
committerThomas Wood <thomas.wood@intel.com>
Fri, 25 Jul 2014 13:46:51 +0000 (14:46 +0100)
commit57bd86068a319b218796d0bea92258b44ee143a0
treec37f9322d2f0432671f1556271bcf51fc4eacad0
parent8408e00e623b52f18ad0795122593741197fa2f4
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 <tim.gore@intel.com>
[Thomas: Fix distcheck issues]
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
lib/Android.mk
lib/Makefile.am
lib/Makefile.sources