samsung: ril: fix inclusion of secril-client
authorDaniel Hillenbrand <codeworkx@cyanogenmod.org>
Thu, 11 Jul 2013 14:26:34 +0000 (16:26 +0200)
committerDaniel Hillenbrand <codeworkx@cyanogenmod.org>
Thu, 11 Jul 2013 14:28:27 +0000 (16:28 +0200)
Change-Id: I1266a59d88811fe0b3188dc63b83bace40f54398

ril/Android.mk

index 2baf6e6e0d9f81e8959fdbf159c762f0de2df1f4..eba6ce6376bf3a6d354ff645ab8452cbe0f4a709 100644 (file)
 # 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