diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-25 19:03:24 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-27 15:43:38 +0100 |
commit | 789dcb8e68a2ab9784ac10ab36815010c61af2fc (patch) | |
tree | e0930a7f1900bc907a2bd3e372d20512e4328fe3 /meta/conf/machine/include/tune-ep9312.inc | |
parent | c64d075b3d367e6c76aafa17782585d026b1f31e (diff) | |
download | openembedded-core-contrib-789dcb8e68a2ab9784ac10ab36815010c61af2fc.tar.gz |
Add ARM tune file overhaul based largely on work from Mark Hatle
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/machine/include/tune-ep9312.inc')
-rw-r--r-- | meta/conf/machine/include/tune-ep9312.inc | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/meta/conf/machine/include/tune-ep9312.inc b/meta/conf/machine/include/tune-ep9312.inc index e04a00a984..f10123f0dc 100644 --- a/meta/conf/machine/include/tune-ep9312.inc +++ b/meta/conf/machine/include/tune-ep9312.inc @@ -1,9 +1,13 @@ -require conf/machine/include/arm/arch-arm.inc +DEFAULTTUNE ?= "ep9312" +ARMPKGARCH ?= "ep9312" -TUNE_CCARGS = "-march=ep9312 -mtune=ep9312 -mcpu=ep9312" -# add "-mfp=maverick" for newer gcc versions > 4.0 +require conf/machine/include/arm/arch-armv4.inc + +TUNEVALID[ep9312] = "Enable Intel PXA27x specific processor optimizations" +TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "ep9312", "-march=ep9312 -mtune=ep9312", "", d)}" + +AVAILTUNES += "ep9312" +TUNE_FEATURES_tune-ep9312 = "thumb ep9312" +PACKAGE_EXTRA_ARCHS_tune-ep9312 = "${PACKAGE_EXTRA_ARCHS_tune-armv4t} ep9312" -#set arch to ep9312 for all generated packages -PACKAGE_EXTRA_ARCHS = "arm armv4t ep9312" -TUNE_PKGARCH = "ep9312" |