samsung: ril: fix inclusion of secril-client

Change-Id: I1266a59d88811fe0b3188dc63b83bace40f54398
diff --git a/ril/Android.mk b/ril/Android.mk
index 2baf6e6..eba6ce6 100644
--- a/ril/Android.mk
+++ b/ril/Android.mk
@@ -14,23 +14,23 @@
 # limitations under the License.
 #
 
-LOCAL_PATH := $(call my-dir)
+RIL_PATH := $(call my-dir)
 
 ifeq ($(BOARD_VENDOR),samsung)
 
 # libril
 ifeq ($(BOARD_PROVIDES_LIBRIL),true)
 ifeq ($(BOARD_MODEM_TYPE),xmm6260)
-include $(LOCAL_PATH)/xmm6260/libril/Android.mk
+include $(RIL_PATH)/xmm6260/libril/Android.mk
 endif
 ifeq ($(BOARD_MODEM_TYPE),xmm6262)
-include $(LOCAL_PATH)/xmm6262/libril/Android.mk
+include $(RIL_PATH)/xmm6262/libril/Android.mk
 endif
 endif
 
 # ril client
-client_dirs := libsecril-client libsecril-client-sap
-include $(call all-named-subdir-makefiles,$(client_dirs))
+SECRIL_CLIENT_DIRS := libsecril-client libsecril-client-sap
+include $(foreach client_dirs,$(SECRIL_CLIENT_DIRS),$(RIL_PATH)/$(client_dirs)/Android.mk)
 
 endif