LOCAL_PATH := device/samsung/universal7580-common
BUILD_TOP := $(shell pwd)
+BUILD_BROKEN_DUP_RULES := true
+
# Include path
TARGET_SPECIFIC_HEADER_PATH := $(LOCAL_PATH)/include
TARGET_CPU_VARIANT := cortex-a53
TARGET_CPU_CORTEX_A53 := true
+# Audio
+USE_XML_AUDIO_POLICY_CONF := 1
+
# Binder
TARGET_USES_64_BIT_BINDER := true
#BOARD_KERNEL_CMDLINE := The bootloader ignores the cmdline from the boot.img
BOARD_KERNEL_SEPARATED_DT := true
TARGET_CUSTOM_DTBTOOL := dtbhtoolExynos
+BOARD_ROOT_EXTRA_FOLDERS += efs cpefs
+TARGET_FS_CONFIG_GEN := $(LOCAL_PATH)/config.fs
# Kernel
TARGET_KERNEL_ARCH := arm64
# Use these flags if the board has a ext4 partition larger than 2gb
BOARD_HAS_LARGE_FILESYSTEM := true
TARGET_USERIMAGES_USE_EXT4 := true
+BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
+
+# Exclude AudioFX
+TARGET_EXCLUDES_AUDIOFX := true
# Extended filesystem support
TARGET_EXFAT_DRIVER := sdfat