a3xelte: Add RIL configuration
authorDanny Wood <danwood76@gmail.com>
Sun, 30 Sep 2018 12:03:57 +0000 (13:03 +0100)
committerJan Altensen <info@stricted.net>
Mon, 12 Aug 2019 07:07:19 +0000 (09:07 +0200)
Change-Id: If39366fd746fb55efeeef906b3bdc64af17ecc9b

BoardConfig.mk
device.mk

index 42c593f535758fac18751ee60404e19c238530a4..14cfca0ad2b1acafdff4a0c75f21b7032091272d 100644 (file)
@@ -24,6 +24,10 @@ TARGET_OTA_ASSERT_DEVICE := a3xelte,a3xeltexx,a3xelteub,a3xeltedo
 # 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 0644ff6bf9b0fa41698134f2dba83606a79bc551..8a59237283c5675076c81415398903d64c0033be 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)
+