blob: 151cda6885297fc5b222b4b687a8e02969dd58af [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
The Android Open Source Project00f06fc2009-03-03 19:32:15 -080029
30include $(BUILD_EXECUTABLE)
31
32# For radiooptions binary
33# =======================
34include $(CLEAR_VARS)
35
36LOCAL_SRC_FILES:= \
37 radiooptions.c
38
39LOCAL_SHARED_LIBRARIES := \
Ying Wang52688262013-04-09 22:31:00 -070040 liblog \
The Android Open Source Project00f06fc2009-03-03 19:32:15 -080041 libcutils \
42
43LOCAL_CFLAGS := \
44
45LOCAL_MODULE:= radiooptions
Mike Lockwood19b7fb02009-03-27 19:01:43 -070046LOCAL_MODULE_TAGS := debug
The Android Open Source Project00f06fc2009-03-03 19:32:15 -080047
48include $(BUILD_EXECUTABLE)