55 lines
902 B
Makefile
55 lines
902 B
Makefile
# Copyright 2006 The Android Open Source Project
|
|
|
|
ifneq ($(BOARD_PROVIDES_RILD),true)
|
|
|
|
LOCAL_PATH:= $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES:= \
|
|
rild.c
|
|
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
liblog \
|
|
libcutils \
|
|
libril \
|
|
libdl
|
|
|
|
# temporary hack for broken vendor rils
|
|
LOCAL_WHOLE_STATIC_LIBRARIES := \
|
|
librilutils_static
|
|
|
|
LOCAL_CFLAGS := -DRIL_SHLIB
|
|
|
|
ifeq ($(SIM_COUNT), 2)
|
|
LOCAL_CFLAGS += -DANDROID_MULTI_SIM
|
|
LOCAL_CFLAGS += -DANDROID_SIM_COUNT_2
|
|
endif
|
|
|
|
LOCAL_MODULE:= rild
|
|
LOCAL_MODULE_TAGS := optional
|
|
LOCAL_INIT_RC := rild.rc
|
|
|
|
LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/libril
|
|
|
|
include $(BUILD_EXECUTABLE)
|
|
|
|
# For radiooptions binary
|
|
# =======================
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES:= \
|
|
radiooptions.c
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
liblog \
|
|
libcutils \
|
|
|
|
LOCAL_CFLAGS := \
|
|
|
|
LOCAL_MODULE:= radiooptions
|
|
LOCAL_MODULE_TAGS := debug
|
|
|
|
include $(BUILD_EXECUTABLE)
|
|
|
|
endif
|