From b9641bc7d4c49ba04423f093d2f859b24a209b9a Mon Sep 17 00:00:00 2001 From: Andrew Jiang Date: Sat, 16 Feb 2013 06:05:54 -0500 Subject: omap4-common: Consolidate CPU configs & opt-in to bionic optimizations Patch Set 2: Also consolidate TARGET_BOARD_PLATFORM Change-Id: I52c14538432968971f57f724167dda2d49949564 --- BoardConfigCommon.mk | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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 -- cgit v1.1