From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from vms173009pub.verizon.net ([206.46.173.9]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1TP06E-0004eo-Hw for openembedded-core@lists.openembedded.org; Fri, 19 Oct 2012 02:06:02 +0200 Received: from gandalf.denix.org ([unknown] [72.66.25.115]) by vms173009.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0MC400JR026RSGL0@vms173009.mailsrvcs.net> for openembedded-core@lists.openembedded.org; Thu, 18 Oct 2012 17:52:19 -0500 (CDT) Received: from localhost.localdomain (elrond [192.168.0.7]) by gandalf.denix.org (Postfix) with ESMTP id BF6CF201CD; Thu, 18 Oct 2012 18:52:03 -0400 (EDT) From: Denys Dmytriyenko To: openembedded-core@lists.openembedded.org Date: Thu, 18 Oct 2012 18:51:58 -0400 Message-id: <1350600718-3052-3-git-send-email-denis@denix.org> X-Mailer: git-send-email 1.7.12.3 In-reply-to: <1350600718-3052-1-git-send-email-denis@denix.org> References: <1350600718-3052-1-git-send-email-denis@denix.org> Cc: Denys Dmytriyenko Subject: [PATCH 2/2] tune-cortexa7: add tunes for ARM Cortex-A7 X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Oct 2012 00:06:02 -0000 From: Denys Dmytriyenko http://www.arm.com/products/processors/cortex-a/cortex-a7.php Signed-off-by: Denys Dmytriyenko --- meta/conf/machine/include/tune-cortexa7.inc | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 meta/conf/machine/include/tune-cortexa7.inc diff --git a/meta/conf/machine/include/tune-cortexa7.inc b/meta/conf/machine/include/tune-cortexa7.inc new file mode 100644 index 0000000..8e41139 --- /dev/null +++ b/meta/conf/machine/include/tune-cortexa7.inc @@ -0,0 +1,24 @@ +DEFAULTTUNE ?= "cortexa7-neon" + +require conf/machine/include/arm/arch-armv7a.inc + +TUNEVALID[cortexa7] = "Enable Cortex-A7 specific processor optimizations" +TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "cortexa7", "-mtune=cortex-a7", "", d)}" + +# Little Endian base configs +AVAILTUNES += "cortexa7 cortexa7t cortexa7-neon" +TUNE_FEATURES_tune-cortexa7 = "${TUNE_FEATURES_tune-armv7a} cortexa7" +TUNE_FEATURES_tune-cortexa7t = "${TUNE_FEATURES_tune-armv7at} cortexa7" +TUNE_FEATURES_tune-cortexa7-neon = "${TUNE_FEATURES_tune-armv7a-neon} cortexa7" +PACKAGE_EXTRA_ARCHS_tune-cortexa7 = "${PACKAGE_EXTRA_ARCHS_tune-armv7a}" +PACKAGE_EXTRA_ARCHS_tune-cortexa7t = "${PACKAGE_EXTRA_ARCHS_tune-armv7at}" +PACKAGE_EXTRA_ARCHS_tune-cortexa7-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7a-neon}" + +# VFP Tunes +AVAILTUNES += "cortexa7hf cortexa7thf cortexa7hf-neon" +TUNE_FEATURES_tune-cortexa7hf ?= "${TUNE_FEATURES_tune-armv7ahf} cortexa7" +TUNE_FEATURES_tune-cortexa7thf ?= "${TUNE_FEATURES_tune-armv7athf} cortexa7" +TUNE_FEATURES_tune-cortexa7hf-neon ?= "${TUNE_FEATURES_tune-armv7ahf-neon} cortexa7" +PACKAGE_EXTRA_ARCHS_tune-cortexa7hf = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf}" +PACKAGE_EXTRA_ARCHS_tune-cortexa7thf = "${PACKAGE_EXTRA_ARCHS_tune-armv7athf}" +PACKAGE_EXTRA_ARCHS_tune-cortexa7hf-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf-neon}" -- 1.7.12.3