diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-02 12:40:06 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-02 14:41:03 +0100 |
commit | 20f285728219c1efcc23d8e861902c212893c68d (patch) | |
tree | dc645162e29660770e289fe84015c3644a3b8fad /meta | |
parent | e5d2249476fad3ebba648c6b7adf994cb630d1c6 (diff) | |
download | poky-20f285728219c1efcc23d8e861902c212893c68d.tar.gz |
tune/ppc: Fix various TUNE_PKGARCH issues
We need to ensure only one value ends up in TUNE_PKGARCH rather than several.
This change ensures consistency accross all the PPC tune files and that they
correctly inherit the core value but also allow it to be overwritten.
(From OE-Core rev: f9a8b719dd3fc7593a509c8f288caf1486add2f8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/conf/machine/include/powerpc/arch-powerpc.inc | 3 | ||||
-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-ppce500.inc | 2 | ||||
-rw-r--r-- | meta/conf/machine/include/tune-ppce500mc.inc | 2 | ||||
-rw-r--r-- | meta/conf/machine/include/tune-ppce500v2.inc | 2 |
6 files changed, 7 insertions, 6 deletions
diff --git a/meta/conf/machine/include/powerpc/arch-powerpc.inc b/meta/conf/machine/include/powerpc/arch-powerpc.inc index 8cc76ab734..da1a1d6da2 100644 --- a/meta/conf/machine/include/powerpc/arch-powerpc.inc +++ b/meta/conf/machine/include/powerpc/arch-powerpc.inc | |||
@@ -20,7 +20,8 @@ ABIEXTENSION = "${@['','spe'][d.getVar('TARGET_FPU', True) in ['ppc-efd', 'ppc-e | |||
20 | 20 | ||
21 | PPCPKGSFX_FPU = "${@bb.utils.contains("TUNE_FEATURES", "fpu-hard" , "", "-nf", d)}" | 21 | PPCPKGSFX_FPU = "${@bb.utils.contains("TUNE_FEATURES", "fpu-hard" , "", "-nf", d)}" |
22 | 22 | ||
23 | TUNE_PKGARCH ?= "${TUNE_ARCH}${PPCPKGSFX_FPU}" | 23 | PPCPKGARCH = "${TUNE_ARCH}${PPCPKGSFX_FPU}" |
24 | TUNE_PKGARCH ?= "${PPCPKGARCH}" | ||
24 | 25 | ||
25 | # Basic tune definitions | 26 | # Basic tune definitions |
26 | AVAILTUNES += "powerpc powerpc-nf" | 27 | AVAILTUNES += "powerpc powerpc-nf" |
diff --git a/meta/conf/machine/include/tune-ppc603e.inc b/meta/conf/machine/include/tune-ppc603e.inc index 7c053944aa..da8114fed4 100644 --- a/meta/conf/machine/include/tune-ppc603e.inc +++ b/meta/conf/machine/include/tune-ppc603e.inc | |||
@@ -4,7 +4,7 @@ require conf/machine/include/powerpc/arch-powerpc.inc | |||
4 | 4 | ||
5 | TUNEVALID[ppc603e] = "Enable ppc603e specific processor optimizations" | 5 | TUNEVALID[ppc603e] = "Enable ppc603e specific processor optimizations" |
6 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "ppc603e", "-mcpu=603e", "", d)}" | 6 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "ppc603e", "-mcpu=603e", "", d)}" |
7 | TUNE_PKGARCH .= "${@bb.utils.contains("TUNE_FEATURES", "ppc603e", "ppc603e", "", d)}" | 7 | TUNE_PKGARCH = "${@bb.utils.contains('TUNE_FEATURES', 'ppc603e', 'ppc603e', '${PPCPKGARCH}', d)}" |
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" |
diff --git a/meta/conf/machine/include/tune-ppce300c2.inc b/meta/conf/machine/include/tune-ppce300c2.inc index bad2611ca5..5eea4a6a97 100644 --- a/meta/conf/machine/include/tune-ppce300c2.inc +++ b/meta/conf/machine/include/tune-ppce300c2.inc | |||
@@ -4,7 +4,7 @@ require conf/machine/include/powerpc/arch-powerpc.inc | |||
4 | 4 | ||
5 | TUNEVALID[ppce300c2] = "Enable ppce300c2 specific processor optimizations" | 5 | TUNEVALID[ppce300c2] = "Enable ppce300c2 specific processor optimizations" |
6 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "ppce300c2", "-mcpu=e300c2", "", d)}" | 6 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "ppce300c2", "-mcpu=e300c2", "", d)}" |
7 | TUNE_PKGARCH = "${@bb.utils.contains("TUNE_FEATURES", "ppce300c2", "ppce300c2", "${TUNE_ARCH}", d)}" | 7 | TUNE_PKGARCH = "${@bb.utils.contains("TUNE_FEATURES", "ppce300c2", "ppce300c2", "${PPCPKGARCH}", d)}" |
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" |
diff --git a/meta/conf/machine/include/tune-ppce500.inc b/meta/conf/machine/include/tune-ppce500.inc index c34d63149f..709e14f482 100644 --- a/meta/conf/machine/include/tune-ppce500.inc +++ b/meta/conf/machine/include/tune-ppce500.inc | |||
@@ -4,7 +4,7 @@ require conf/machine/include/powerpc/arch-powerpc.inc | |||
4 | 4 | ||
5 | TUNEVALID[ppce500] = "Enable ppce500 specific processor optimizations" | 5 | TUNEVALID[ppce500] = "Enable ppce500 specific processor optimizations" |
6 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "ppce500", "-mcpu=8540", "", d)}" | 6 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "ppce500", "-mcpu=8540", "", d)}" |
7 | TUNE_PKGARCH .= "${@bb.utils.contains("TUNE_FEATURES", "ppce500", "ppce500", "", d)}" | 7 | TUNE_PKGARCH = "${@bb.utils.contains("TUNE_FEATURES", "ppce500", "ppce500", "${PPCPKGARCH}", d)}" |
8 | 8 | ||
9 | TUNEVALID[spe] = "Enable SPE ABI extensions" | 9 | TUNEVALID[spe] = "Enable SPE ABI extensions" |
10 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "spe", "-mabi=spe -mspe", "", d)}" | 10 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "spe", "-mabi=spe -mspe", "", d)}" |
diff --git a/meta/conf/machine/include/tune-ppce500mc.inc b/meta/conf/machine/include/tune-ppce500mc.inc index 73217ddcc5..64e7bdcf0e 100644 --- a/meta/conf/machine/include/tune-ppce500mc.inc +++ b/meta/conf/machine/include/tune-ppce500mc.inc | |||
@@ -4,7 +4,7 @@ require conf/machine/include/powerpc/arch-powerpc.inc | |||
4 | 4 | ||
5 | TUNEVALID[ppce500mc] = "Enable ppce500mc specific processor optimizations" | 5 | TUNEVALID[ppce500mc] = "Enable ppce500mc specific processor optimizations" |
6 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "ppce500mc", "-mcpu=e500mc", "", d)}" | 6 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "ppce500mc", "-mcpu=e500mc", "", d)}" |
7 | TUNE_PKGARCH .= "${@bb.utils.contains("TUNE_FEATURES", "ppce500mc", "ppce500mc", "", d)}" | 7 | TUNE_PKGARCH = "${@bb.utils.contains("TUNE_FEATURES", "ppce500mc", "ppce500mc", "${PPCPKGARCH}", d)}" |
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" |
diff --git a/meta/conf/machine/include/tune-ppce500v2.inc b/meta/conf/machine/include/tune-ppce500v2.inc index 819d68a50e..0cbe5afa1d 100644 --- a/meta/conf/machine/include/tune-ppce500v2.inc +++ b/meta/conf/machine/include/tune-ppce500v2.inc | |||
@@ -4,7 +4,7 @@ require conf/machine/include/powerpc/arch-powerpc.inc | |||
4 | 4 | ||
5 | TUNEVALID[ppce500v2] = "Enable ppce500v2 specific processor optimizations" | 5 | TUNEVALID[ppce500v2] = "Enable ppce500v2 specific processor optimizations" |
6 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "ppce500v2", "-mcpu=8548", "", d)}" | 6 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "ppce500v2", "-mcpu=8548", "", d)}" |
7 | TUNE_PKGARCH .= "${@bb.utils.contains("TUNE_FEATURES", "ppce500v2", "ppce500v2", "", d)}" | 7 | TUNE_PKGARCH = "${@bb.utils.contains("TUNE_FEATURES", "ppce500v2", "ppce500v2", "${PPCPKGARCH}", d)}" |
8 | 8 | ||
9 | TUNEVALID[spe] = "Enable SPE ABI extensions" | 9 | TUNEVALID[spe] = "Enable SPE ABI extensions" |
10 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "spe", "-mabi=spe -mspe", "", d)}" | 10 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "spe", "-mabi=spe -mspe", "", d)}" |