blob: bd087ae085de7c47499b24253f71dd5f7e366b30 [file] [log] [blame]
prbassplayer9c2dcb92013-02-22 20:34:52 +01001# Copyright (C) 2012 The CyanogenMod Project
Griffin89eb9882012-10-09 10:59:59 -05002#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
prbassplayer9c2dcb92013-02-22 20:34:52 +010015# inherit from common celox
16-include device/samsung/celox-common/BoardConfigCommon.mk
Griffin89eb9882012-10-09 10:59:59 -050017
18# inherit from the proprietary version
19-include vendor/samsung/hercules/BoardConfigVendor.mk
20
prbassplayer9c2dcb92013-02-22 20:34:52 +010021# Assert
Ethan Chena12be312014-07-29 20:08:45 -070022TARGET_BOARD_INFO_FILE ?= device/samsung/hercules/board-info.txt
Griffin89eb9882012-10-09 10:59:59 -050023TARGET_OTA_ASSERT_DEVICE := SGH-T989,hercules
24
Dan Cartiera761e7f2015-02-07 11:41:44 -050025# Bluetooth
26BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/samsung/hercules/bluetooth
27
Griffin89eb9882012-10-09 10:59:59 -050028# Kernel
Ethan Chena12be312014-07-29 20:08:45 -070029TARGET_KERNEL_CONFIG := cyanogenmod_hercules_defconfig
Dan Cartiercc5fc7d2015-03-22 21:26:35 -040030TARGET_KERNEL_SOURCE := kernel/samsung/msm8660-common
Dan Cartiera761e7f2015-02-07 11:41:44 -050031#KERNEL_TOOLCHAIN_PREFIX := arm-linux-gnueabihf-
Dan Cartieraba3c5f2015-03-02 16:50:32 -050032#KERNEL_TOOLCHAIN := "$(ANDROID_BUILD_TOP)/prebuilts/gcc/linux-x86/arm/linaro-4.7-12.10/bin/"
Griffin89eb9882012-10-09 10:59:59 -050033
Ethan Chena12be312014-07-29 20:08:45 -070034# Partitions
35BOARD_FLASH_BLOCK_SIZE := 131072
Griffin89eb9882012-10-09 10:59:59 -050036BOARD_BOOTIMAGE_PARTITION_SIZE := 16777216
37BOARD_RECOVERYIMAGE_PARTITION_SIZE := 16776192
Dan Cartiera761e7f2015-02-07 11:41:44 -050038BOARD_SYSTEMIMAGE_PARTITION_SIZE := 627048448
Griffin89eb9882012-10-09 10:59:59 -050039BOARD_USERDATAIMAGE_PARTITION_SIZE := 20044333056
Ethan Chena12be312014-07-29 20:08:45 -070040TARGET_USERIMAGES_USE_EXT4 := true
Ethand64d8432014-10-26 14:19:52 -070041TARGET_USERIMAGES_USE_F2FS := true
Griffin89eb9882012-10-09 10:59:59 -050042
Dan Cartier4de7e442015-02-04 05:43:00 -050043# Resolution
44DEVICE_RESOLUTION := 480x800
45