From f58297326bae2c48e2b66770024026c2e01ef495 Mon Sep 17 00:00:00 2001 From: Danny Wood Date: Thu, 25 Apr 2019 16:36:09 +0100 Subject: [PATCH] a7xelte: Add RIL configuration Change-Id: If39366fd746fb55efeeef906b3bdc64af17ecc9b --- BoardConfig.mk | 4 ++++ device.mk | 17 +++++++++++++++++ 2 files changed, 21 insertions(+) diff --git a/BoardConfig.mk b/BoardConfig.mk index d1933d6..a13e760 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -24,6 +24,10 @@ TARGET_OTA_ASSERT_DEVICE := a7xelte, a7xeltexx, a7xelteub, a7xeltedo # Bluetooth BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := $(LOCAL_PATH)/bluetooth +# RIL +BOARD_MODEM_TYPE := tss310 +BOARD_PROVIDES_LIBRIL := true + # Init TARGET_INIT_VENDOR_LIB := libinit_sec diff --git a/device.mk b/device.mk index 436c6c7..59cd18e 100644 --- a/device.mk +++ b/device.mk @@ -40,5 +40,22 @@ PRODUCT_COPY_FILES += \ PRODUCT_PACKAGES += \ init.target.rc +# Radio +PRODUCT_PACKAGES += \ + libprotobuf-cpp-full \ + libsecril-client \ + modemloader \ + libxml2 \ + rild \ + libril \ + libreference-ril \ + libsecril-client-sap \ + android.hardware.radio@1.1 \ + android.hardware.radio.deprecated@1.0 + +PRODUCT_COPY_FILES += \ + device/samsung/universal7580-common/configs/init/rild.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/rild.rc + # Inherit from universal7580-common $(call inherit-product, device/samsung/universal7580-common/device-common.mk) + -- 2.20.1