You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
1.1 KiB
57 lines
1.1 KiB
12 years ago
|
# Copyright 2006 The Android Open Source Project
|
||
|
|
||
|
ifeq ($(BOARD_PROVIDES_LIBRIL),true)
|
||
|
|
||
|
LOCAL_PATH:= $(call my-dir)
|
||
|
include $(CLEAR_VARS)
|
||
|
|
||
|
LOCAL_SRC_FILES:= \
|
||
|
ril.cpp \
|
||
|
ril_event.cpp
|
||
|
|
||
|
LOCAL_SHARED_LIBRARIES := \
|
||
11 years ago
|
liblog \
|
||
12 years ago
|
libutils \
|
||
|
libbinder \
|
||
|
libcutils \
|
||
11 years ago
|
libhardware_legacy \
|
||
|
librilutils
|
||
12 years ago
|
|
||
10 years ago
|
ifneq ($(filter xmm6262 xmm6360,$(BOARD_MODEM_TYPE)),)
|
||
|
LOCAL_CFLAGS := -DMODEM_TYPE_6262
|
||
|
endif
|
||
|
ifeq ($(BOARD_MODEM_TYPE),xmm6260)
|
||
|
LOCAL_CFLAGS := -DMODEM_TYPE_6260
|
||
10 years ago
|
endif
|
||
|
|
||
12 years ago
|
LOCAL_MODULE:= libril
|
||
|
|
||
|
include $(BUILD_SHARED_LIBRARY)
|
||
|
|
||
|
|
||
|
# For RdoServD which needs a static library
|
||
|
# =========================================
|
||
|
ifneq ($(ANDROID_BIONIC_TRANSITION),)
|
||
|
include $(CLEAR_VARS)
|
||
|
|
||
|
LOCAL_SRC_FILES:= \
|
||
|
ril.cpp
|
||
|
|
||
|
LOCAL_STATIC_LIBRARIES := \
|
||
|
libutils_static \
|
||
11 years ago
|
libcutils \
|
||
|
librilutils_static
|
||
12 years ago
|
|
||
10 years ago
|
ifneq ($(filter xmm6262 xmm6360,$(BOARD_MODEM_TYPE)),)
|
||
|
LOCAL_CFLAGS := -DMODEM_TYPE_6262
|
||
|
endif
|
||
|
ifeq ($(BOARD_MODEM_TYPE),xmm6260)
|
||
|
LOCAL_CFLAGS := -DMODEM_TYPE_6260
|
||
|
endif
|
||
12 years ago
|
|
||
|
LOCAL_MODULE:= libril_static
|
||
|
|
||
|
include $(BUILD_STATIC_LIBRARY)
|
||
|
endif # ANDROID_BIONIC_TRANSITION
|
||
|
endif # BOARD_PROVIDES_LIBRIL
|