Added sepolicy entries, custom RIL class.
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 2e10103..93fca63 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -16,11 +16,11 @@
# Platform
TARGET_ARCH := arm
#TARGET_NO_BOOTLOADER := true
-#TARGET_BOARD_PLATFORM := msm8916
+TARGET_BOARD_PLATFORM := msm8916
TARGET_CPU_ABI := armeabi-v7a
TARGET_CPU_ABI2 := armeabi
TARGET_ARCH_VARIANT := armv7-a-neon
-#TARGET_BOARD_PLATFORM_GPU := qcom-adreno306
+TARGET_BOARD_PLATFORM_GPU := qcom-adreno306
#ARCH_ARM_HAVE_TLS_REGISTER := true
# Architecture
@@ -42,11 +42,20 @@
BOARD_HAVE_BLUETOOTH_QCOM := true
BLUETOOTH_HCI_USE_MCT := true
+# Misc.
+#TARGET_SYSTEM_PROP := $(LOCAL_PATH)/system.prop
+
+# Custom RIL class
+BOARD_RIL_CLASS := $(LOCAL_PATH)/ril
+BOARD_PROVIDES_LIBRIL := true
+PROTOBUF_SUPPORTED := true
+
# Bootloader
TARGET_BOOTLOADER_BOARD_NAME := MSM8916
# Camera
TARGET_USE_VENDOR_CAMERA_EXT := true
+#TARGET_PROVIDES_CAMERA_HAL := true
USE_DEVICE_SPECIFIC_CAMERA := true
# Charger
@@ -84,8 +93,8 @@
EXTENDED_FONT_FOOTPRINT := true
# GPS
-TARGET_GPS_HAL_PATH := $(LOCAL_PATH)/gps
-TARGET_NO_RPC := true
+#TARGET_GPS_HAL_PATH := $(LOCAL_PATH)/gps
+#TARGET_NO_RPC := true
# Init
TARGET_INIT_VENDOR_LIB := libinit_msm
@@ -129,9 +138,6 @@
# (5731495936 - 16384)
BOARD_USERDATAIMAGE_PARTITION_SIZE := 4942966784
BOARD_FLASH_BLOCK_SIZE := 131072
-# Platform
-TARGET_BOARD_PLATFORM := msm8916
-TARGET_BOARD_PLATFORM_GPU := qcom-adreno306
# Power
TARGET_POWERHAL_VARIANT := qcom
@@ -160,16 +166,25 @@
device/samsung/gprimeltecan/sepolicy
BOARD_SEPOLICY_UNION += \
- bluetooth_loader.te \
- file.te \
- healthd.te \
- qseecomd.te \
- surfaceflinger.te \
- system_server.te \
- wcnss_service.te \
- misc.te \
- file_contexts \
- property_contexts
+ ueventd.te \
+ file.te \
+ shell.te \
+ surfaceflinger.te \
+ bluetooth_loader.te \
+ wcnss_service.te \
+ healthd.te \
+ rild.te \
+ qseecomd.te \
+ system_server.te \
+ time_daemon.te \
+ sysinit.te \
+ mm-qcamerad.te \
+ file_contexts \
+ init_shell.te \
+ keystore.te \
+ perfd.te \
+ mediaserver.te \
+ property_contexts
# Time services
BOARD_USES_QC_TIME_SERVICES := true
@@ -231,6 +246,8 @@
WIFI_DRIVER_FW_PATH_AP := "ap"
WIFI_DRIVER_FW_PATH_STA := "sta"
WPA_SUPPLICANT_VERSION := VER_0_8_X
+WIFI_DRIVER_MODULE_PATH := "/system/lib/modules/wlan.ko"
+WIFI_DRIVER_MODULE_NAME := "wlan"
# inherit from the proprietary version
-include vendor/samsung/gprimeltecan/BoardConfigVendor.mk