summaryrefslogtreecommitdiffstats
path: root/BoardConfig.mk
diff options
context:
space:
mode:
authorcodeworkx <codeworkx@cyanogenmod.org>2016-04-30 20:56:15 +0200
committercodeworkx <codeworkx@cyanogenmod.org>2016-04-30 20:56:15 +0200
commit732bf7a24e16add354c45704e237cb2357d2683c (patch)
treeb25b62ef6c1715638ab3e0b7b40961d13bf32ad1 /BoardConfig.mk
parent3dd3324a32a32cf6295e56b0bf7ef697d7d58bdd (diff)
parentd41c859a0678da88519a27560e75983c750155c0 (diff)
downloaddevice_samsung_n7100-732bf7a24e16add354c45704e237cb2357d2683c.zip
device_samsung_n7100-732bf7a24e16add354c45704e237cb2357d2683c.tar.gz
device_samsung_n7100-732bf7a24e16add354c45704e237cb2357d2683c.tar.bz2
Merge branch 'cm-13.0' of github.com:tilaksidduram/android_device_samsung_n7100 into HEAD
Change-Id: I492f715515d6cf681a5f6d2bc59f6929f92b7b47
Diffstat (limited to 'BoardConfig.mk')
-rw-r--r--BoardConfig.mk43
1 files changed, 19 insertions, 24 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 945d86d..abbfe29 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -19,10 +19,18 @@
-include device/samsung/smdk4412-common/BoardCommonConfig.mk
+# Bionic
+MALLOC_IMPL := dlmalloc
+
# RIL
BOARD_PROVIDES_LIBRIL := true
BOARD_MODEM_TYPE := xmm6262
+BOARD_RIL_CLASS := ../../../hardware/samsung/ril
TARGET_SPECIFIC_HEADER_PATH := device/samsung/n7100/include
+COMMON_GLOBAL_CFLAGS += -DDISABLE_ASHMEM_TRACKING
+
+# Graphics
+TARGET_REQUIRES_SYNCHRONOUS_SETSURFACE := true
# Bluetooth
BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/samsung/n7100/bluetooth
@@ -30,27 +38,9 @@ BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/samsung/n7100/bluetooth
# Kernel
TARGET_KERNEL_SOURCE := kernel/samsung/smdk4412
TARGET_KERNEL_CONFIG := cyanogenmod_n7100_defconfig
-BOARD_KERNEL_CMDLINE := console=ttySAC2,115200 androidboot.selinux=permissive
-
-# ril
-BOARD_RIL_CLASS := ../../../device/samsung/n7100/ril/telephony/java
-# Selinux
-#BOARD_SEPOLICY_DIRS := \
- device/samsung/n7100/selinux
-
-#BOARD_SEPOLICY_UNION := \
- device.te \
- domain.te \
- file.te \
- file_contexts \
- init.te \
- mediaserver.te \
- rild.te \
- system.te \
- ueventd.te \
- vold.te \
- wpa_supplicant.te
+# Power HAL
+TARGET_POWERHAL_VARIANT := samsung
# assert
TARGET_OTA_ASSERT_DEVICE := t03g,n7100,GT-N7100
@@ -58,12 +48,17 @@ TARGET_OTA_ASSERT_DEVICE := t03g,n7100,GT-N7100
# inherit from the proprietary version
-include vendor/samsung/n7100/BoardConfigVendor.mk
-# Blobs
-COMMON_GLOBAL_CFLAGS += -DNEEDS_VECTORIMPL_SYMBOLS
+# External apps on SD
+TARGET_EXTERNAL_APPS = sdcard1
# Recovery
TARGET_RECOVERY_FSTAB := device/samsung/n7100/rootdir/fstab.smdk4x12
+TARGET_USERIMAGES_USE_F2FS := true
RECOVERY_FSTAB_VERSION := 2
-# Camera wrapper
-TARGET_PROVIDES_CAMERA_HAL := true
+# Compatibility with pre-kitkat Sensor HALs
+SENSORS_NEED_SETRATE_ON_ENABLE := true
+
+# Selinux
+BOARD_SEPOLICY_DIRS += \
+ device/samsung/n7100/selinux