blob: 39b9bb9668ddc1dfdeb43eb541a2496cec8e78be [file] [log] [blame]
thomasc8ba46d2014-08-01 22:42:11 -05001# Copyright (C) 2012 The CyanogenMod Project
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
15#
16# This file sets variables that control the way modules are built
17# thorughout the system. It should not be used to conditionally
18# disable makefiles (the proper mechanism to control what gets
19# included in a build is to use PRODUCT_PACKAGES in a product
20# definition file).
21#
22
23# WARNING: This line must come *before* including the proprietary
24# variant, so that it gets overwritten by the parent (which goes
25# against the traditional rules of inheritance).
26USE_CAMERA_STUB := true
27
28# inherit from common celox
29-include device/samsung/celox-common/BoardConfigCommon.mk
30
31# inherit from the proprietary version
32-include vendor/samsung/skyrocket/BoardConfigVendor.mk
33
34TARGET_BOOTLOADER_BOARD_NAME := MSM8660_SURF
35
36# Assert
37TARGET_OTA_ASSERT_DEVICE := SGH-I727,skyrocket
38
39# Kernel
40TARGET_KERNEL_CONFIG := lz_skyrocket_defconfig
41TARGET_KERNEL_SOURCE := kernel/samsung/msm8660-common
thomaseb64be12014-08-05 21:38:39 -050042TARGET_KERNEL_CUSTOM_TOOLCHAIN := linaro-arm-eabi-4.7
thomasc8ba46d2014-08-01 22:42:11 -050043
44# Assert minimum baseband version
45TARGET_BOARD_INFO_FILE ?= device/samsung/skyrocket/board-info.txt
46
47# cat /proc/emmc
48#dev: size erasesize name
49#mmcblk0p22: 00fffc00 00000200 "recovery"
50#mmcblk0p8: 01000000 00000200 "boot"
51#mmcblk0p24: 5ffffc00 00000200 "system"
52#mmcblk0p26: 13fffe00 00000200 "cache"
53#mmcblk0p25: 9ffffe00 00000200 "userdata"
54
55TARGET_USERIMAGES_USE_EXT4 := true
56BOARD_BOOTIMAGE_PARTITION_SIZE := 16777216
57BOARD_RECOVERYIMAGE_PARTITION_SIZE := 16776192
58BOARD_SYSTEMIMAGE_PARTITION_SIZE := 838860800
59BOARD_USERDATAIMAGE_PARTITION_SIZE := 20044333056
60BOARD_FLASH_BLOCK_SIZE := 131072
61
62BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/samsung/skyrocket/bluetooth
63