From b74404fea18ab4304a409f395ab65c185c750d23 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 9 Nov 2006 22:54:26 +0000 Subject: gcc: Factor get_gcc_fpu_setting() into a common .inc file (removing method errors) --- packages/gcc/gcc3-build.inc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'packages/gcc/gcc3-build.inc') diff --git a/packages/gcc/gcc3-build.inc b/packages/gcc/gcc3-build.inc index 6260a51533..2924f0f9dd 100644 --- a/packages/gcc/gcc3-build.inc +++ b/packages/gcc/gcc3-build.inc @@ -54,10 +54,7 @@ ARCH_FLAGS_FOR_TARGET_slugos = "${TARGET_CC_ARCH}" ARCH_FLAGS_FOR_TARGET_unslung = "${TARGET_CC_ARCH}" EXTRA_OEMAKE += "ARCH_FLAGS_FOR_TARGET='${ARCH_FLAGS_FOR_TARGET}'" -def get_gcc_fpu_setting(bb, d): - if bb.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ]: - return "--with-float=soft" - return "" +require gcc-fpu.inc python __anonymous () { import bb, re -- cgit v1.2.3