prbassplayer | 9c2dcb9 | 2013-02-22 20:34:52 +0100 | [diff] [blame] | 1 | # Copyright (C) 2012 The CyanogenMod Project |
Griffin | 89eb988 | 2012-10-09 10:59:59 -0500 | [diff] [blame] | 2 | # |
| 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 | |
prbassplayer | 9c2dcb9 | 2013-02-22 20:34:52 +0100 | [diff] [blame] | 15 | # inherit from common celox |
| 16 | -include device/samsung/celox-common/BoardConfigCommon.mk |
Griffin | 89eb988 | 2012-10-09 10:59:59 -0500 | [diff] [blame] | 17 | |
| 18 | # inherit from the proprietary version |
| 19 | -include vendor/samsung/hercules/BoardConfigVendor.mk |
| 20 | |
prbassplayer | 9c2dcb9 | 2013-02-22 20:34:52 +0100 | [diff] [blame] | 21 | # Assert |
Ethan Chen | a12be31 | 2014-07-29 20:08:45 -0700 | [diff] [blame] | 22 | TARGET_BOARD_INFO_FILE ?= device/samsung/hercules/board-info.txt |
Griffin | 89eb988 | 2012-10-09 10:59:59 -0500 | [diff] [blame] | 23 | TARGET_OTA_ASSERT_DEVICE := SGH-T989,hercules |
| 24 | |
Dan Cartier | a761e7f | 2015-02-07 11:41:44 -0500 | [diff] [blame] | 25 | # Bluetooth |
| 26 | BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/samsung/hercules/bluetooth |
| 27 | |
Griffin | 89eb988 | 2012-10-09 10:59:59 -0500 | [diff] [blame] | 28 | # Kernel |
Ethan Chen | a12be31 | 2014-07-29 20:08:45 -0700 | [diff] [blame] | 29 | TARGET_KERNEL_CONFIG := cyanogenmod_hercules_defconfig |
Dan Cartier | cc5fc7d | 2015-03-22 21:26:35 -0400 | [diff] [blame] | 30 | TARGET_KERNEL_SOURCE := kernel/samsung/msm8660-common |
Dan Cartier | a761e7f | 2015-02-07 11:41:44 -0500 | [diff] [blame] | 31 | #KERNEL_TOOLCHAIN_PREFIX := arm-linux-gnueabihf- |
Dan Cartier | aba3c5f | 2015-03-02 16:50:32 -0500 | [diff] [blame] | 32 | #KERNEL_TOOLCHAIN := "$(ANDROID_BUILD_TOP)/prebuilts/gcc/linux-x86/arm/linaro-4.7-12.10/bin/" |
Griffin | 89eb988 | 2012-10-09 10:59:59 -0500 | [diff] [blame] | 33 | |
Ethan Chen | a12be31 | 2014-07-29 20:08:45 -0700 | [diff] [blame] | 34 | # Partitions |
| 35 | BOARD_FLASH_BLOCK_SIZE := 131072 |
Griffin | 89eb988 | 2012-10-09 10:59:59 -0500 | [diff] [blame] | 36 | BOARD_BOOTIMAGE_PARTITION_SIZE := 16777216 |
| 37 | BOARD_RECOVERYIMAGE_PARTITION_SIZE := 16776192 |
Dan Cartier | a761e7f | 2015-02-07 11:41:44 -0500 | [diff] [blame] | 38 | BOARD_SYSTEMIMAGE_PARTITION_SIZE := 627048448 |
Griffin | 89eb988 | 2012-10-09 10:59:59 -0500 | [diff] [blame] | 39 | BOARD_USERDATAIMAGE_PARTITION_SIZE := 20044333056 |
Ethan Chen | a12be31 | 2014-07-29 20:08:45 -0700 | [diff] [blame] | 40 | TARGET_USERIMAGES_USE_EXT4 := true |
Ethan | d64d843 | 2014-10-26 14:19:52 -0700 | [diff] [blame] | 41 | TARGET_USERIMAGES_USE_F2FS := true |
Griffin | 89eb988 | 2012-10-09 10:59:59 -0500 | [diff] [blame] | 42 | |
Dan Cartier | 4de7e44 | 2015-02-04 05:43:00 -0500 | [diff] [blame] | 43 | # Resolution |
| 44 | DEVICE_RESOLUTION := 480x800 |
| 45 | |