Fix the build error of some samsung devices which provides libril (e.g. ks01lte)
This fixes the merge error of commit 56b8dcfa3094f93698dda9f6731fa845f00ef287
Change-Id: I0efd718a85376059cad57ac9715673cbfb2e596f
(cherry picked from commit f8e5e164804f1408c2350dade3fd92d561e7076c)
diff --git a/ril/Android.mk b/ril/Android.mk
index 05a6c98..2aa2119 100644
--- a/ril/Android.mk
+++ b/ril/Android.mk
@@ -20,8 +20,10 @@
# libril
ifeq ($(BOARD_PROVIDES_LIBRIL),true)
+ifneq ($(filter xmm6260 xmm6262 xmm6360 xmm7260,$(BOARD_MODEM_TYPE)),)
include $(RIL_PATH)/libril/Android.mk
endif
+endif
# ril client
SECRIL_CLIENT_DIRS := libsecril-client libsecril-client-sap