diff options
| author | Arkadiusz Hiler <arkadiusz.hiler@intel.com> | 2017-04-12 09:42:47 +0200 |
|---|---|---|
| committer | Arkadiusz Hiler <arkadiusz.hiler@intel.com> | 2017-06-07 13:28:16 +0300 |
| commit | 53e7f53d6b040b32083bb71b72d1d4fbf8c9a575 (patch) | |
| tree | 8c3454f1c294e509b7018bd9bab47598b80cac46 /tests | |
| parent | 4fe47f4541a2bb64f4189759bfb62155011f6061 (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 'tests')
| -rw-r--r-- | tests/Android.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Android.mk b/tests/Android.mk index c67ddbd4..b664dff2 100644 --- a/tests/Android.mk +++ b/tests/Android.mk @@ -19,7 +19,7 @@ define add_test LOCAL_MODULE_TAGS := optional # ask linker to define a specific symbol; we use this to identify IGT tests - LOCAL_LDFLAGS := -Wl,--defsym=$2=0 + LOCAL_LDFLAGS := -Wl,--defsym=$2=0 -lkmod LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR)/intel/validation/core/igt include $(BUILD_EXECUTABLE) @@ -45,7 +45,7 @@ IGT_LOCAL_C_INCLUDES += ${ANDROID_BUILD_TOP}/external/PRIVATE/drm/include/drm # set local libraries IGT_LOCAL_STATIC_LIBRARIES := libintel_gpu_tools -IGT_LOCAL_SHARED_LIBRARIES := libpciaccess libdrm libdrm_intel +IGT_LOCAL_SHARED_LIBRARIES := libpciaccess libkmod libdrm libdrm_intel # handle cairo requirements if it is enabled ifeq ("${ANDROID_HAS_CAIRO}", "1") |
