From ee3132786acd2041c485884f4ac4767a66204ac0 Mon Sep 17 00:00:00 2001 From: Stricted Date: Mon, 1 Oct 2018 05:59:08 +0200 Subject: [PATCH] s5neolte: Add RIL configuration Change-Id: I9a841f2062588970b7d384a2a2341e9597064a5e --- BoardConfig.mk | 4 ++++ device.mk | 17 +++++++++++++++++ 2 files changed, 21 insertions(+) diff --git a/BoardConfig.mk b/BoardConfig.mk index 402d630..e4a4882 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -24,6 +24,10 @@ TARGET_OTA_ASSERT_DEVICE := s5neolte,s5neoltexx,s5neolteub,s5neoltevl # 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 513a0c8..3d88423 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