diff options
author | Matthew McClintock <msm@freescale.com> | 2012-03-22 11:53:43 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-22 17:53:02 +0000 |
commit | 39c2e33c39aff2acf6c30ddb66bb9ee208eecb0b (patch) | |
tree | 0808a3f5982951dcdcfb14fa36313052724fb9f6 /meta/conf | |
parent | 961b149496b679234aa25b961a6240ed6e9850cf (diff) | |
download | poky-39c2e33c39aff2acf6c30ddb66bb9ee208eecb0b.tar.gz |
arch-powerpc.inc: use default value of TUNE_PKGARCH
We can use the default value for TUNE_PKGARCH, and now we just
append "-nf" if TARGET_FPU is fpu-soft
(From OE-Core rev: c2d96179c00e6600698d3fbc5cf5c95313ab7535)
Signed-off-by: Matthew McClintock <msm@freescale.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 |
1 files changed, 2 insertions, 4 deletions
diff --git a/meta/conf/machine/include/powerpc/arch-powerpc.inc b/meta/conf/machine/include/powerpc/arch-powerpc.inc index c9b2829cf0..c5fd6b7173 100644 --- a/meta/conf/machine/include/powerpc/arch-powerpc.inc +++ b/meta/conf/machine/include/powerpc/arch-powerpc.inc | |||
@@ -18,10 +18,8 @@ TARGET_FPU .= "${@bb.utils.contains("TUNE_FEATURES", "fpu-soft", "soft", "", d)} | |||
18 | 18 | ||
19 | ABIEXTENSION = "${@['','spe'][d.getVar('TARGET_FPU', True) in ['ppc-efd', 'ppc-efs']]}" | 19 | ABIEXTENSION = "${@['','spe'][d.getVar('TARGET_FPU', True) in ['ppc-efd', 'ppc-efs']]}" |
20 | 20 | ||
21 | PPCPKGSFX_FPU = "${@bb.utils.contains("TUNE_FEATURES", "fpu-hard" , "", "-nf", d)}" | 21 | PPCPKGSFX_FPU = "${@['', '-nf'][d.getVar('TARGET_FPU', True) in ['fpu-soft']]}" |
22 | 22 | TUNE_PKGARCH_append = "${PPCPKGSFX_FPU}" | |
23 | PPCPKGARCH = "${TUNE_ARCH}${PPCPKGSFX_FPU}" | ||
24 | TUNE_PKGARCH ?= "${PPCPKGARCH}" | ||
25 | 23 | ||
26 | # Basic tune definitions | 24 | # Basic tune definitions |
27 | AVAILTUNES += "powerpc powerpc-nf" | 25 | AVAILTUNES += "powerpc powerpc-nf" |