Patchwork gcc-common: Improve fpu code checksum dependencies

login
register
mail settings
Submitter Richard Purdie
Date Oct. 4, 2013, 11:26 a.m.
Message ID <1380885965.18603.593.camel@ted>
Download mbox | patch
Permalink /patch/59237/
State Accepted
Commit f81f4c5f21d48b48b710590a80e67dca70893e70
Headers show

Comments

Richard Purdie - Oct. 4, 2013, 11:26 a.m.
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>
---

Patch

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"