summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChih-Wei Huang <cwhuang@linux.org.tw>2014-11-06 10:50:12 +0800
committerChih-Wei Huang <cwhuang@linux.org.tw>2015-01-20 11:37:08 +0800
commit9ce9cebffc405c64a9247d90ab4f2e8dfe07bf92 (patch)
tree38e60b848d9553eca8a55073a5f9ab9ff30a87cc
parent7161569c26f65d01104a6ce29f47f2f10c7c4162 (diff)
downloadexternal_drm_gralloc-9ce9cebffc405c64a9247d90ab4f2e8dfe07bf92.zip
external_drm_gralloc-9ce9cebffc405c64a9247d90ab4f2e8dfe07bf92.tar.gz
external_drm_gralloc-9ce9cebffc405c64a9247d90ab4f2e8dfe07bf92.tar.bz2
enable multiarch builds
Convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH to support 64-bit targets.
-rw-r--r--Android.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/Android.mk b/Android.mk
index c701b6e..cda4321 100644
--- a/Android.mk
+++ b/Android.mk
@@ -68,7 +68,7 @@ include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := gralloc.$(TARGET_PRODUCT)
LOCAL_MODULE_TAGS := optional
-LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw/
+LOCAL_MODULE_RELATIVE_PATH := hw
LOCAL_SRC_FILES := ../../$(BOARD_GPU_DRIVER_BINARY)
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
LOCAL_MODULE_SUFFIX := $(TARGET_SHLIB_SUFFIX)
@@ -168,7 +168,7 @@ LOCAL_SHARED_LIBRARIES += \
LOCAL_MODULE := gralloc.drm
LOCAL_MODULE_TAGS := optional
-LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw/
+LOCAL_MODULE_RELATIVE_PATH := hw
include $(BUILD_SHARED_LIBRARY)
endif # DRM_GPU_DRIVERS=prebuilt