diff options
Diffstat (limited to 'meta/conf/machine/include/powerpc/arch-powerpc.inc')
-rw-r--r-- | meta/conf/machine/include/powerpc/arch-powerpc.inc | 15 |
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 | ||
6 | DEFAULTTUNE ?= "powerpc" | 6 | DEFAULTTUNE ?= "powerpc" |
7 | 7 | ||
8 | TUNE_PKGARCH = "${TUNE_PKGARCH_tune-${DEFAULTTUNE}}" | ||
9 | ABIEXTENSION ?= "" | ||
10 | |||
8 | TUNEVALID[m32] = "Power ELF32 standard ABI" | 11 | TUNEVALID[m32] = "Power ELF32 standard ABI" |
9 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "m32", "-m32", "", d)}" | 12 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "m32", "-m32", "", d)}" |
10 | TUNE_ARCH .= "${@bb.utils.contains("TUNE_FEATURES", "m32", "powerpc", "", d)}" | 13 | TUNE_ARCH .= "${@bb.utils.contains("TUNE_FEATURES", "m32", "powerpc", "", d)}" |
@@ -16,16 +19,14 @@ TUNEVALID[fpu-soft] = "Use software FPU." | |||
16 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "fpu-soft", "-msoft-float", "", d)}" | 19 | TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "fpu-soft", "-msoft-float", "", d)}" |
17 | TARGET_FPU .= "${@bb.utils.contains("TUNE_FEATURES", "fpu-soft", "soft", "", d)}" | 20 | TARGET_FPU .= "${@bb.utils.contains("TUNE_FEATURES", "fpu-soft", "soft", "", d)}" |
18 | 21 | ||
19 | ABIEXTENSION = "${@['','spe'][d.getVar('TARGET_FPU', True) in ['ppc-efd', 'ppc-efs']]}" | ||
20 | |||
21 | PPCPKGSFX_FPU = "${@['', '-nf'][d.getVar('TARGET_FPU', True) in ['fpu-soft']]}" | ||
22 | TUNE_PKGARCH_append = "${PPCPKGSFX_FPU}" | ||
23 | |||
24 | # Basic tune definitions | 22 | # Basic tune definitions |
25 | AVAILTUNES += "powerpc powerpc-nf" | 23 | AVAILTUNES += "powerpc powerpc-nf" |
26 | TUNE_FEATURES_tune-powerpc-nf ?= "m32 fpu-soft" | 24 | TUNE_FEATURES_tune-powerpc-nf = "m32 fpu-soft" |
27 | BASE_LIB_tune-powerpc-nf = "lib" | 25 | BASE_LIB_tune-powerpc-nf = "lib" |
26 | TUNE_PKGARCH_tune-powerpc-nf = "powerpc-nf" | ||
28 | PACKAGE_EXTRA_ARCHS_tune-powerpc-nf = "powerpc-nf" | 27 | PACKAGE_EXTRA_ARCHS_tune-powerpc-nf = "powerpc-nf" |
29 | TUNE_FEATURES_tune-powerpc ?= "m32 fpu-hard" | 28 | |
29 | TUNE_FEATURES_tune-powerpc = "m32 fpu-hard" | ||
30 | BASE_LIB_tune-powerpc = "lib" | 30 | BASE_LIB_tune-powerpc = "lib" |
31 | TUNE_PKGARCH_tune-powerpc = "powerpc" | ||
31 | PACKAGE_EXTRA_ARCHS_tune-powerpc = "powerpc" | 32 | PACKAGE_EXTRA_ARCHS_tune-powerpc = "powerpc" |