From 6afd21bced6513986f27d8cbc7d83bb2d804b5b0 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 25 Jul 2011 19:03:24 +0100 Subject: Add ARM tune file overhaul based largely on work from Mark Hatle (From OE-Core rev: 789dcb8e68a2ab9784ac10ab36815010c61af2fc) Signed-off-by: Richard Purdie --- meta/conf/machine/include/tune-strongarm1100.inc | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'meta/conf/machine/include/tune-strongarm1100.inc') diff --git a/meta/conf/machine/include/tune-strongarm1100.inc b/meta/conf/machine/include/tune-strongarm1100.inc index 2b76069208..66bab8e495 100644 --- a/meta/conf/machine/include/tune-strongarm1100.inc +++ b/meta/conf/machine/include/tune-strongarm1100.inc @@ -1,9 +1,12 @@ -require conf/machine/include/arm/arch-arm.inc +DEFAULTTUNE ?= "strongarm" -TUNE_PKGARCH = "arm" +require conf/machine/include/arm/arch-armv4.inc -# This machine lists common configuration options for Strongarm 1100 devices -# NOTE: The Zaurus Collie also has a Strongarm processor, but uses the 1110 type +TUNEVALID[strongarm] = "Enable Strongarm 1100 series processor optimizations" +TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "strongarm", "-mtune=strongarm1100", "", d)}" + +AVAILTUNES += "strongarm" +TUNE_FEATURES_tune-strongarm = "${TUNE_FEATURES_tune-armv4} strongarm" +PACKAGE_EXTRA_ARCHS_tune-strongarm = "${PACKAGE_EXTRA_ARCHS_tune-armv4}" -TUNE_CCARGS = "-march=armv4 -mtune=strongarm1100" -- cgit v1.2.3-54-g00ecf