]> code.ossystems Code Review - openembedded-core.git/commitdiff
gcc-common: Improve fpu code checksum dependencies
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 2 Oct 2013 13:06:19 +0000 (13:06 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 4 Oct 2013 17:25:06 +0000 (18:25 +0100)
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@linuxfoundation.org>
meta/recipes-devtools/gcc/gcc-common.inc

index 062ccc7c037dab4ea6261b8bc8084f3815e3eec5..4f691a090cdfeb8f12525891e4e401e24b47a19f 100644 (file)
@@ -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"