summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Jiang <sam.andrew.jiang@gmail.com>2013-02-16 06:05:54 -0500
committerAndrew Jiang <sam.andrew.jiang@gmail.com>2013-02-17 06:33:32 -0500
commitb9641bc7d4c49ba04423f093d2f859b24a209b9a (patch)
tree73fa50c1bd500483a11f64bd7419b1e068e76ab3
parent222b794ae146b4e0d61958c55a518396e293e6d7 (diff)
downloaddevice_samsung_omap4-common-b9641bc7d4c49ba04423f093d2f859b24a209b9a.zip
device_samsung_omap4-common-b9641bc7d4c49ba04423f093d2f859b24a209b9a.tar.gz
device_samsung_omap4-common-b9641bc7d4c49ba04423f093d2f859b24a209b9a.tar.bz2
omap4-common: Consolidate CPU configs & opt-in to bionic optimizations
Patch Set 2: Also consolidate TARGET_BOARD_PLATFORM Change-Id: I52c14538432968971f57f724167dda2d49949564
-rw-r--r--BoardConfigCommon.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk
index a44100e..831aa30 100644
--- a/BoardConfigCommon.mk
+++ b/BoardConfigCommon.mk
@@ -21,6 +21,20 @@ BOARD_VENDOR := samsung
PRODUCT_VENDOR_KERNEL_HEADERS := $(COMMON_PATH)/kernel-headers
TARGET_SPECIFIC_HEADER_PATH := $(COMMON_PATH)/include
+# CPU
+TARGET_CPU_ABI := armeabi-v7a
+TARGET_CPU_ABI2 := armeabi
+TARGET_CPU_SMP := true
+TARGET_ARCH := arm
+TARGET_ARCH_VARIANT := armv7-a-neon
+TARGET_ARCH_VARIANT_CPU := cortex-a9
+ARCH_ARM_HAVE_TLS_REGISTER := true
+TARGET_GLOBAL_CFLAGS += -mtune=cortex-a9 -mfpu=neon -mfloat-abi=softfp
+TARGET_GLOBAL_CPPFLAGS += -mtune=cortex-a9 -mfpu=neon -mfloat-abi=softfp
+
+# Platform
+TARGET_BOARD_PLATFORM := omap4
+
# HWComposer
BOARD_USES_HWCOMPOSER := true
BOARD_USE_SYSFS_VSYNC_NOTIFICATION := true