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:45:48 +0100 |
commit | 6afd21bced6513986f27d8cbc7d83bb2d804b5b0 (patch) | |
tree | 69e2b6c2fde4c15d948f9a8f798a30926f858600 /meta/conf/machine/include/arm/arch-armv6.inc | |
parent | 30ddd02277d4513e2649ed168a513205e244bcb1 (diff) | |
download | poky-6afd21bced6513986f27d8cbc7d83bb2d804b5b0.tar.gz |
Add ARM tune file overhaul based largely on work from Mark Hatle
(From OE-Core rev: 789dcb8e68a2ab9784ac10ab36815010c61af2fc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/machine/include/arm/arch-armv6.inc')
-rw-r--r-- | meta/conf/machine/include/arm/arch-armv6.inc | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/conf/machine/include/arm/arch-armv6.inc b/meta/conf/machine/include/arm/arch-armv6.inc new file mode 100644 index 0000000000..20924c92cb --- /dev/null +++ b/meta/conf/machine/include/arm/arch-armv6.inc | |||
@@ -0,0 +1,32 @@ | |||
1 | DEFAULTTUNE ?= "armv6" | ||
2 | |||
3 | ARMPKGARCH ?= "armv6" | ||
4 | |||
5 | TUNEVALID[armv6] = "Enable instructions for ARMv6" | ||
6 | TUNE_CONFLICTS[armv6] = "armv4 armv5" | ||
7 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "armv6", "-march=armv6", "", d)}" | ||
8 | |||
9 | require conf/machine/include/arm/arch-armv5-dsp.inc | ||
10 | |||
11 | # Little Endian | ||
12 | AVAILTUNES += "armv6 armv6t armv6hf armv6thf" | ||
13 | TUNE_FEATURES_tune-armv6 ?= "armv6 vfp" | ||
14 | TUNE_FEATURES_tune-armv6t ?= "armv6 vfp thumb" | ||
15 | TUNE_FEATURES_tune-armv6hf ?= "${TUNE_FEATURES_tune-armv6} callconvention-hard" | ||
16 | TUNE_FEATURES_tune-armv6thf ?= "${TUNE_FEATURES_tune-armv6t} callconvention-hard" | ||
17 | PACKAGE_EXTRA_ARCHS_tune-armv6 = "${PACKAGE_EXTRA_ARCHS_tune-armv5e-vfp} armv6-vfp" | ||
18 | PACKAGE_EXTRA_ARCHS_tune-armv6t = "${PACKAGE_EXTRA_ARCHS_tune-armv5te-vfp} armv6-vfp armv6t-vfp" | ||
19 | PACKAGE_EXTRA_ARCHS_tune-armv6hf = "${PACKAGE_EXTRA_ARCHS_tune-armv5ehf-vfp} armv6hf-vfp" | ||
20 | PACKAGE_EXTRA_ARCHS_tune-armv6thf = "${PACKAGE_EXTRA_ARCHS_tune-armv5tehf-vfp} armv6hf-vfp armv6thf-vfp" | ||
21 | |||
22 | # Big Endian | ||
23 | AVAILTUNES += "armv6b armv6tb armv6hfb armv6thfb" | ||
24 | TUNE_FEATURES_tune-armv6b ?= "${TUNE_FEATURES_tune-armv6} bigendian" | ||
25 | TUNE_FEATURES_tune-armv6tb ?= "${TUNE_FEATURES_tune-armv6t} bigendian" | ||
26 | TUNE_FEATURES_tune-armv6hfb ?= "${TUNE_FEATURES_tune-armv6b} callconvention-hard" | ||
27 | TUNE_FEATURES_tune-armv6thfb ?= "${TUNE_FEATURES_tune-armv6tb} callconvention-hard" | ||
28 | PACKAGE_EXTRA_ARCHS_tune-armv6b = "${PACKAGE_EXTRA_ARCHS_tune-armv5e-vfp} armv6b-vfp" | ||
29 | PACKAGE_EXTRA_ARCHS_tune-armv6tb = "${PACKAGE_EXTRA_ARCHS_tune-armv5te-vfp} armv6b-vfp armv6tb-vfp" | ||
30 | PACKAGE_EXTRA_ARCHS_tune-armv6hfb = "${PACKAGE_EXTRA_ARCHS_tune-armv5ehfb-vfp} armv6hfb-vfp" | ||
31 | PACKAGE_EXTRA_ARCHS_tune-armv6thfb = "${PACKAGE_EXTRA_ARCHS_tune-armv5tehfb-vfp} armv6hfb-vfp armv6thfb-vfp" | ||
32 | |||