summaryrefslogtreecommitdiffstats
path: root/BoardConfig.mk
diff options
context:
space:
mode:
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