diff options
author | Hashcode <hashcode0f@gmail.com> | 2015-02-03 13:24:36 -0800 |
---|---|---|
committer | Hashcode <hashcode0f@gmail.com> | 2015-02-03 13:24:36 -0800 |
commit | 6247a22ce7a7a36b0a984378ccaa494c767de9e3 (patch) | |
tree | 84e053ce26c48563ee94210fd4b13050c09291c2 | |
parent | b150de8bd5b15e09fcb3d5c3892c4c24abe0978e (diff) | |
download | hardware_ti_omap4-6247a22ce7a7a36b0a984378ccaa494c767de9e3.zip hardware_ti_omap4-6247a22ce7a7a36b0a984378ccaa494c767de9e3.tar.gz hardware_ti_omap4-6247a22ce7a7a36b0a984378ccaa494c767de9e3.tar.bz2 |
pvrsrvinit: remove hard-coded lib location and adjust libs by gpu type
-rw-r--r-- | pvrsrvinit/Android.mk | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/pvrsrvinit/Android.mk b/pvrsrvinit/Android.mk index 5f05406..53c6f3a 100644 --- a/pvrsrvinit/Android.mk +++ b/pvrsrvinit/Android.mk @@ -3,9 +3,17 @@ LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_SRC_FILES := pvrsrvinit.c -LOCAL_LDFLAGS := -L vendor/motorola/omap4-common/imgtec/vendor/lib +LOCAL_LDFLAGS := -L $(TARGET_OUT_VENDOR)/lib +ifeq ($(TARGET_BOARD_OMAP_CPU),4470) +LOCAL_LDLIBS := -lsrv_init_SGX544_112 -lsrv_um_SGX544_112 +pvrsrvinit: $(TARGET_OUT_VENDOR)/lib/libsrv_init_SGX544_112.so +pvrsrvinit: $(TARGET_OUT_VENDOR)/lib/libsrv_um_SGX544_112.so +else LOCAL_LDLIBS := -lsrv_init_SGX540_120 -lsrv_um_SGX540_120 -LOCAL_MODULE_PATH := $(TARGET_OUT)/bin/ +pvrsrvinit: $(TARGET_OUT_VENDOR)/lib/libsrv_init_SGX540_120.so +pvrsrvinit: $(TARGET_OUT_VENDOR)/lib/libsrv_um_SGX540_120.so +endif +LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_EXECUTABLES) LOCAL_MODULE := pvrsrvinit LOCAL_MODULE_TAGS := optional |