xmm6262: Use xmm6262 libril for xmm6360 modem as well
authorEthan Chen <intervigil@gmail.com>
Mon, 5 Aug 2013 04:53:29 +0000 (21:53 -0700)
committerEthan Chen <intervigil@gmail.com>
Fri, 9 Aug 2013 20:51:50 +0000 (13:51 -0700)
* They appear to expose a very similar interface

Change-Id: I6793da25244258adb905e002d05bb60061487c5e

ril/Android.mk

index eba6ce6376bf3a6d354ff645ab8452cbe0f4a709..09768bd87d9bd81c2ac9c1e8f4e8020d565d6aaf 100644 (file)
@@ -20,12 +20,12 @@ ifeq ($(BOARD_VENDOR),samsung)
 
 # libril
 ifeq ($(BOARD_PROVIDES_LIBRIL),true)
+ifneq ($(filter xmm6262 xmm6360,$(BOARD_MODEM_TYPE)),)
+include $(RIL_PATH)/xmm6262/libril/Android.mk
+endif
 ifeq ($(BOARD_MODEM_TYPE),xmm6260)
 include $(RIL_PATH)/xmm6260/libril/Android.mk
 endif
-ifeq ($(BOARD_MODEM_TYPE),xmm6262)
-include $(RIL_PATH)/xmm6262/libril/Android.mk
-endif
 endif
 
 # ril client