[oe-commits] Richard Purdie : gcc-common: Improve fpu code checksum dependencies

git at git.openembedded.org git at git.openembedded.org
Fri Oct 4 17:14:10 UTC 2013


Module: openembedded-core.git
Branch: master-next
Commit: 83055511dab1e2aeefe84262ebe52595848c844b
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=83055511dab1e2aeefe84262ebe52595848c844b

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Wed Oct  2 13:06:19 2013 +0000

gcc-common: Improve fpu code checksum dependencies

We only care about the end result in this case, not the specific inputs
that went into determining the gcc option. This change updates the code
to reflect that.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-devtools/gcc/gcc-common.inc |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-devtools/gcc/gcc-common.inc b/meta/recipes-devtools/gcc/gcc-common.inc
index 062ccc7..4f691a0 100644
--- a/meta/recipes-devtools/gcc/gcc-common.inc
+++ b/meta/recipes-devtools/gcc/gcc-common.inc
@@ -16,6 +16,8 @@ def get_gcc_fpu_setting(bb, d):
         return "--enable-e500_double"
     return ""
 
+get_gcc_fpu_setting[vardepvalue] = "${@get_gcc_fpu_setting(bb, d)}"
+
 def get_gcc_mips_plt_setting(bb, d):
     if d.getVar('TRANSLATED_TARGET_ARCH', True) in [ 'mips', 'mipsel' ] and 'mplt' in d.getVar('DISTRO_FEATURES',1).split() :
         return "--with-mips-plt"



More information about the Openembedded-commits mailing list