diff options
| author | Khem Raj <raj.khem@gmail.com> | 2025-05-07 08:04:25 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-05-12 22:01:55 +0100 |
| commit | 6920f26ee8ac55b9c3c948ec8273be6f002e1d43 (patch) | |
| tree | 6e07c52ddd0026094cc1107fc2c458d7c1dd6c2e /meta/conf | |
| parent | b2d8a30f2279adf9772305444fc3f0a71c966936 (diff) | |
| download | poky-6920f26ee8ac55b9c3c948ec8273be6f002e1d43.tar.gz | |
arch-powerpc: Use -maltivec in compiler flags if altivec is in tune features
(From OE-Core rev: 80ecd2c42e9e1215de403ef9b69ab290f26cd750)
Signed-off-by: Khem Raj <raj.khem@gmail.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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/conf/machine/include/powerpc/arch-powerpc.inc b/meta/conf/machine/include/powerpc/arch-powerpc.inc index be687e2df7..0719477c41 100644 --- a/meta/conf/machine/include/powerpc/arch-powerpc.inc +++ b/meta/conf/machine/include/powerpc/arch-powerpc.inc | |||
| @@ -26,6 +26,7 @@ TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'fpu-soft', ' -msoft-float | |||
| 26 | TARGET_FPU .= "${@bb.utils.contains('TUNE_FEATURES', 'fpu-soft', 'soft', '', d)}" | 26 | TARGET_FPU .= "${@bb.utils.contains('TUNE_FEATURES', 'fpu-soft', 'soft', '', d)}" |
| 27 | 27 | ||
| 28 | TUNEVALID[altivec] = "Altivec" | 28 | TUNEVALID[altivec] = "Altivec" |
| 29 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'altivec', ' -maltivec', '', d)}" | ||
| 29 | 30 | ||
| 30 | # Basic tune definitions | 31 | # Basic tune definitions |
| 31 | AVAILTUNES += "powerpc powerpc-nf powerpcle powerpcle-nf" | 32 | AVAILTUNES += "powerpc powerpc-nf powerpcle powerpcle-nf" |
