From bf4ad9d96cf400d2450d1035bad0775d320b8bed Mon Sep 17 00:00:00 2001 From: Danny Wood Date: Sun, 30 Sep 2018 13:03:57 +0100 Subject: [PATCH] j7elte: Add RIL configuration Change-Id: If39366fd746fb55efeeef906b3bdc64af17ecc9b --- BoardConfig.mk | 4 ++++ device.mk | 16 ++++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/BoardConfig.mk b/BoardConfig.mk index bcc5053..a584e84 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -38,3 +38,7 @@ BOARD_RECOVERYIMAGE_PARTITION_SIZE := 39845888 BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2206203904 BOARD_USERDATAIMAGE_PARTITION_SIZE := 13035896832 BOARD_FLASH_BLOCK_SIZE := 4096 + +# RIL +BOARD_MODEM_TYPE := tss310 +BOARD_PROVIDES_LIBRIL := true diff --git a/device.mk b/device.mk index a26d714..e160839 100644 --- a/device.mk +++ b/device.mk @@ -34,6 +34,22 @@ PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/configs/gps/gps.conf:system/etc/gps.conf \ $(LOCAL_PATH)/configs/gps/gps.xml:system/etc/gps.xml +# 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 + # Ramdisk PRODUCT_PACKAGES += \ init.target.rc -- 2.20.1