diff options
author | tgore <tim.gore@intel.com> | 2014-03-28 12:54:59 +0000 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-03-28 17:50:44 +0100 |
commit | e599ff443cdcd90399666dc75226d73a943cc89f (patch) | |
tree | 674f0b977cc4a9303a15f552b9a1b7855403bf54 /tools | |
parent | a96c6340768772590cf548ed8b81a10877fc7b43 (diff) |
intel-gpu-tools: fix some include path problems on android builds
When building within the android tree (specifically in /external)
the compilation fails due to the wrong versions of some header files
getting picked up. This commit adds some include paths to ensure the
correct headers are found
Signed-off-by: Tim Gore <tim.gore@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/Android.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/Android.mk b/tools/Android.mk index a957ec13..8ca67f44 100644 --- a/tools/Android.mk +++ b/tools/Android.mk @@ -18,6 +18,9 @@ define add_tool # Excessive complaining for established cases. Rely on the Linux version warnings. LOCAL_CFLAGS += -Wno-sign-compare + LOCAL_C_INCLUDES = $(LOCAL_PATH)/../lib + LOCAL_C_INCLUDES += ${ANDROID_BUILD_TOP}/external/PRIVATE/drm/include/drm + LOCAL_MODULE := $1 LOCAL_MODULE_TAGS := optional |