diff options
author | Ilya Yanok <yanok@emcraft.com> | 2011-09-07 17:38:36 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-12-22 13:13:46 +0000 |
commit | 05eabde3e49845ef3f527f35c98d55c2fb5b522d (patch) | |
tree | a77286cf9b17c7ade56997cbf20a7b894c80d01d /meta/conf | |
parent | e9799410b3edea2aeba11abb5b46fdf502291fc2 (diff) | |
download | poky-05eabde3e49845ef3f527f35c98d55c2fb5b522d.tar.gz |
arch-powerpc: set PACKAGE_EXTRA_ARCHS
Set PACKAGE_EXTRA_ARCHS for the generic tunes ("powerpc" and
"powerpc-nf") thus allowing to use them instead of tuning to the
specific CPU.
(From OE-Core rev: 5eafbe2d8684ee1c45477bfd69b579af47adccd9)
Signed-off-by: Ilya Yanok <yanok@emcraft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
-rw-r--r-- | meta/conf/machine/include/powerpc/arch-powerpc.inc | 6 | ||||
-rw-r--r-- | meta/conf/machine/include/tune-ppc603e.inc | 2 | ||||
-rw-r--r-- | meta/conf/machine/include/tune-ppce300c2.inc | 2 | ||||
-rw-r--r-- | meta/conf/machine/include/tune-ppce500mc.inc | 2 |
4 files changed, 7 insertions, 5 deletions
diff --git a/meta/conf/machine/include/powerpc/arch-powerpc.inc b/meta/conf/machine/include/powerpc/arch-powerpc.inc index da1a1d6da2..8347f86620 100644 --- a/meta/conf/machine/include/powerpc/arch-powerpc.inc +++ b/meta/conf/machine/include/powerpc/arch-powerpc.inc | |||
@@ -25,9 +25,11 @@ TUNE_PKGARCH ?= "${PPCPKGARCH}" | |||
25 | 25 | ||
26 | # Basic tune definitions | 26 | # Basic tune definitions |
27 | AVAILTUNES += "powerpc powerpc-nf" | 27 | AVAILTUNES += "powerpc powerpc-nf" |
28 | TUNE_FEATURES_tune-powerpc ?= "m32 fpu-hard" | ||
29 | BASE_LIB_tune-powerpc = "lib" | ||
30 | TUNE_FEATURES_tune-powerpc-nf ?= "m32 fpu-soft" | 28 | TUNE_FEATURES_tune-powerpc-nf ?= "m32 fpu-soft" |
31 | BASE_LIB_tune-powerpc-nf = "lib" | 29 | BASE_LIB_tune-powerpc-nf = "lib" |
30 | PACKAGE_EXTRA_ARCHS_tune-powerpc-nf = "powerpc-nf" | ||
31 | TUNE_FEATURES_tune-powerpc ?= "m32 fpu-hard" | ||
32 | BASE_LIB_tune-powerpc = "lib" | ||
33 | PACKAGE_EXTRA_ARCHS_tune-powerpc = "${PACKAGE_EXTRA_ARCHS_tune-powerpc-nf} powerpc" | ||
32 | 34 | ||
33 | 35 | ||
diff --git a/meta/conf/machine/include/tune-ppc603e.inc b/meta/conf/machine/include/tune-ppc603e.inc index c743dde96e..663f2208be 100644 --- a/meta/conf/machine/include/tune-ppc603e.inc +++ b/meta/conf/machine/include/tune-ppc603e.inc | |||
@@ -8,7 +8,7 @@ TUNE_PKGARCH = "${@bb.utils.contains('TUNE_FEATURES', 'ppc603e', 'ppc603e', '${P | |||
8 | 8 | ||
9 | AVAILTUNES = "ppc603e" | 9 | AVAILTUNES = "ppc603e" |
10 | TUNE_FEATURES_tune-ppc603e = "m32 fpu-hard ppc603e" | 10 | TUNE_FEATURES_tune-ppc603e = "m32 fpu-hard ppc603e" |
11 | PACKAGE_EXTRA_ARCHS_tune-ppc603e = "powerpc ppc603e" | 11 | PACKAGE_EXTRA_ARCHS_tune-ppc603e = "${PACKAGE_EXTRA_ARCHS_tune-powerpc} ppc603e" |
12 | 12 | ||
13 | # glibc configure options to get 603e specific library (for sqrt) | 13 | # glibc configure options to get 603e specific library (for sqrt) |
14 | GLIBC_EXTRA_OECONF += "${@bb.utils.contains("TUNE_FEATURES", "ppc603e", "-with-cpu=603e", "", d)}" | 14 | GLIBC_EXTRA_OECONF += "${@bb.utils.contains("TUNE_FEATURES", "ppc603e", "-with-cpu=603e", "", d)}" |
diff --git a/meta/conf/machine/include/tune-ppce300c2.inc b/meta/conf/machine/include/tune-ppce300c2.inc index 5eea4a6a97..bdca1aa910 100644 --- a/meta/conf/machine/include/tune-ppce300c2.inc +++ b/meta/conf/machine/include/tune-ppce300c2.inc | |||
@@ -8,4 +8,4 @@ TUNE_PKGARCH = "${@bb.utils.contains("TUNE_FEATURES", "ppce300c2", "ppce300c2", | |||
8 | 8 | ||
9 | AVAILTUNES += "ppce300c2" | 9 | AVAILTUNES += "ppce300c2" |
10 | TUNE_FEATURES_tune-ppce300c2 = "m32 fpu-soft ppce300c2" | 10 | TUNE_FEATURES_tune-ppce300c2 = "m32 fpu-soft ppce300c2" |
11 | PACKAGE_EXTRA_ARCHS_tune-ppce300c2 = "powerpc-nf ppce300c2" | 11 | PACKAGE_EXTRA_ARCHS_tune-ppce300c2 = "${PACKAGE_EXTRA_ARCHS_tune-powerpc-nf} ppce300c2" |
diff --git a/meta/conf/machine/include/tune-ppce500mc.inc b/meta/conf/machine/include/tune-ppce500mc.inc index 33820ef0e8..950c46d6b5 100644 --- a/meta/conf/machine/include/tune-ppce500mc.inc +++ b/meta/conf/machine/include/tune-ppce500mc.inc | |||
@@ -8,7 +8,7 @@ TUNE_PKGARCH = "${@bb.utils.contains("TUNE_FEATURES", "ppce500mc", "ppce500mc", | |||
8 | 8 | ||
9 | AVAILTUNES = "ppce500mc" | 9 | AVAILTUNES = "ppce500mc" |
10 | TUNE_FEATURES_tune-ppce500mc = "m32 fpu-hard ppce500mc" | 10 | TUNE_FEATURES_tune-ppce500mc = "m32 fpu-hard ppce500mc" |
11 | PACKAGE_EXTRA_ARCHS_tune-ppce500mc = "powerpc ppce500mc" | 11 | PACKAGE_EXTRA_ARCHS_tune-ppce500mc = "${PACKAGE_EXTRA_ARCHS_tune-powerpc} ppce500mc" |
12 | 12 | ||
13 | # glibc configure options to get e500mc specific library (for sqrt) | 13 | # glibc configure options to get e500mc specific library (for sqrt) |
14 | GLIBC_EXTRA_OECONF += "${@bb.utils.contains("TUNE_FEATURES", "ppce500mc", "-with-cpu=e500mc", "", d)}" | 14 | GLIBC_EXTRA_OECONF += "${@bb.utils.contains("TUNE_FEATURES", "ppce500mc", "-with-cpu=e500mc", "", d)}" |