Flyhalf205 | 9456041 | 2013-03-30 11:08:47 -0500 | [diff] [blame] | 1 | # 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 | |
Daniel Hillenbrand | 80321d6 | 2013-05-05 17:58:24 +0200 | [diff] [blame] | 27 | # inherit from common m7-common |
Richard Ross | 5a75608 | 2013-04-26 20:33:28 -0400 | [diff] [blame] | 28 | -include device/htc/m7-common/BoardConfigCommon.mk |
David Hays | 2ba37a0 | 2013-02-23 13:33:50 -0600 | [diff] [blame] | 29 | |
Ethan Chen | aacb7ea | 2013-05-28 19:30:11 -0700 | [diff] [blame] | 30 | # Assert |
Ethan Chen | 641e8c3 | 2013-05-29 14:26:53 -0700 | [diff] [blame] | 31 | TARGET_OTA_ASSERT_DEVICE := m7wls,m7spr |
Ethan Chen | aacb7ea | 2013-05-28 19:30:11 -0700 | [diff] [blame] | 32 | |
Flyhalf205 | 9456041 | 2013-03-30 11:08:47 -0500 | [diff] [blame] | 33 | # Bootloader |
Jared Caliendo | 3e31c51 | 2013-04-20 16:50:53 -0700 | [diff] [blame] | 34 | TARGET_BOOTLOADER_BOARD_NAME := m7wls |
Flyhalf205 | 9456041 | 2013-03-30 11:08:47 -0500 | [diff] [blame] | 35 | |
Ethan Chen | 8e3b522 | 2013-05-28 14:21:54 -0700 | [diff] [blame] | 36 | # Filesystem |
Ethan Chen | 8e3b522 | 2013-05-28 14:21:54 -0700 | [diff] [blame] | 37 | BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1946156032 |
| 38 | BOARD_USERDATAIMAGE_PARTITION_SIZE := 27917287424 |
Daniel Hillenbrand | af8405b | 2013-06-04 00:47:38 +0200 | [diff] [blame] | 39 | |
Jared Caliendo | 3e31c51 | 2013-04-20 16:50:53 -0700 | [diff] [blame] | 40 | # cat /proc/emmc: |
| 41 | # dev: size erasesize name |
| 42 | # mmcblk0p19: 000ffa00 00000200 "misc" |
| 43 | # mmcblk0p36: 00fffe00 00000200 "recovery" |
| 44 | # mmcblk0p35: 01000000 00000200 "boot" |
| 45 | # mmcblk0p37: 73fffc00 00000200 "system" |
| 46 | # mmcblk0p26: 00140200 00000200 "local" |
| 47 | # mmcblk0p38: 27fffe00 00000200 "cache" |
| 48 | # mmcblk0p39: 680000000 00000200 "userdata" |
| 49 | # mmcblk0p22: 01400000 00000200 "devlog" |
| 50 | # mmcblk0p24: 00040000 00000200 "pdata" |
| 51 | # mmcblk0p27: 00010000 00000200 "extra" |
| 52 | # mmcblk0p33: 04b00200 00000200 "radio" |
| 53 | # mmcblk0p16: 03c00400 00000200 "adsp" |
| 54 | # mmcblk0p15: 00100000 00000200 "dsps" |
| 55 | # mmcblk0p17: 007ffa00 00000200 "radio_config" |
| 56 | # mmcblk0p20: 00400000 00000200 "modem_st1" |
| 57 | # mmcblk0p21: 00400000 00000200 "modem_st2" |
| 58 | # mmcblk0p29: 00040000 00000200 "skylink" |
| 59 | # mmcblk0p30: 01900000 00000200 "carrier" |
| 60 | # mmcblk0p28: 00100000 00000200 "cdma_record" |
| 61 | # mmcblk0p18: 02000000 00000200 "reserve_1" |
| 62 | # mmcblk0p32: 034ffa00 00000200 "reserve_2" |
| 63 | # mmcblk0p34: 05fffc00 00000200 "reserve_3" |
| 64 | # mmcblk0p31: 04729a00 00000200 "reserve" |
Daniel Hillenbrand | 897e813 | 2013-04-27 13:44:01 +0200 | [diff] [blame] | 65 | |
| 66 | # inherit from the proprietary version |
Ethan Chen | 8e3b522 | 2013-05-28 14:21:54 -0700 | [diff] [blame] | 67 | -include vendor/htc/m7spr/BoardConfigVendor.mk |