s5neolte: Add RIL configuration
authorStricted <info@stricted.net>
Mon, 1 Oct 2018 03:59:08 +0000 (05:59 +0200)
committerJan Altensen <info@stricted.net>
Mon, 12 Aug 2019 07:19:40 +0000 (09:19 +0200)
Change-Id: I9a841f2062588970b7d384a2a2341e9597064a5e

BoardConfig.mk
device.mk

index 402d630e98434ab919b62819da8d4e54b713be07..e4a488294e634d6ca3402777bb51b235c8232f08 100644 (file)
@@ -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
 
index 513a0c8709dd556a0fcfec0e30de04021bf85079..3d884237612a0b50910e77ca2ed2e16845974019 100644 (file)
--- 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)
+