blob: 78df202401a19eaf42be58f91471a01ad4efc71a [file] [log] [blame]
Flyhalf20594560412013-03-30 11:08:47 -05001# Copyright (C) 2013 The Android Open Source 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).
26
Jared Caliendo3e31c512013-04-20 16:50:53 -070027# inherit from common msm8960
28-include device/htc/msm8960-common/BoardConfigCommon.mk
David Hays2ba37a02013-02-23 13:33:50 -060029
Flyhalf20594560412013-03-30 11:08:47 -050030# Bootloader
h8rift240ecb82013-04-21 09:23:43 -050031TARGET_BOOTLOADER_BOARD_NAME := m7
Flyhalf20594560412013-03-30 11:08:47 -050032
33# Kernel
h8rift240ecb82013-04-21 09:23:43 -050034TARGET_KERNEL_CONFIG := m7_defconfig
Flyhalf20594560412013-03-30 11:08:47 -050035
36# Bluetooth
h8rift240ecb82013-04-21 09:23:43 -050037BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/htc/m7/bluetooth
Flyhalf20594560412013-03-30 11:08:47 -050038
Flyhalf20594560412013-03-30 11:08:47 -050039# HTClog
40COMMON_GLOBAL_CFLAGS += -DHTCLOG
41
Flyhalf20594560412013-03-30 11:08:47 -050042# USB
43TARGET_USE_CUSTOM_LUN_FILE_PATH := /sys/devices/platform/msm_hsusb/gadget/lun%d/file
44
Flyhalf20594560412013-03-30 11:08:47 -050045# Filesystem
David Hays2ba37a02013-02-23 13:33:50 -060046BOARD_BOOTIMAGE_PARTITION_SIZE := 16777216
David Hays58844472013-03-04 10:53:26 -060047BOARD_RECOVERYIMAGE_PARTITION_SIZE := 16776704
David Hays2ba37a02013-02-23 13:33:50 -060048BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1946156032
David Haysc6b475e2013-03-04 11:17:57 -060049BOARD_USERDATAIMAGE_PARTITION_SIZE := 27917287424
David Hays2ba37a02013-02-23 13:33:50 -060050BOARD_FLASH_BLOCK_SIZE := 131072
51
Jared Caliendo3e31c512013-04-20 16:50:53 -070052# cat /proc/emmc:
53# dev: size erasesize name
54# mmcblk0p19: 000ffa00 00000200 "misc"
55# mmcblk0p36: 00fffe00 00000200 "recovery"
56# mmcblk0p35: 01000000 00000200 "boot"
57# mmcblk0p37: 73fffc00 00000200 "system"
58# mmcblk0p26: 00140200 00000200 "local"
59# mmcblk0p38: 27fffe00 00000200 "cache"
60# mmcblk0p39: 680000000 00000200 "userdata"
61# mmcblk0p22: 01400000 00000200 "devlog"
62# mmcblk0p24: 00040000 00000200 "pdata"
63# mmcblk0p27: 00010000 00000200 "extra"
64# mmcblk0p33: 04b00200 00000200 "radio"
65# mmcblk0p16: 03c00400 00000200 "adsp"
66# mmcblk0p15: 00100000 00000200 "dsps"
67# mmcblk0p17: 007ffa00 00000200 "radio_config"
68# mmcblk0p20: 00400000 00000200 "modem_st1"
69# mmcblk0p21: 00400000 00000200 "modem_st2"
70# mmcblk0p29: 00040000 00000200 "skylink"
71# mmcblk0p30: 01900000 00000200 "carrier"
72# mmcblk0p28: 00100000 00000200 "cdma_record"
73# mmcblk0p18: 02000000 00000200 "reserve_1"
74# mmcblk0p32: 034ffa00 00000200 "reserve_2"
75# mmcblk0p34: 05fffc00 00000200 "reserve_3"
76# mmcblk0p31: 04729a00 00000200 "reserve"