summaryrefslogtreecommitdiffstats
path: root/meta/conf/machine/include/tune-cortexa8.inc
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-22 14:15:20 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-25 12:06:30 +0100
commit039a2d006b7349822509ae612f41e24b12b631a6 (patch)
tree40131895b574d22118664892ba4968a31534a426 /meta/conf/machine/include/tune-cortexa8.inc
parentdffe253336f4cc1999ad2a2323d346bfa5f22047 (diff)
downloadpoky-039a2d006b7349822509ae612f41e24b12b631a6.tar.gz
conf/machine/tune: Overhaul tune include file variables
There is currently consideradble confusion over how the tune files operate and how these interact with the rest of the build system. This update/overhaul changes things so the tune files are primarily resonsible for setting: TUNE_ARCH - What was formerly set as TARGET_ARCH and is the value that represents the architecture we're targetting. TUNE_PKGARCH - The value that represents the tune confuration that this set of tune parameters results in. This allows the significant improvement that the core can now always determine the target architecture value, even when TARGET_ARCH needs to be reset to something different and likewise, there is one package architecture variable the core can reference allowing simplification of the BASE_PACKAGE_ARCH, PACKAGE_ARCH and FEED_ARCH variables. (From OE-Core rev: a10de4cf8b424ee95c8e283e75d486be5b3b8eac) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/machine/include/tune-cortexa8.inc')
-rw-r--r--meta/conf/machine/include/tune-cortexa8.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/conf/machine/include/tune-cortexa8.inc b/meta/conf/machine/include/tune-cortexa8.inc
index a5b982ab78..cf5b418287 100644
--- a/meta/conf/machine/include/tune-cortexa8.inc
+++ b/meta/conf/machine/include/tune-cortexa8.inc
@@ -1,3 +1,5 @@
1TUNE_ARCH = "arm"
2
1# Instead of using -mfpu=vfp[2] we can use -mfpu=neon to make use of gcc intrinsics[1] and vectorize loops with -ftree-vectorize[3] 3# Instead of using -mfpu=vfp[2] we can use -mfpu=neon to make use of gcc intrinsics[1] and vectorize loops with -ftree-vectorize[3]
2# [1] http://gcc.gnu.org/onlinedocs/gcc/ARM-NEON-Intrinsics.html 4# [1] http://gcc.gnu.org/onlinedocs/gcc/ARM-NEON-Intrinsics.html
3# [2] http://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html 5# [2] http://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html
@@ -8,6 +10,5 @@ TARGET_CC_ARCH = "-march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp
8# Other potentially useful options 10# Other potentially useful options
9#-ftree-vectorize -ffast-math -fno-omit-frame-pointer 11#-ftree-vectorize -ffast-math -fno-omit-frame-pointer
10 12
11FEED_ARCH = "armv7a" 13TUNE_PKGARCH = "armv7a"
12BASE_PACKAGE_ARCH = "armv7a"
13PACKAGE_EXTRA_ARCHS = "arm armv4 armv4t armv5te armv6 armv7 armv7a" 14PACKAGE_EXTRA_ARCHS = "arm armv4 armv4t armv5te armv6 armv7 armv7a"