aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-10-02 13:06:19 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-10-04 18:25:06 +0100
commit83055511dab1e2aeefe84262ebe52595848c844b (patch)
tree40d0292058d4335c751c3a050bca73ccf9e7d167
parenta64de25d6006ec6dd777d8f3820a48244dfbf62b (diff)
downloadopenembedded-core-contrib-83055511dab1e2aeefe84262ebe52595848c844b.tar.gz
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@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/gcc/gcc-common.inc2
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 062ccc7c03..4f691a090c 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"