diff options
Diffstat (limited to 'meta/conf/machine/include/arm')
-rw-r--r-- | meta/conf/machine/include/arm/README | 40 | ||||
-rw-r--r-- | meta/conf/machine/include/arm/arch-arm.inc | 2 | ||||
-rw-r--r-- | meta/conf/machine/include/arm/arch-armv5.inc | 2 | ||||
-rw-r--r-- | meta/conf/machine/include/arm/arch-armv7a.inc | 6 |
4 files changed, 45 insertions, 5 deletions
diff --git a/meta/conf/machine/include/arm/README b/meta/conf/machine/include/arm/README new file mode 100644 index 0000000000..a1beb75fdf --- /dev/null +++ b/meta/conf/machine/include/arm/README | |||
@@ -0,0 +1,40 @@ | |||
1 | 2012/03/30 - Mark Hatle <mark.hatle@windriver.com> | ||
2 | - Initial Revision | ||
3 | |||
4 | The ARM architecture definitions are split among a number of files. | ||
5 | The primary definitions for the variables are handled by the core | ||
6 | arch-arm.inc file. | ||
7 | |||
8 | TUNE_ARCH is set to either "arm" or "armeb" depending on the value | ||
9 | of the existence of the "bigendian" feature in a given tune. | ||
10 | |||
11 | A small set of ARM specific variables have been defined to allow | ||
12 | TUNE_PKGARCH to be automatically defined. Optimized tunings must NOT | ||
13 | change the definiton of TUNE_PKGARCH. TUNE_PKGACH_tune-<tune> will be | ||
14 | ignored. The format of the package arch is enforced by the TUNE_PKGARCH | ||
15 | default. The format must be of the form: | ||
16 | <armversion>[t][e][hf][b][-vfp][-neon] | ||
17 | |||
18 | TUNE_PKGARCH is defined as: | ||
19 | ${ARMPKGARCH}${ARMPKGSFX_THUMB}${ARMPKGSFX_DSP}${ARMPKGSFX_EABI}${ARMPKGSFX_ENDIAN}${ARMPKGSFX_FPU} | ||
20 | |||
21 | ARMPKGARCH - This is the core package arch component specified by each | ||
22 | tuning. This is the primary identifier of a tuning. Usual values are: | ||
23 | arm, armv4, armv5, armv6, armv7a, etc. | ||
24 | |||
25 | ARMPKGSFX_THUMB - This is the thumb specific suffix. Curently it is | ||
26 | defined in feature-arm-thumb.inc. | ||
27 | |||
28 | ARMPKGSFX_DSP - This is the DSP specific suffix. Currently this is set | ||
29 | to 'e' when on armv5 and the dsp feature is enabled. | ||
30 | |||
31 | ARMPKGSFX_EABI - This is the eabi specific suffix. There are currently | ||
32 | two defined ABIs specificed, standard EABI and Hard Float (VFP) EABI. | ||
33 | When the callconvention-hard is enabled, "hf" is specified, otherwise it | ||
34 | is blank. | ||
35 | |||
36 | ARMPKGSFX_ENDIAN - This is the endian specific suffix. It is defined in | ||
37 | the core arch-arm.inc file. | ||
38 | |||
39 | ARMPKGSFX_FPU - This is the FPU specific suffix. The suffix indicates | ||
40 | specific FPU optimizations. 'vfp' and 'neon' are both defined. | ||
diff --git a/meta/conf/machine/include/arm/arch-arm.inc b/meta/conf/machine/include/arm/arch-arm.inc index 4ea8b2b2d1..da51044093 100644 --- a/meta/conf/machine/include/arm/arch-arm.inc +++ b/meta/conf/machine/include/arm/arch-arm.inc | |||
@@ -9,7 +9,7 @@ ARMPKGSFX_EABI ??= "" | |||
9 | ARMPKGSFX_THUMB ??= "" | 9 | ARMPKGSFX_THUMB ??= "" |
10 | 10 | ||
11 | TUNE_ARCH = "${@bb.utils.contains("TUNE_FEATURES", "bigendian", "armeb", "arm", d)}" | 11 | TUNE_ARCH = "${@bb.utils.contains("TUNE_FEATURES", "bigendian", "armeb", "arm", d)}" |
12 | TUNE_PKGARCH = "${@d.getVar('ARMPKGARCH', True)}${ARMPKGSFX_THUMB}${ARMPKGSFX_DSP}${ARMPKGSFX_EABI}${ARMPKGSFX_ENDIAN}${ARMPKGSFX_FPU}" | 12 | TUNE_PKGARCH = "${ARMPKGARCH}${ARMPKGSFX_THUMB}${ARMPKGSFX_DSP}${ARMPKGSFX_EABI}${ARMPKGSFX_ENDIAN}${ARMPKGSFX_FPU}" |
13 | 13 | ||
14 | ABIEXTENSION = "eabi" | 14 | ABIEXTENSION = "eabi" |
15 | 15 | ||
diff --git a/meta/conf/machine/include/arm/arch-armv5.inc b/meta/conf/machine/include/arm/arch-armv5.inc index fd3490f800..4a75530bb1 100644 --- a/meta/conf/machine/include/arm/arch-armv5.inc +++ b/meta/conf/machine/include/arm/arch-armv5.inc | |||
@@ -13,7 +13,7 @@ require conf/machine/include/arm/arch-armv4.inc | |||
13 | require conf/machine/include/arm/feature-arm-vfp.inc | 13 | require conf/machine/include/arm/feature-arm-vfp.inc |
14 | 14 | ||
15 | # Little Endian | 15 | # Little Endian |
16 | AVAILTUNES += "armv5 armv5t armv5e armv5te" | 16 | AVAILTUNES += "armv5 armv5t" |
17 | TUNE_FEATURES_tune-armv5 ?= "armv5" | 17 | TUNE_FEATURES_tune-armv5 ?= "armv5" |
18 | TUNE_FEATURES_tune-armv5t ?= "armv5 thumb" | 18 | TUNE_FEATURES_tune-armv5t ?= "armv5 thumb" |
19 | PACKAGE_EXTRA_ARCHS_tune-armv5 = "${PACKAGE_EXTRA_ARCHS_tune-armv4} armv5" | 19 | PACKAGE_EXTRA_ARCHS_tune-armv5 = "${PACKAGE_EXTRA_ARCHS_tune-armv4} armv5" |
diff --git a/meta/conf/machine/include/arm/arch-armv7a.inc b/meta/conf/machine/include/arm/arch-armv7a.inc index 2542f45c91..629960d2da 100644 --- a/meta/conf/machine/include/arm/arch-armv7a.inc +++ b/meta/conf/machine/include/arm/arch-armv7a.inc | |||
@@ -22,11 +22,11 @@ PACKAGE_EXTRA_ARCHS_tune-armv7at = "${PACKAGE_EXTRA_ARCHS_tune-armv6t} armv7a ar | |||
22 | PACKAGE_EXTRA_ARCHS_tune-armv7at-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7at} armv7a-vfp-neon armv7at2-vfp-neon" | 22 | PACKAGE_EXTRA_ARCHS_tune-armv7at-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7at} armv7a-vfp-neon armv7at2-vfp-neon" |
23 | 23 | ||
24 | # VFP Tunes | 24 | # VFP Tunes |
25 | AVAILTUNES += "armv7hf armv7thf armv7hf-neon armv7thf-neon" | 25 | AVAILTUNES += "armv7ahf armv7athf armv7ahf-neon armv7athf-neon" |
26 | TUNE_FEATURES_tune-armv7ahf ?= "${TUNE_FEATURES_tune-armv7a} callconvention-hard" | 26 | TUNE_FEATURES_tune-armv7ahf ?= "${TUNE_FEATURES_tune-armv7a} callconvention-hard" |
27 | TUNE_FEATURES_tune-armv7athf ?= "${TUNE_FEATURES_tune-armv7at} callconvention-hard" | 27 | TUNE_FEATURES_tune-armv7athf ?= "${TUNE_FEATURES_tune-armv7at} callconvention-hard" |
28 | TUNE_FEATURES_tune-armv7ahf-neon ?= "${TUNE_FEATURES_tune-armv7a-neon} callconvention-hard" | 28 | TUNE_FEATURES_tune-armv7ahf-neon ?= "${TUNE_FEATURES_tune-armv7a-neon} callconvention-hard" |
29 | TUNE_FEATURES_tune-armv7athf-neon ?= "${TUNE_FEATURES_tune_armv7at-neon} callconvention-hard" | 29 | TUNE_FEATURES_tune-armv7athf-neon ?= "${TUNE_FEATURES_tune-armv7at-neon} callconvention-hard" |
30 | PACKAGE_EXTRA_ARCHS_tune-armv7ahf = "${PACKAGE_EXTRA_ARCHS_tune-armv6hf} armv7ahf-vfp" | 30 | PACKAGE_EXTRA_ARCHS_tune-armv7ahf = "${PACKAGE_EXTRA_ARCHS_tune-armv6hf} armv7ahf-vfp" |
31 | PACKAGE_EXTRA_ARCHS_tune-armv7athf = "${PACKAGE_EXTRA_ARCHS_tune-armv6thf} armv7ahf-vfp armv7at2hf-vfp" | 31 | PACKAGE_EXTRA_ARCHS_tune-armv7athf = "${PACKAGE_EXTRA_ARCHS_tune-armv6thf} armv7ahf-vfp armv7at2hf-vfp" |
32 | PACKAGE_EXTRA_ARCHS_tune-armv7ahf-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf} armv7ahf-vfp-neon" | 32 | PACKAGE_EXTRA_ARCHS_tune-armv7ahf-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf} armv7ahf-vfp-neon" |
@@ -48,7 +48,7 @@ AVAILTUNES += "armv7ahfb armv7athfb armv7ahfb-neon armv7athfb-neon" | |||
48 | TUNE_FEATURES_tune-armv7ahfb ?= "${TUNE_FEATURES_tune-armv7ab} callconvention-hard" | 48 | TUNE_FEATURES_tune-armv7ahfb ?= "${TUNE_FEATURES_tune-armv7ab} callconvention-hard" |
49 | TUNE_FEATURES_tune-armv7athfb ?= "${TUNE_FEATURES_tune-armv7atb} callconvention-hard" | 49 | TUNE_FEATURES_tune-armv7athfb ?= "${TUNE_FEATURES_tune-armv7atb} callconvention-hard" |
50 | TUNE_FEATURES_tune-armv7ahfb-neon ?= "${TUNE_FEATURES_tune-armv7ab-neon} callconvention-hard" | 50 | TUNE_FEATURES_tune-armv7ahfb-neon ?= "${TUNE_FEATURES_tune-armv7ab-neon} callconvention-hard" |
51 | TUNE_FEATURES_tune-armv7athfb-neon ?= "${TUNE_FEATURES_tune_armv7atb-neon} callconvention-hard" | 51 | TUNE_FEATURES_tune-armv7athfb-neon ?= "${TUNE_FEATURES_tune-armv7atb-neon} callconvention-hard" |
52 | PACKAGE_EXTRA_ARCHS_tune-armv7ahfb = "${PACKAGE_EXTRA_ARCHS_tune-armv6hfb} armv7ahfb-vfp" | 52 | PACKAGE_EXTRA_ARCHS_tune-armv7ahfb = "${PACKAGE_EXTRA_ARCHS_tune-armv6hfb} armv7ahfb-vfp" |
53 | PACKAGE_EXTRA_ARCHS_tune-armv7athfb = "${PACKAGE_EXTRA_ARCHS_tune-armv6thfb} armv7ahfb-vfp armv7at2hfb-vfp" | 53 | PACKAGE_EXTRA_ARCHS_tune-armv7athfb = "${PACKAGE_EXTRA_ARCHS_tune-armv6thfb} armv7ahfb-vfp armv7at2hfb-vfp" |
54 | PACKAGE_EXTRA_ARCHS_tune-armv7ahfb-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahfb} armv7ahfb-vfp-neon" | 54 | PACKAGE_EXTRA_ARCHS_tune-armv7ahfb-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahfb} armv7ahfb-vfp-neon" |