summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorArkadiusz Hiler <arkadiusz.hiler@intel.com>2017-04-12 09:42:47 +0200
committerArkadiusz Hiler <arkadiusz.hiler@intel.com>2017-06-07 13:28:16 +0300
commit53e7f53d6b040b32083bb71b72d1d4fbf8c9a575 (patch)
tree8c3454f1c294e509b7018bd9bab47598b80cac46 /benchmarks
parent4fe47f4541a2bb64f4189759bfb62155011f6061 (diff)
Android.mk: Fix libkmod use
On Android libkmod.h is nested under libkmod directory, so we should include appropriately. Also we need to link with it. Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com> Reviewed-by: Petri Latvala <petri.latvala@intel.com>
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/Android.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/benchmarks/Android.mk b/benchmarks/Android.mk
index c0fa09ff..faa73b71 100644
--- a/benchmarks/Android.mk
+++ b/benchmarks/Android.mk
@@ -18,6 +18,7 @@ define add_benchmark
LOCAL_CFLAGS += -Wno-error=return-type
# Excessive complaining for established cases. Rely on the Linux version warnings.
LOCAL_CFLAGS += -Wno-sign-compare
+ LOCAL_LDFLAGS += -lkmod
LOCAL_MODULE := $1_benchmark
LOCAL_MODULE_TAGS := optional
@@ -26,6 +27,7 @@ define add_benchmark
LOCAL_STATIC_LIBRARIES := libintel_gpu_tools
LOCAL_SHARED_LIBRARIES := libpciaccess \
+ libkmod \
libdrm \
libdrm_intel