diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2011-08-11 23:53:50 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-12 17:17:35 +0100 |
commit | 078699cb8c707830c86b55787fd535d87171388e (patch) | |
tree | e19023b11a44d35ffcd23d50cf8ca9c2d95ca738 /meta/conf/machine/include/tune-ppc603e.inc | |
parent | 2c86e636972bd02b35523b36bc81a2765f430f70 (diff) | |
download | openembedded-core-contrib-078699cb8c707830c86b55787fd535d87171388e.tar.gz |
tune-ppc: Update to pass glibc configure option to get cpu specific support
We need --with-cpu based to glibc to get proper support on 603e & e500mc
to pickup proper math libs to deal with sqrt. These core do not
implement the fsqrt[s] instructions that the normal PPC math libs
utilize.
This causes use to not set AVAILTUNES specifically to the sub-arch only
as we arent generically compatiable.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/machine/include/tune-ppc603e.inc')
-rw-r--r-- | meta/conf/machine/include/tune-ppc603e.inc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/conf/machine/include/tune-ppc603e.inc b/meta/conf/machine/include/tune-ppc603e.inc index da8114fed4..c743dde96e 100644 --- a/meta/conf/machine/include/tune-ppc603e.inc +++ b/meta/conf/machine/include/tune-ppc603e.inc @@ -6,6 +6,9 @@ TUNEVALID[ppc603e] = "Enable ppc603e specific processor optimizations" TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "ppc603e", "-mcpu=603e", "", d)}" TUNE_PKGARCH = "${@bb.utils.contains('TUNE_FEATURES', 'ppc603e', 'ppc603e', '${PPCPKGARCH}', d)}" -AVAILTUNES += "ppc603e" +AVAILTUNES = "ppc603e" TUNE_FEATURES_tune-ppc603e = "m32 fpu-hard ppc603e" PACKAGE_EXTRA_ARCHS_tune-ppc603e = "powerpc ppc603e" + +# glibc configure options to get 603e specific library (for sqrt) +GLIBC_EXTRA_OECONF += "${@bb.utils.contains("TUNE_FEATURES", "ppc603e", "-with-cpu=603e", "", d)}" |