diff options
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__ |