]> code.ossystems Code Review - openembedded-core.git/commitdiff
glibc: Remove duplicate methods
authorRichard Purdie <richard@openedhand.com>
Thu, 16 Nov 2006 14:38:42 +0000 (14:38 +0000)
committerRichard Purdie <richard@openedhand.com>
Thu, 16 Nov 2006 14:38:42 +0000 (14:38 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@857 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/packages/glibc/glibc_2.3.5+cvs20050627.bb
meta/packages/glibc/glibc_2.4.bb
meta/packages/glibc/glibc_csl-2005q3-2.bb

index 8e5adb7ed9d220f0404cf7180862c662f72acabb..2d29d95b3a56fdafc4cf5d0cd5e287d1adeda256 100644 (file)
@@ -76,11 +76,6 @@ EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \
 
 EXTRA_OECONF += "${@get_glibc_fpu_setting(bb, d)}"
 
-def get_glibc_fpu_setting(bb, d):
-       if bb.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ]:
-               return "--without-fp"
-       return ""
-
 do_munge() {
        # Integrate ports into tree
        mv ${WORKDIR}/ports ${S}
index 4ebffb57797aaa6002c896eb2fb8c2c1b20c100d..857af90828dd90050f40741f7d8145c9fd07e197 100644 (file)
@@ -85,11 +85,6 @@ EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \
 
 EXTRA_OECONF += "${@get_glibc_fpu_setting(bb, d)}"
 
-def get_glibc_fpu_setting(bb, d):
-       if bb.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ]:
-               return "--without-fp"
-       return ""
-
 do_munge() {
        # Integrate ports and libidn into tree
        mv ${WORKDIR}/glibc-ports-${PV} ${S}/ports
index 754c01c488a585a02cd1822b114496b0f3302388..ac6bc9f26efee476a5bf5346e0c9fd4dba115f58 100644 (file)
@@ -69,12 +69,6 @@ EXTRA_OECONF = "--without-cvs --disable-profile --disable-debug --without-gd \
 
 EXTRA_OECONF += "${@get_glibc_fpu_setting(bb, d)}"
 
-def get_glibc_fpu_setting(bb, d):
-       if bb.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ]:
-               return "--without-fp"
-       return ""
-
-
 do_configure () {
 # override this function to avoid the autoconf/automake/aclocal/autoheader
 # calls for now