summaryrefslogtreecommitdiffstats
path: root/meta/conf/machine/include/powerpc/arch-powerpc.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/conf/machine/include/powerpc/arch-powerpc.inc')
-rw-r--r--meta/conf/machine/include/powerpc/arch-powerpc.inc15
1 files changed, 8 insertions, 7 deletions
diff --git a/meta/conf/machine/include/powerpc/arch-powerpc.inc b/meta/conf/machine/include/powerpc/arch-powerpc.inc
index c5fd6b7173..12909d9651 100644
--- a/meta/conf/machine/include/powerpc/arch-powerpc.inc
+++ b/meta/conf/machine/include/powerpc/arch-powerpc.inc
@@ -5,6 +5,9 @@
5 5
6DEFAULTTUNE ?= "powerpc" 6DEFAULTTUNE ?= "powerpc"
7 7
8TUNE_PKGARCH = "${TUNE_PKGARCH_tune-${DEFAULTTUNE}}"
9ABIEXTENSION ?= ""
10
8TUNEVALID[m32] = "Power ELF32 standard ABI" 11TUNEVALID[m32] = "Power ELF32 standard ABI"
9TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "m32", "-m32", "", d)}" 12TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "m32", "-m32", "", d)}"
10TUNE_ARCH .= "${@bb.utils.contains("TUNE_FEATURES", "m32", "powerpc", "", d)}" 13TUNE_ARCH .= "${@bb.utils.contains("TUNE_FEATURES", "m32", "powerpc", "", d)}"
@@ -16,16 +19,14 @@ TUNEVALID[fpu-soft] = "Use software FPU."
16TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "fpu-soft", "-msoft-float", "", d)}" 19TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "fpu-soft", "-msoft-float", "", d)}"
17TARGET_FPU .= "${@bb.utils.contains("TUNE_FEATURES", "fpu-soft", "soft", "", d)}" 20TARGET_FPU .= "${@bb.utils.contains("TUNE_FEATURES", "fpu-soft", "soft", "", d)}"
18 21
19ABIEXTENSION = "${@['','spe'][d.getVar('TARGET_FPU', True) in ['ppc-efd', 'ppc-efs']]}"
20
21PPCPKGSFX_FPU = "${@['', '-nf'][d.getVar('TARGET_FPU', True) in ['fpu-soft']]}"
22TUNE_PKGARCH_append = "${PPCPKGSFX_FPU}"
23
24# Basic tune definitions 22# Basic tune definitions
25AVAILTUNES += "powerpc powerpc-nf" 23AVAILTUNES += "powerpc powerpc-nf"
26TUNE_FEATURES_tune-powerpc-nf ?= "m32 fpu-soft" 24TUNE_FEATURES_tune-powerpc-nf = "m32 fpu-soft"
27BASE_LIB_tune-powerpc-nf = "lib" 25BASE_LIB_tune-powerpc-nf = "lib"
26TUNE_PKGARCH_tune-powerpc-nf = "powerpc-nf"
28PACKAGE_EXTRA_ARCHS_tune-powerpc-nf = "powerpc-nf" 27PACKAGE_EXTRA_ARCHS_tune-powerpc-nf = "powerpc-nf"
29TUNE_FEATURES_tune-powerpc ?= "m32 fpu-hard" 28
29TUNE_FEATURES_tune-powerpc = "m32 fpu-hard"
30BASE_LIB_tune-powerpc = "lib" 30BASE_LIB_tune-powerpc = "lib"
31TUNE_PKGARCH_tune-powerpc = "powerpc"
31PACKAGE_EXTRA_ARCHS_tune-powerpc = "powerpc" 32PACKAGE_EXTRA_ARCHS_tune-powerpc = "powerpc"