summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorD. Andrei Măceș <dmaces@nd.edu>2016-04-21 14:38:38 -0400
committerAndreas Blaesius <skate4life@gmx.de>2017-02-25 21:49:21 +0100
commit36c3ee22b7fd3c9d2d1a8e45842e7077e38e484a (patch)
tree58a4cccc2efe32e9201064b3aceaaea7a9faa388
parent9fa9f2764f6f14de80f2dcc3d622a6beaacb4627 (diff)
downloadhardware_ti_omap4-36c3ee22b7fd3c9d2d1a8e45842e7077e38e484a.zip
hardware_ti_omap4-36c3ee22b7fd3c9d2d1a8e45842e7077e38e484a.tar.gz
hardware_ti_omap4-36c3ee22b7fd3c9d2d1a8e45842e7077e38e484a.tar.bz2
pvrsrvinit/libEGL_POWERVR: Actually ready needed vendor libraries
Change-Id: I7c3dc8abfd9367b1b983b696d7357a27f9350b60
-rw-r--r--libEGL_POWERVR/Android.mk2
-rw-r--r--pvrsrvinit/Android.mk5
2 files changed, 3 insertions, 4 deletions
diff --git a/libEGL_POWERVR/Android.mk b/libEGL_POWERVR/Android.mk
index 121cab9..3828aa2 100644
--- a/libEGL_POWERVR/Android.mk
+++ b/libEGL_POWERVR/Android.mk
@@ -5,7 +5,7 @@ LOCAL_SRC_FILES := egl.c
LOCAL_CFLAGS := -Wall -Werror
LOCAL_LDFLAGS := -L $(TARGET_OUT_VENDOR_SHARED_LIBRARIES)
LOCAL_LDLIBS := -lIMGegl
-libEGL_POWERVR_SGX54X: $(TARGET_OUT_VENDOR_SHARED_LIBRARIES)/libIMGegl.so
+LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_LDLIBS:-l%=lib%)
LOCAL_MODULE := libEGL_POWERVR_SGX54X
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_SHARED_LIBRARIES)/egl
diff --git a/pvrsrvinit/Android.mk b/pvrsrvinit/Android.mk
index f6baee3..b923f11 100644
--- a/pvrsrvinit/Android.mk
+++ b/pvrsrvinit/Android.mk
@@ -4,9 +4,8 @@ include $(CLEAR_VARS)
LOCAL_SRC_FILES := pvrsrvinit.c
LOCAL_LDFLAGS := -L $(TARGET_OUT_VENDOR)/lib
-LOCAL_LDFLAGS += -lsrv_init -lsrv_um
-pvrsrvinit: $(TARGET_OUT_VENDOR)/lib/libsrv_init.so
-pvrsrvinit: $(TARGET_OUT_VENDOR)/lib/libsrv_um.so
+LOCAL_ADDITIONAL_DEPENDENCIES := libsrv_init libsrv_um
+LOCAL_LDFLAGS += $(LOCAL_ADDITIONAL_DEPENDENCIES:lib%=-l%)
LOCAL_MODULE_PATH := $(TARGET_OUT_EXECUTABLES)
LOCAL_MODULE := pvrsrvinit
LOCAL_MODULE_TAGS := optional