summaryrefslogtreecommitdiffstats
path: root/meta/conf/machine
diff options
context:
space:
mode:
authorIlya Yanok <yanok@emcraft.com>2011-09-07 17:38:36 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-12-22 13:13:46 +0000
commit05eabde3e49845ef3f527f35c98d55c2fb5b522d (patch)
treea77286cf9b17c7ade56997cbf20a7b894c80d01d /meta/conf/machine
parente9799410b3edea2aeba11abb5b46fdf502291fc2 (diff)
downloadpoky-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/machine')
-rw-r--r--meta/conf/machine/include/powerpc/arch-powerpc.inc6
-rw-r--r--meta/conf/machine/include/tune-ppc603e.inc2
-rw-r--r--meta/conf/machine/include/tune-ppce300c2.inc2
-rw-r--r--meta/conf/machine/include/tune-ppce500mc.inc2
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
27AVAILTUNES += "powerpc powerpc-nf" 27AVAILTUNES += "powerpc powerpc-nf"
28TUNE_FEATURES_tune-powerpc ?= "m32 fpu-hard"
29BASE_LIB_tune-powerpc = "lib"
30TUNE_FEATURES_tune-powerpc-nf ?= "m32 fpu-soft" 28TUNE_FEATURES_tune-powerpc-nf ?= "m32 fpu-soft"
31BASE_LIB_tune-powerpc-nf = "lib" 29BASE_LIB_tune-powerpc-nf = "lib"
30PACKAGE_EXTRA_ARCHS_tune-powerpc-nf = "powerpc-nf"
31TUNE_FEATURES_tune-powerpc ?= "m32 fpu-hard"
32BASE_LIB_tune-powerpc = "lib"
33PACKAGE_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
9AVAILTUNES = "ppc603e" 9AVAILTUNES = "ppc603e"
10TUNE_FEATURES_tune-ppc603e = "m32 fpu-hard ppc603e" 10TUNE_FEATURES_tune-ppc603e = "m32 fpu-hard ppc603e"
11PACKAGE_EXTRA_ARCHS_tune-ppc603e = "powerpc ppc603e" 11PACKAGE_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)
14GLIBC_EXTRA_OECONF += "${@bb.utils.contains("TUNE_FEATURES", "ppc603e", "-with-cpu=603e", "", d)}" 14GLIBC_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
9AVAILTUNES += "ppce300c2" 9AVAILTUNES += "ppce300c2"
10TUNE_FEATURES_tune-ppce300c2 = "m32 fpu-soft ppce300c2" 10TUNE_FEATURES_tune-ppce300c2 = "m32 fpu-soft ppce300c2"
11PACKAGE_EXTRA_ARCHS_tune-ppce300c2 = "powerpc-nf ppce300c2" 11PACKAGE_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
9AVAILTUNES = "ppce500mc" 9AVAILTUNES = "ppce500mc"
10TUNE_FEATURES_tune-ppce500mc = "m32 fpu-hard ppce500mc" 10TUNE_FEATURES_tune-ppce500mc = "m32 fpu-hard ppce500mc"
11PACKAGE_EXTRA_ARCHS_tune-ppce500mc = "powerpc ppce500mc" 11PACKAGE_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)
14GLIBC_EXTRA_OECONF += "${@bb.utils.contains("TUNE_FEATURES", "ppce500mc", "-with-cpu=e500mc", "", d)}" 14GLIBC_EXTRA_OECONF += "${@bb.utils.contains("TUNE_FEATURES", "ppce500mc", "-with-cpu=e500mc", "", d)}"