blob: eba6ce6376bf3a6d354ff645ab8452cbe0f4a709 [file] [log] [blame]
Daniel Hillenbrand601dc852013-07-07 10:06:59 +02001#
2# Copyright (C) 2013 The Android Open-Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
Daniel Hillenbrand41f25f42013-07-11 16:26:34 +020017RIL_PATH := $(call my-dir)
Daniel Hillenbrand601dc852013-07-07 10:06:59 +020018
19ifeq ($(BOARD_VENDOR),samsung)
Daniel Hillenbrand601dc852013-07-07 10:06:59 +020020
Daniel Hillenbrandc0e536a2013-07-08 17:11:45 +020021# libril
22ifeq ($(BOARD_PROVIDES_LIBRIL),true)
Daniel Hillenbrand601dc852013-07-07 10:06:59 +020023ifeq ($(BOARD_MODEM_TYPE),xmm6260)
Daniel Hillenbrand41f25f42013-07-11 16:26:34 +020024include $(RIL_PATH)/xmm6260/libril/Android.mk
Daniel Hillenbrand601dc852013-07-07 10:06:59 +020025endif
Daniel Hillenbrand601dc852013-07-07 10:06:59 +020026ifeq ($(BOARD_MODEM_TYPE),xmm6262)
Daniel Hillenbrand41f25f42013-07-11 16:26:34 +020027include $(RIL_PATH)/xmm6262/libril/Android.mk
Daniel Hillenbrand601dc852013-07-07 10:06:59 +020028endif
Daniel Hillenbrand601dc852013-07-07 10:06:59 +020029endif
Daniel Hillenbrandc0e536a2013-07-08 17:11:45 +020030
31# ril client
Daniel Hillenbrand41f25f42013-07-11 16:26:34 +020032SECRIL_CLIENT_DIRS := libsecril-client libsecril-client-sap
33include $(foreach client_dirs,$(SECRIL_CLIENT_DIRS),$(RIL_PATH)/$(client_dirs)/Android.mk)
Daniel Hillenbrandc0e536a2013-07-08 17:11:45 +020034
Daniel Hillenbrand601dc852013-07-07 10:06:59 +020035endif
36