summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorMatthew McClintock <msm@freescale.com>2012-03-22 11:53:43 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-22 17:52:54 +0000
commitc2d96179c00e6600698d3fbc5cf5c95313ab7535 (patch)
treea89b2b9d6f606849cb9833955454f06aae5dbb46 /meta
parent9c52e4b8d4ea63177558a096477b23e8f907ba8e (diff)
downloadopenembedded-core-c2d96179c00e6600698d3fbc5cf5c95313ab7535.tar.gz
openembedded-core-c2d96179c00e6600698d3fbc5cf5c95313ab7535.tar.bz2
openembedded-core-c2d96179c00e6600698d3fbc5cf5c95313ab7535.tar.xz
openembedded-core-c2d96179c00e6600698d3fbc5cf5c95313ab7535.zip
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 Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/conf/machine/include/powerpc/arch-powerpc.inc6
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 c9b2829cf..c5fd6b717 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)}
ABIEXTENSION = "${@['','spe'][d.getVar('TARGET_FPU', True) in ['ppc-efd', 'ppc-efs']]}"
-PPCPKGSFX_FPU = "${@bb.utils.contains("TUNE_FEATURES", "fpu-hard" , "", "-nf", d)}"
-
-PPCPKGARCH = "${TUNE_ARCH}${PPCPKGSFX_FPU}"
-TUNE_PKGARCH ?= "${PPCPKGARCH}"
+PPCPKGSFX_FPU = "${@['', '-nf'][d.getVar('TARGET_FPU', True) in ['fpu-soft']]}"
+TUNE_PKGARCH_append = "${PPCPKGSFX_FPU}"
# Basic tune definitions
AVAILTUNES += "powerpc powerpc-nf"