Home | History | Annotate | Download | only in dream
      1 # Copyright (C) 2007 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 # config.mk
     16 #
     17 # Product-specific compile-time definitions.
     18 #
     19 
     20 # WARNING: This line must come *before* including the proprietary
     21 # variant, so that it gets overwritten by the parent (which goes
     22 # against the traditional rules of inheritance).
     23 USE_CAMERA_STUB := true
     24 
     25 -include vendor/htc/dream/BoardConfigVendor.mk
     26 
     27 TARGET_BOOTLOADER_BOARD_NAME := trout
     28 
     29 # # cat /proc/mtd
     30 # dev:    size   erasesize  name
     31 # mtd0: 000c0000 00020000 "hboot"
     32 # mtd1: 00500000 00020000 "recovery"
     33 # mtd2: 00280000 00020000 "boot"
     34 # mtd3: 04380000 00020000 "system"
     35 # mtd4: 04380000 00020000 "cache"
     36 # mtd5: 04ac0000 00020000 "userdata"
     37 BOARD_BOOTIMAGE_PARTITION_SIZE := 0x00280000
     38 BOARD_RECOVERYIMAGE_PARTITION_SIZE := 0x00500000
     39 BOARD_SYSTEMIMAGE_PARTITION_SIZE := 0x04380000
     40 BOARD_USERDATAIMAGE_PARTITION_SIZE := 0x04ac0000
     41 
     42 TARGET_RECOVERY_UI_LIB := librecovery_ui_dream librecovery_ui_htc
     43 
     44 include device/htc/dream-sapphire/BoardConfigCommon.mk
     45