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-armv5-dsp.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-armv5-dsp.inc')
-rw-r--r-- | meta/conf/machine/include/arm/arch-armv5-dsp.inc | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/meta/conf/machine/include/arm/arch-armv5-dsp.inc b/meta/conf/machine/include/arm/arch-armv5-dsp.inc new file mode 100644 index 0000000000..498a012442 --- /dev/null +++ b/meta/conf/machine/include/arm/arch-armv5-dsp.inc | |||
@@ -0,0 +1,40 @@ | |||
1 | ARMPKGSFX_DSP = "${@bb.utils.contains("TUNE_FEATURES", [ "armv5", "dsp" ], "e", "", d)}" | ||
2 | |||
3 | require conf/machine/include/arm/arch-armv5.inc | ||
4 | |||
5 | # Little Endian | ||
6 | AVAILTUNES += "armv5e armv5te" | ||
7 | TUNE_FEATURES_tune-armv5e ?= "armv5 dsp" | ||
8 | TUNE_FEATURES_tune-armv5te ?= "armv5 dsp thumb" | ||
9 | PACKAGE_EXTRA_ARCHS_tune-armv5e = "${PACKAGE_EXTRA_ARCHS_tune-armv5} armv5e" | ||
10 | PACKAGE_EXTRA_ARCHS_tune-armv5te = "${PACKAGE_EXTRA_ARCHS_tune-armv5t} armv5e armv5te" | ||
11 | |||
12 | # Little Endian + VFP/DSP | ||
13 | AVAILTUNES += "armv5e-vfp armv5te-vfp armv5ehf-vfp armv5tehf-vfp" | ||
14 | TUNE_FEATURES_tune-armv5e-vfp ?= "armv5 vfp dsp" | ||
15 | TUNE_FEATURES_tune-armv5te-vfp ?= "armv5 vfp dsp thumb" | ||
16 | TUNE_FEATURES_tune-armv5ehf-vfp ?= "${TUNE_FEATURES_tune-armv5e-vfp} callconvention-hard" | ||
17 | TUNE_FEATURES_tune-armv5tehf-vfp ?= "${TUNE_FEATURES_tune-armv5te-vfp} callconvention-hard" | ||
18 | PACKAGE_EXTRA_ARCHS_tune-armv5e-vfp = "${PACKAGE_EXTRA_ARCHS_tune-armv5-vfp} armv5e armv5e-vfp" | ||
19 | PACKAGE_EXTRA_ARCHS_tune-armv5te-vfp = "${PACKAGE_EXTRA_ARCHS_tune-armv5t-vfp} armv5e armv5te armv5e-vfp armv5te-vfp" | ||
20 | PACKAGE_EXTRA_ARCHS_tune-armv5ehf-vfp = "${PACKAGE_EXTRA_ARCHS_tune-armv5hf-vfp} armv5ehf-vfp" | ||
21 | PACKAGE_EXTRA_ARCHS_tune-armv5tehf-vfp = "${PACKAGE_EXTRA_ARCHS_tune-armv5thf-vfp} armv5ehf-vfp armv5tehf-vfp" | ||
22 | |||
23 | # Big Endian | ||
24 | AVAILTUNES += "armv5eb armv5teb" | ||
25 | TUNE_FEATURES_tune-armv5eb ?= "${TUNE_FEATURES_tune-armv5e} bigendian" | ||
26 | TUNE_FEATURES_tune-armv5teb ?= "${TUNE_FEATURES_tune-armv5te} bigendian" | ||
27 | PACKAGE_EXTRA_ARCHS_tune-armv5eb = "${PACKAGE_EXTRA_ARCHS_tune-armv5} armv5eb" | ||
28 | PACKAGE_EXTRA_ARCHS_tune-armv5teb = "${PACKAGE_EXTRA_ARCHS_tune-armv5t} armv5eb armv5teb" | ||
29 | |||
30 | # Big Endian + VFP/DSP | ||
31 | AVAILTUNES += "armv5eb-vfp armv5teb-vfp armv5ehfb-vfp armv5tehfb-vfp" | ||
32 | TUNE_FEATURES_tune-armv5eb-vfp ?= "${TUNE_FEATURES_tune-armv5e-vfp} bigendian" | ||
33 | TUNE_FEATURES_tune-armv5teb-vfp ?= "${TUNE_FEATURES_tune-armv5te-vfp} bigendian" | ||
34 | TUNE_FEATURES_tune-armv5ehfb-vfp ?= "${TUNE_FEATURES_tune-armv5eb-vfp} callconvention-hard" | ||
35 | TUNE_FEATURES_tune-armv5tehfb-vfp ?= "${TUNE_FEATURES_tune-armv5teb-vfp} callconvention-hard" | ||
36 | PACKAGE_EXTRA_ARCHS_tune-armv5eb-vfp = "${PACKAGE_EXTRA_ARCHS_tune-armv5-vfp} armv5eb armv5eb-vfp" | ||
37 | PACKAGE_EXTRA_ARCHS_tune-armv5teb-vfp = "${PACKAGE_EXTRA_ARCHS_tune-armv5t-vfp} armv5eb armv5teb armv5eb-vfp armv5teb-vfp" | ||
38 | PACKAGE_EXTRA_ARCHS_tune-armv5ehfb-vfp = "${PACKAGE_EXTRA_ARCHS_tune-armv5hfb-vfp} armv5ehfb-vfp" | ||
39 | PACKAGE_EXTRA_ARCHS_tune-armv5tehfb-vfp = "${PACKAGE_EXTRA_ARCHS_tune-armv5thfb-vfp} armv5ehfb-vfp armv5tehfb-vfp" | ||
40 | |||