diff options
author | Andy Voltz <andy.voltz@timesys.com> | 2013-06-05 11:52:29 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-06-07 16:48:29 +0100 |
commit | cb21024adf9c4acefbebf51cdab564d765c8096c (patch) | |
tree | c58fc5e69c0876d7ccd46518ea65d785bea85b49 /meta/conf/machine | |
parent | 03fdd2c26ca90334f8a11cee3b35adf76d88caa1 (diff) | |
download | poky-cb21024adf9c4acefbebf51cdab564d765c8096c.tar.gz |
tune-cortexa.inc: create a common include for cortex-a armv7a tuning
The tuning files for the cortex-a* processors are mostly identical for
the A7,A8,A9,A15 processors. Rework these files to use a CORTEX_ID
variable to setup the tuning for each specific processor.
(From OE-Core rev: 3e4f4a1cf07ff7cf4c71566492385f8fbf581789)
Signed-off-by: Andy Voltz <andy.voltz@timesys.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/machine')
-rw-r--r-- | meta/conf/machine/include/arm/README | 3 | ||||
-rw-r--r-- | meta/conf/machine/include/tune-cortexa.inc | 35 | ||||
-rw-r--r-- | meta/conf/machine/include/tune-cortexa15.inc | 35 | ||||
-rw-r--r-- | meta/conf/machine/include/tune-cortexa7.inc | 35 | ||||
-rw-r--r-- | meta/conf/machine/include/tune-cortexa8.inc | 35 | ||||
-rw-r--r-- | meta/conf/machine/include/tune-cortexa9.inc | 35 |
6 files changed, 46 insertions, 132 deletions
diff --git a/meta/conf/machine/include/arm/README b/meta/conf/machine/include/arm/README index a1beb75fdf..d8d7b64ca9 100644 --- a/meta/conf/machine/include/arm/README +++ b/meta/conf/machine/include/arm/README | |||
@@ -38,3 +38,6 @@ the core arch-arm.inc file. | |||
38 | 38 | ||
39 | ARMPKGSFX_FPU - This is the FPU specific suffix. The suffix indicates | 39 | ARMPKGSFX_FPU - This is the FPU specific suffix. The suffix indicates |
40 | specific FPU optimizations. 'vfp' and 'neon' are both defined. | 40 | specific FPU optimizations. 'vfp' and 'neon' are both defined. |
41 | |||
42 | CORTEX_ID - This is the cortex processor type, and is used to setup the | ||
43 | proper tuning (-mtune=cortex-${CORTEX_ID}) in tune-cortexa.inc. | ||
diff --git a/meta/conf/machine/include/tune-cortexa.inc b/meta/conf/machine/include/tune-cortexa.inc new file mode 100644 index 0000000000..987e4d9514 --- /dev/null +++ b/meta/conf/machine/include/tune-cortexa.inc | |||
@@ -0,0 +1,35 @@ | |||
1 | DEFAULTTUNE ?= "armv7a-neon" | ||
2 | |||
3 | require conf/machine/include/arm/arch-armv7a.inc | ||
4 | |||
5 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "cortex${CORTEX_ID}", " -mcpu=cortex-${CORTEX_ID}", "", d)}" | ||
6 | |||
7 | # Little Endian base configs | ||
8 | AVAILTUNES += "cortex${CORTEX_ID} cortex${CORTEX_ID}t cortex${CORTEX_ID}-neon cortex${CORTEX_ID}t-neon" | ||
9 | ARMPKGARCH_tune-cortex${CORTEX_ID} = "cortex${CORTEX_ID}" | ||
10 | ARMPKGARCH_tune-cortex${CORTEX_ID}t = "cortex${CORTEX_ID}" | ||
11 | ARMPKGARCH_tune-cortex${CORTEX_ID}-neon = "cortex${CORTEX_ID}" | ||
12 | ARMPKGARCH_tune-cortex${CORTEX_ID}t-neon = "cortex${CORTEX_ID}" | ||
13 | TUNE_FEATURES_tune-cortex${CORTEX_ID} = "${TUNE_FEATURES_tune-armv7a} cortex${CORTEX_ID}" | ||
14 | TUNE_FEATURES_tune-cortex${CORTEX_ID}t = "${TUNE_FEATURES_tune-armv7at} cortex${CORTEX_ID}" | ||
15 | TUNE_FEATURES_tune-cortex${CORTEX_ID}-neon = "${TUNE_FEATURES_tune-armv7a-neon} cortex${CORTEX_ID}" | ||
16 | TUNE_FEATURES_tune-cortex${CORTEX_ID}t-neon = "${TUNE_FEATURES_tune-armv7at-neon} cortex${CORTEX_ID}" | ||
17 | PACKAGE_EXTRA_ARCHS_tune-cortex${CORTEX_ID} = "${PACKAGE_EXTRA_ARCHS_tune-armv7a} cortex${CORTEX_ID}-vfp" | ||
18 | PACKAGE_EXTRA_ARCHS_tune-cortex${CORTEX_ID}t = "${PACKAGE_EXTRA_ARCHS_tune-armv7at} cortex${CORTEX_ID}-vfp cortex${CORTEX_ID}t2-vfp" | ||
19 | PACKAGE_EXTRA_ARCHS_tune-cortex${CORTEX_ID}-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7a-neon} cortex${CORTEX_ID}-vfp cortex${CORTEX_ID}-vfp-neon" | ||
20 | PACKAGE_EXTRA_ARCHS_tune-cortex${CORTEX_ID}t-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7at-neon} cortex${CORTEX_ID}-vfp cortex${CORTEX_ID}-vfp-neon cortex${CORTEX_ID}t2-vfp cortex${CORTEX_ID}t2-vfp-neon" | ||
21 | |||
22 | # VFP Tunes | ||
23 | AVAILTUNES += "cortex${CORTEX_ID}hf cortex${CORTEX_ID}thf cortex${CORTEX_ID}hf-neon cortex${CORTEX_ID}thf-neon" | ||
24 | ARMPKGARCH_tune-cortex${CORTEX_ID}hf = "cortex${CORTEX_ID}" | ||
25 | ARMPKGARCH_tune-cortex${CORTEX_ID}thf = "cortex${CORTEX_ID}" | ||
26 | ARMPKGARCH_tune-cortex${CORTEX_ID}hf-neon = "cortex${CORTEX_ID}" | ||
27 | ARMPKGARCH_tune-cortex${CORTEX_ID}thf-neon = "cortex${CORTEX_ID}" | ||
28 | TUNE_FEATURES_tune-cortex${CORTEX_ID}hf ?= "${TUNE_FEATURES_tune-armv7ahf} cortex${CORTEX_ID}" | ||
29 | TUNE_FEATURES_tune-cortex${CORTEX_ID}thf ?= "${TUNE_FEATURES_tune-armv7athf} cortex${CORTEX_ID}" | ||
30 | TUNE_FEATURES_tune-cortex${CORTEX_ID}hf-neon ?= "${TUNE_FEATURES_tune-armv7ahf-neon} cortex${CORTEX_ID}" | ||
31 | TUNE_FEATURES_tune-cortex${CORTEX_ID}thf-neon ?= "${TUNE_FEATURES_tune-armv7athf-neon} cortex${CORTEX_ID}" | ||
32 | PACKAGE_EXTRA_ARCHS_tune-cortex${CORTEX_ID}hf = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf} cortex${CORTEX_ID}hf-vfp" | ||
33 | PACKAGE_EXTRA_ARCHS_tune-cortex${CORTEX_ID}thf = "${PACKAGE_EXTRA_ARCHS_tune-armv7athf} cortex${CORTEX_ID}hf-vfp cortex${CORTEX_ID}t2hf-vfp" | ||
34 | PACKAGE_EXTRA_ARCHS_tune-cortex${CORTEX_ID}hf-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf-neon} cortex${CORTEX_ID}hf-vfp cortex${CORTEX_ID}hf-vfp-neon" | ||
35 | PACKAGE_EXTRA_ARCHS_tune-cortex${CORTEX_ID}thf-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7athf-neon} cortex${CORTEX_ID}hf-vfp cortex${CORTEX_ID}hf-vfp-neon cortex${CORTEX_ID}t2hf-vfp cortex${CORTEX_ID}t2hf-vfp-neon" | ||
diff --git a/meta/conf/machine/include/tune-cortexa15.inc b/meta/conf/machine/include/tune-cortexa15.inc index 552977722f..c89bacc5c0 100644 --- a/meta/conf/machine/include/tune-cortexa15.inc +++ b/meta/conf/machine/include/tune-cortexa15.inc | |||
@@ -1,36 +1,5 @@ | |||
1 | DEFAULTTUNE ?= "armv7a-neon" | 1 | CORTEX_ID = "a15" |
2 | |||
3 | require conf/machine/include/arm/arch-armv7a.inc | ||
4 | 2 | ||
5 | TUNEVALID[cortexa15] = "Enable Cortex-A15 specific processor optimizations" | 3 | TUNEVALID[cortexa15] = "Enable Cortex-A15 specific processor optimizations" |
6 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "cortexa15", " -mtune=cortex-a15", "", d)}" | ||
7 | |||
8 | # Little Endian base configs | ||
9 | AVAILTUNES += "cortexa15 cortexa15t cortexa15-neon cortexa15t-neon" | ||
10 | ARMPKGARCH_tune-cortexa15 = "cortexa15" | ||
11 | ARMPKGARCH_tune-cortexa15t = "cortexa15" | ||
12 | ARMPKGARCH_tune-cortexa15-neon = "cortexa15" | ||
13 | ARMPKGARCH_tune-cortexa15t-neon = "cortexa15" | ||
14 | TUNE_FEATURES_tune-cortexa15 = "${TUNE_FEATURES_tune-armv7a} cortexa15" | ||
15 | TUNE_FEATURES_tune-cortexa15t = "${TUNE_FEATURES_tune-armv7at} cortexa15" | ||
16 | TUNE_FEATURES_tune-cortexa15-neon = "${TUNE_FEATURES_tune-armv7a-neon} cortexa15" | ||
17 | TUNE_FEATURES_tune-cortexa15t-neon = "${TUNE_FEATURES_tune-armv7at-neon} cortexa15" | ||
18 | PACKAGE_EXTRA_ARCHS_tune-cortexa15 = "${PACKAGE_EXTRA_ARCHS_tune-armv7a} cortexa15-vfp" | ||
19 | PACKAGE_EXTRA_ARCHS_tune-cortexa15t = "${PACKAGE_EXTRA_ARCHS_tune-armv7at} cortexa15-vfp cortexa15t2-vfp" | ||
20 | PACKAGE_EXTRA_ARCHS_tune-cortexa15-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7a-neon} cortexa15-vfp cortexa15-vfp-neon" | ||
21 | PACKAGE_EXTRA_ARCHS_tune-cortexa15t-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7at-neon} cortexa15-vfp cortexa15-vfp-neon cortexa15t2-vfp cortexa15t2-vfp-neon" | ||
22 | 4 | ||
23 | # VFP Tunes | 5 | require conf/machine/include/tune-cortexa.inc |
24 | AVAILTUNES += "cortexa15hf cortexa15thf cortexa15hf-neon cortexa15thf-neon" | ||
25 | ARMPKGARCH_tune-cortexa15hf = "cortexa15" | ||
26 | ARMPKGARCH_tune-cortexa15thf = "cortexa15" | ||
27 | ARMPKGARCH_tune-cortexa15hf-neon = "cortexa15" | ||
28 | ARMPKGARCH_tune-cortexa15thf-neon = "cortexa15" | ||
29 | TUNE_FEATURES_tune-cortexa15hf ?= "${TUNE_FEATURES_tune-armv7ahf} cortexa15" | ||
30 | TUNE_FEATURES_tune-cortexa15thf ?= "${TUNE_FEATURES_tune-armv7athf} cortexa15" | ||
31 | TUNE_FEATURES_tune-cortexa15hf-neon ?= "${TUNE_FEATURES_tune-armv7ahf-neon} cortexa15" | ||
32 | TUNE_FEATURES_tune-cortexa15thf-neon ?= "${TUNE_FEATURES_tune-armv7athf-neon} cortexa15" | ||
33 | PACKAGE_EXTRA_ARCHS_tune-cortexa15hf = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf} cortexa15hf-vfp" | ||
34 | PACKAGE_EXTRA_ARCHS_tune-cortexa15thf = "${PACKAGE_EXTRA_ARCHS_tune-armv7athf} cortexa15hf-vfp cortexa15t2hf-vfp" | ||
35 | PACKAGE_EXTRA_ARCHS_tune-cortexa15hf-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf-neon} cortexa15hf-vfp cortexa15hf-vfp-neon" | ||
36 | PACKAGE_EXTRA_ARCHS_tune-cortexa15thf-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7athf-neon} cortexa15hf-vfp cortexa15hf-vfp-neon cortexa15t2hf-vfp cortexa15t2hf-vfp-neon" | ||
diff --git a/meta/conf/machine/include/tune-cortexa7.inc b/meta/conf/machine/include/tune-cortexa7.inc index f02f0a2e2f..c6bc457e3c 100644 --- a/meta/conf/machine/include/tune-cortexa7.inc +++ b/meta/conf/machine/include/tune-cortexa7.inc | |||
@@ -1,36 +1,5 @@ | |||
1 | DEFAULTTUNE ?= "armv7a-neon" | 1 | CORTEX_ID = "a7" |
2 | |||
3 | require conf/machine/include/arm/arch-armv7a.inc | ||
4 | 2 | ||
5 | TUNEVALID[cortexa7] = "Enable Cortex-A7 specific processor optimizations" | 3 | TUNEVALID[cortexa7] = "Enable Cortex-A7 specific processor optimizations" |
6 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "cortexa7", " -mtune=cortex-a7", "", d)}" | ||
7 | |||
8 | # Little Endian base configs | ||
9 | AVAILTUNES += "cortexa7 cortexa7t cortexa7-neon cortexa7t-neon" | ||
10 | ARMPKGARCH_tune-cortexa7 = "cortexa7" | ||
11 | ARMPKGARCH_tune-cortexa7t = "cortexa7" | ||
12 | ARMPKGARCH_tune-cortexa7-neon = "cortexa7" | ||
13 | ARMPKGARCH_tune-cortexa7t-neon = "cortexa7" | ||
14 | TUNE_FEATURES_tune-cortexa7 = "${TUNE_FEATURES_tune-armv7a} cortexa7" | ||
15 | TUNE_FEATURES_tune-cortexa7t = "${TUNE_FEATURES_tune-armv7at} cortexa7" | ||
16 | TUNE_FEATURES_tune-cortexa7-neon = "${TUNE_FEATURES_tune-armv7a-neon} cortexa7" | ||
17 | TUNE_FEATURES_tune-cortexa7t-neon = "${TUNE_FEATURES_tune-armv7at-neon} cortexa7" | ||
18 | PACKAGE_EXTRA_ARCHS_tune-cortexa7 = "${PACKAGE_EXTRA_ARCHS_tune-armv7a} cortexa7-vfp" | ||
19 | PACKAGE_EXTRA_ARCHS_tune-cortexa7t = "${PACKAGE_EXTRA_ARCHS_tune-armv7at} cortexa7-vfp cortexa7t2-vfp" | ||
20 | PACKAGE_EXTRA_ARCHS_tune-cortexa7-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7a-neon} cortexa7-vfp cortexa7-vfp-neon" | ||
21 | PACKAGE_EXTRA_ARCHS_tune-cortexa7t-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7at-neon} cortexa7-vfp cortexa7-vfp-neon cortexa7t2-vfp cortexa7t2-vfp-neon" | ||
22 | 4 | ||
23 | # VFP Tunes | 5 | require conf/machine/include/tune-cortexa.inc |
24 | AVAILTUNES += "cortexa7hf cortexa7thf cortexa7hf-neon cortexa7thf-neon" | ||
25 | ARMPKGARCH_tune-cortexa7hf = "cortexa7" | ||
26 | ARMPKGARCH_tune-cortexa7thf = "cortexa7" | ||
27 | ARMPKGARCH_tune-cortexa7hf-neon = "cortexa7" | ||
28 | ARMPKGARCH_tune-cortexa7thf-neon = "cortexa7" | ||
29 | TUNE_FEATURES_tune-cortexa7hf ?= "${TUNE_FEATURES_tune-armv7ahf} cortexa7" | ||
30 | TUNE_FEATURES_tune-cortexa7thf ?= "${TUNE_FEATURES_tune-armv7athf} cortexa7" | ||
31 | TUNE_FEATURES_tune-cortexa7hf-neon ?= "${TUNE_FEATURES_tune-armv7ahf-neon} cortexa7" | ||
32 | TUNE_FEATURES_tune-cortexa7thf-neon ?= "${TUNE_FEATURES_tune-armv7athf-neon} cortexa7" | ||
33 | PACKAGE_EXTRA_ARCHS_tune-cortexa7hf = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf} cortexa7hf-vfp" | ||
34 | PACKAGE_EXTRA_ARCHS_tune-cortexa7thf = "${PACKAGE_EXTRA_ARCHS_tune-armv7athf} cortexa7hf-vfp cortexa7t2hf-vfp" | ||
35 | PACKAGE_EXTRA_ARCHS_tune-cortexa7hf-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf-neon} cortexa7hf-vfp cortexa7hf-vfp-neon" | ||
36 | PACKAGE_EXTRA_ARCHS_tune-cortexa7thf-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7athf-neon} cortexa7hf-vfp cortexa7hf-vfp-neon cortexa7t2hf-vfp cortexa7t2hf-vfp-neon" | ||
diff --git a/meta/conf/machine/include/tune-cortexa8.inc b/meta/conf/machine/include/tune-cortexa8.inc index 771537ff84..c1a3325f11 100644 --- a/meta/conf/machine/include/tune-cortexa8.inc +++ b/meta/conf/machine/include/tune-cortexa8.inc | |||
@@ -1,36 +1,5 @@ | |||
1 | DEFAULTTUNE ?= "armv7a-neon" | 1 | CORTEX_ID = "a8" |
2 | |||
3 | require conf/machine/include/arm/arch-armv7a.inc | ||
4 | 2 | ||
5 | TUNEVALID[cortexa8] = "Enable Cortex-A8 specific processor optimizations" | 3 | TUNEVALID[cortexa8] = "Enable Cortex-A8 specific processor optimizations" |
6 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "cortexa8", " -mtune=cortex-a8", "", d)}" | ||
7 | |||
8 | # Little Endian base configs | ||
9 | AVAILTUNES += "cortexa8 cortexa8t cortexa8-neon cortexa8t-neon" | ||
10 | ARMPKGARCH_tune-cortexa8 = "cortexa8" | ||
11 | ARMPKGARCH_tune-cortexa8t = "cortexa8" | ||
12 | ARMPKGARCH_tune-cortexa8-neon = "cortexa8" | ||
13 | ARMPKGARCH_tune-cortexa8t-neon = "cortexa8" | ||
14 | TUNE_FEATURES_tune-cortexa8 = "${TUNE_FEATURES_tune-armv7a} cortexa8" | ||
15 | TUNE_FEATURES_tune-cortexa8t = "${TUNE_FEATURES_tune-armv7at} cortexa8" | ||
16 | TUNE_FEATURES_tune-cortexa8-neon = "${TUNE_FEATURES_tune-armv7a-neon} cortexa8" | ||
17 | TUNE_FEATURES_tune-cortexa8t-neon = "${TUNE_FEATURES_tune-armv7at-neon} cortexa8" | ||
18 | PACKAGE_EXTRA_ARCHS_tune-cortexa8 = "${PACKAGE_EXTRA_ARCHS_tune-armv7a} cortexa8-vfp" | ||
19 | PACKAGE_EXTRA_ARCHS_tune-cortexa8t = "${PACKAGE_EXTRA_ARCHS_tune-armv7at} cortexa8-vfp cortexa8t2-vfp" | ||
20 | PACKAGE_EXTRA_ARCHS_tune-cortexa8-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7a-neon} cortexa8-vfp cortexa8-vfp-neon" | ||
21 | PACKAGE_EXTRA_ARCHS_tune-cortexa8t-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7at-neon} cortexa8-vfp cortexa8-vfp-neon cortexa8t2-vfp cortexa8t2-vfp-neon" | ||
22 | 4 | ||
23 | # VFP Tunes | 5 | require conf/machine/include/tune-cortexa.inc |
24 | AVAILTUNES += "cortexa8hf cortexa8thf cortexa8hf-neon cortexa8thf-neon" | ||
25 | ARMPKGARCH_tune-cortexa8hf = "cortexa8" | ||
26 | ARMPKGARCH_tune-cortexa8thf = "cortexa8" | ||
27 | ARMPKGARCH_tune-cortexa8hf-neon = "cortexa8" | ||
28 | ARMPKGARCH_tune-cortexa8thf-neon = "cortexa8" | ||
29 | TUNE_FEATURES_tune-cortexa8hf ?= "${TUNE_FEATURES_tune-armv7ahf} cortexa8" | ||
30 | TUNE_FEATURES_tune-cortexa8thf ?= "${TUNE_FEATURES_tune-armv7athf} cortexa8" | ||
31 | TUNE_FEATURES_tune-cortexa8hf-neon ?= "${TUNE_FEATURES_tune-armv7ahf-neon} cortexa8" | ||
32 | TUNE_FEATURES_tune-cortexa8thf-neon ?= "${TUNE_FEATURES_tune-armv7athf-neon} cortexa8" | ||
33 | PACKAGE_EXTRA_ARCHS_tune-cortexa8hf = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf} cortexa8hf-vfp" | ||
34 | PACKAGE_EXTRA_ARCHS_tune-cortexa8thf = "${PACKAGE_EXTRA_ARCHS_tune-armv7athf} cortexa8hf-vfp cortexa8t2hf-vfp" | ||
35 | PACKAGE_EXTRA_ARCHS_tune-cortexa8hf-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf-neon} cortexa8hf-vfp cortexa8hf-vfp-neon" | ||
36 | PACKAGE_EXTRA_ARCHS_tune-cortexa8thf-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7athf-neon} cortexa8hf-vfp cortexa8hf-vfp-neon cortexa8t2hf-vfp cortexa8t2hf-vfp-neon" | ||
diff --git a/meta/conf/machine/include/tune-cortexa9.inc b/meta/conf/machine/include/tune-cortexa9.inc index 700394b824..9b16761f4b 100644 --- a/meta/conf/machine/include/tune-cortexa9.inc +++ b/meta/conf/machine/include/tune-cortexa9.inc | |||
@@ -1,36 +1,5 @@ | |||
1 | DEFAULTTUNE ?= "armv7a-neon" | 1 | CORTEX_ID = "a9" |
2 | |||
3 | require conf/machine/include/arm/arch-armv7a.inc | ||
4 | 2 | ||
5 | TUNEVALID[cortexa9] = "Enable Cortex-A9 specific processor optimizations" | 3 | TUNEVALID[cortexa9] = "Enable Cortex-A9 specific processor optimizations" |
6 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "cortexa9", " -mtune=cortex-a9", "", d)}" | ||
7 | |||
8 | # Little Endian base configs | ||
9 | AVAILTUNES += "cortexa9 cortexa9t cortexa9-neon cortexa9t-neon" | ||
10 | ARMPKGARCH_tune-cortexa9 = "cortexa9" | ||
11 | ARMPKGARCH_tune-cortexa9t = "cortexa9" | ||
12 | ARMPKGARCH_tune-cortexa9-neon = "cortexa9" | ||
13 | ARMPKGARCH_tune-cortexa9t-neon = "cortexa9" | ||
14 | TUNE_FEATURES_tune-cortexa9 = "${TUNE_FEATURES_tune-armv7a} cortexa9" | ||
15 | TUNE_FEATURES_tune-cortexa9t = "${TUNE_FEATURES_tune-armv7at} cortexa9" | ||
16 | TUNE_FEATURES_tune-cortexa9-neon = "${TUNE_FEATURES_tune-armv7a-neon} cortexa9" | ||
17 | TUNE_FEATURES_tune-cortexa9t-neon = "${TUNE_FEATURES_tune-armv7at-neon} cortexa9" | ||
18 | PACKAGE_EXTRA_ARCHS_tune-cortexa9 = "${PACKAGE_EXTRA_ARCHS_tune-armv7a} cortexa9-vfp" | ||
19 | PACKAGE_EXTRA_ARCHS_tune-cortexa9t = "${PACKAGE_EXTRA_ARCHS_tune-armv7at} cortexa9-vfp cortexa9t2-vfp" | ||
20 | PACKAGE_EXTRA_ARCHS_tune-cortexa9-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7a-neon} cortexa9-vfp cortexa9-vfp-neon" | ||
21 | PACKAGE_EXTRA_ARCHS_tune-cortexa9t-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7at-neon} cortexa9-vfp cortexa9-vfp-neon cortexa9t2-vfp cortexa9t2-vfp-neon" | ||
22 | 4 | ||
23 | # VFP Tunes | 5 | require conf/machine/include/tune-cortexa.inc |
24 | AVAILTUNES += "cortexa9hf cortexa9thf cortexa9hf-neon cortexa9thf-neon" | ||
25 | ARMPKGARCH_tune-cortexa9hf = "cortexa9" | ||
26 | ARMPKGARCH_tune-cortexa9thf = "cortexa9" | ||
27 | ARMPKGARCH_tune-cortexa9hf-neon = "cortexa9" | ||
28 | ARMPKGARCH_tune-cortexa9thf-neon = "cortexa9" | ||
29 | TUNE_FEATURES_tune-cortexa9hf ?= "${TUNE_FEATURES_tune-armv7ahf} cortexa9" | ||
30 | TUNE_FEATURES_tune-cortexa9thf ?= "${TUNE_FEATURES_tune-armv7athf} cortexa9" | ||
31 | TUNE_FEATURES_tune-cortexa9hf-neon ?= "${TUNE_FEATURES_tune-armv7ahf-neon} cortexa9" | ||
32 | TUNE_FEATURES_tune-cortexa9thf-neon ?= "${TUNE_FEATURES_tune-armv7athf-neon} cortexa9" | ||
33 | PACKAGE_EXTRA_ARCHS_tune-cortexa9hf = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf} cortexa9hf-vfp" | ||
34 | PACKAGE_EXTRA_ARCHS_tune-cortexa9thf = "${PACKAGE_EXTRA_ARCHS_tune-armv7athf} cortexa9hf-vfp cortexa9t2hf-vfp" | ||
35 | PACKAGE_EXTRA_ARCHS_tune-cortexa9hf-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7ahf-neon} cortexa9hf-vfp cortexa9hf-vfp-neon" | ||
36 | PACKAGE_EXTRA_ARCHS_tune-cortexa9thf-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7athf-neon} cortexa9hf-vfp cortexa9hf-vfp-neon cortexa9t2hf-vfp cortexa9t2hf-vfp-neon" | ||