blob: bd087ae085de7c47499b24253f71dd5f7e366b30 [file] [log] [blame]
# Copyright (C) 2012 The CyanogenMod Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# inherit from common celox
-include device/samsung/celox-common/BoardConfigCommon.mk
# inherit from the proprietary version
-include vendor/samsung/hercules/BoardConfigVendor.mk
# Assert
TARGET_BOARD_INFO_FILE ?= device/samsung/hercules/board-info.txt
TARGET_OTA_ASSERT_DEVICE := SGH-T989,hercules
# Bluetooth
BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/samsung/hercules/bluetooth
# Kernel
TARGET_KERNEL_CONFIG := cyanogenmod_hercules_defconfig
TARGET_KERNEL_SOURCE := kernel/samsung/msm8660-common
#KERNEL_TOOLCHAIN_PREFIX := arm-linux-gnueabihf-
#KERNEL_TOOLCHAIN := "$(ANDROID_BUILD_TOP)/prebuilts/gcc/linux-x86/arm/linaro-4.7-12.10/bin/"
# Partitions
BOARD_FLASH_BLOCK_SIZE := 131072
BOARD_BOOTIMAGE_PARTITION_SIZE := 16777216
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 16776192
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 627048448
BOARD_USERDATAIMAGE_PARTITION_SIZE := 20044333056
TARGET_USERIMAGES_USE_EXT4 := true
TARGET_USERIMAGES_USE_F2FS := true
# Resolution
DEVICE_RESOLUTION := 480x800