blob: 8bf14ce51dbcec1ed92e82f5d85e92907fd2af70 [file] [log] [blame]
The Android Open Source Project00f06fc2009-03-03 19:32:15 -08001# Copyright 2006 The Android Open Source Project
2
3LOCAL_PATH:= $(call my-dir)
4include $(CLEAR_VARS)
5
6LOCAL_SRC_FILES:= \
7 rild.c
8
9
10LOCAL_SHARED_LIBRARIES := \
Ying Wang52688262013-04-09 22:31:00 -070011 liblog \
The Android Open Source Project00f06fc2009-03-03 19:32:15 -080012 libcutils \
Haitao Feng6f9c7dd2012-05-21 02:49:04 -040013 libril \
14 libdl
Doug Kwan13717552009-10-06 16:24:51 -070015
Dima Zavin8cc4c1d2013-05-22 11:30:17 -070016# temporary hack for broken vendor rils
17LOCAL_WHOLE_STATIC_LIBRARIES := \
18 librilutils_static
19
The Android Open Source Project00f06fc2009-03-03 19:32:15 -080020LOCAL_CFLAGS := -DRIL_SHLIB
Etan Cohend3652192014-06-20 08:28:44 -070021#LOCAL_CFLAGS += -DANDROID_MULTI_SIM
22
23ifeq ($(SIM_COUNT), 2)
24 LOCAL_CFLAGS += -DANDROID_SIM_COUNT_2
25endif
The Android Open Source Project00f06fc2009-03-03 19:32:15 -080026
27LOCAL_MODULE:= rild
Wink Saville5b16efd2012-05-30 16:20:55 -070028LOCAL_MODULE_TAGS := optional
Tom Cherryd4f46d02015-08-14 13:01:45 -070029LOCAL_INIT_RC := rild.rc
The Android Open Source Project00f06fc2009-03-03 19:32:15 -080030
31include $(BUILD_EXECUTABLE)
32
33# For radiooptions binary
34# =======================
35include $(CLEAR_VARS)
36
37LOCAL_SRC_FILES:= \
38 radiooptions.c
39
40LOCAL_SHARED_LIBRARIES := \
Ying Wang52688262013-04-09 22:31:00 -070041 liblog \
The Android Open Source Project00f06fc2009-03-03 19:32:15 -080042 libcutils \
43
44LOCAL_CFLAGS := \
45
46LOCAL_MODULE:= radiooptions
Mike Lockwood19b7fb02009-03-27 19:01:43 -070047LOCAL_MODULE_TAGS := debug
The Android Open Source Project00f06fc2009-03-03 19:32:15 -080048
49include $(BUILD_EXECUTABLE)