diff options
author | Koushik Dutta <koushd@gmail.com> | 2012-04-11 10:11:52 -0700 |
---|---|---|
committer | Adnan Begovic <adnan@cyngn.com> | 2015-10-06 16:11:59 -0700 |
commit | fc56722f4df4f85a26537bcb493ebfece13b8269 (patch) | |
tree | a82cc02a561bd690a3205d891ba7f1f0eb9e4717 /tools/device | |
parent | 6ced9669436154040dd795aafbe2e280c9ca0434 (diff) | |
download | build-fc56722f4df4f85a26537bcb493ebfece13b8269.zip build-fc56722f4df4f85a26537bcb493ebfece13b8269.tar.gz build-fc56722f4df4f85a26537bcb493ebfece13b8269.tar.bz2 |
add cm.mk.template file for mkvendor.sh
Change-Id: Iba150a5350a7a7dbc9e3444d71d4ff293d51f3d7
fix template for mkvendor.sh
Change-Id: I2c78ed013053efa0c399e022502fd9ec4a1de8e6
mkvendor.sh: force armeabi-v7a
Change-Id: I9f29eec73a13144b47ff7b1db1d59cb1e5a4ef64
mkvendor.sh: typo
Change-Id: I8cc2303fde7c815384e09f65b6d4a1116ac29ee4
mkvendor.sh: more fixes
Change-Id: I0c641d42a96e44bb9170475d5de21cb8644e4d3d
BoardConfig.mk.template: Add TARGET_CPU_VARIANT
Change-Id: I8cd74a794e0d1a6818b5479cf7f5264e87d565f3
BoardConfig.mk.template: Add TARGET_CPU_SMP
This one is easy forget if not in the template
Change-Id: If65e557a661ecc81c6bfc434525b3c9937ff988e
Diffstat (limited to 'tools/device')
-rw-r--r-- | tools/device/BoardConfig.mk.template | 8 | ||||
-rw-r--r-- | tools/device/cm.mk.template | 18 |
2 files changed, 25 insertions, 1 deletions
diff --git a/tools/device/BoardConfig.mk.template b/tools/device/BoardConfig.mk.template index 66538e3..617673f 100644 --- a/tools/device/BoardConfig.mk.template +++ b/tools/device/BoardConfig.mk.template @@ -6,7 +6,13 @@ USE_CAMERA_STUB := true TARGET_ARCH := arm TARGET_NO_BOOTLOADER := true TARGET_BOARD_PLATFORM := unknown -TARGET_CPU_ABI := armeabi +TARGET_CPU_ABI := armeabi-v7a +TARGET_CPU_ABI2 := armeabi +TARGET_ARCH_VARIANT := armv7-a-neon +TARGET_CPU_VARIANT := cortex-a7 +TARGET_CPU_SMP := true +ARCH_ARM_HAVE_TLS_REGISTER := true + TARGET_BOOTLOADER_BOARD_NAME := __DEVICE__ BOARD_KERNEL_CMDLINE := __CMDLINE__ diff --git a/tools/device/cm.mk.template b/tools/device/cm.mk.template new file mode 100644 index 0000000..ed5ce1d --- /dev/null +++ b/tools/device/cm.mk.template @@ -0,0 +1,18 @@ +## Specify phone tech before including full_phone +$(call inherit-product, vendor/cm/config/gsm.mk) + +# Release name +PRODUCT_RELEASE_NAME := __DEVICE__ + +# Inherit some common CM stuff. +$(call inherit-product, vendor/cm/config/common_full_phone.mk) + +# Inherit device configuration +$(call inherit-product, device/__MANUFACTURER__/__DEVICE__/device___DEVICE__.mk) + +## Device identifier. This must come after all inclusions +PRODUCT_DEVICE := __DEVICE__ +PRODUCT_NAME := cm___DEVICE__ +PRODUCT_BRAND := __MANUFACTURER__ +PRODUCT_MODEL := __DEVICE__ +PRODUCT_MANUFACTURER := __MANUFACTURER__ |