Patchwork [1/4] clutter.bbclass: removed unused function

login
register
mail settings
Submitter Tomas Frydrych
Date May 21, 2013, 3:08 p.m.
Message ID <1369148923-20676-2-git-send-email-tf+lists.yocto@r-finger.com>
Download mbox | patch
Permalink /patch/50257/
State Accepted
Commit 32b4a4abd9437db81b0ea70a820b202d40b779e7
Headers show

Comments

Tomas Frydrych - May 21, 2013, 3:08 p.m.
From: Tomas Frydrych <tomas@sleepfive.com>

Clutter and cogl no longer use --with-fpu configure option, so we no longer
require the get_fpu_settings() function.

Signed-off-by: Tomas Frydrych <tomas@sleepfive.com>
---
 meta/classes/clutter.bbclass |    5 -----
 1 file changed, 5 deletions(-)

Patch

diff --git a/meta/classes/clutter.bbclass b/meta/classes/clutter.bbclass
index 184fb44..0dc4850 100644
--- a/meta/classes/clutter.bbclass
+++ b/meta/classes/clutter.bbclass
@@ -13,11 +13,6 @@  VERMINOR = "${@get_minor_dir("${PV}")}"
 REALNAME = "${@get_real_name("${BPN}")}"
 FILESPATH = "${@base_set_filespath(["${FILE_DIRNAME}/${REALNAME}-${PV}", "${FILE_DIRNAME}/${REALNAME}-${VERMINOR}", "${FILE_DIRNAME}/${REALNAME}", "${FILE_DIRNAME}/files"], d)}"
 
-def get_fpu_setting(bb, d):
-    if d.getVar('TARGET_FPU', True) in [ 'soft' ]:
-        return "--without-fpu"
-    return ""
-
 CLUTTER_SRC_FTP = "${GNOME_MIRROR}/${REALNAME}/${VERMINOR}/${REALNAME}-${PV}.tar.xz;name=archive"
 
 CLUTTER_SRC_GIT = "git://git.gnome.org/${REALNAME};protocol=git"