[oe-commits] Tom Rini : gcc-common.inc: Make my last change to fpu check catch all linux variants
GIT User account
git at amethyst.openembedded.net
Tue Feb 17 03:05:43 CET 2009
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 759542d7c98a220db6ab4a76556237ef734a5129
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=759542d7c98a220db6ab4a76556237ef734a5129
Author: Tom Rini <trini at embeddedalley.com>
Date: Mon Feb 16 21:06:18 2009 -0500
gcc-common.inc: Make my last change to fpu check catch all linux variants
---
packages/gcc/gcc-common.inc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/packages/gcc/gcc-common.inc b/packages/gcc/gcc-common.inc
index 9e70af7..6e777e6 100644
--- a/packages/gcc/gcc-common.inc
+++ b/packages/gcc/gcc-common.inc
@@ -11,7 +11,7 @@ FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gcc-${PV}"
# for building for the new host part. So only obey TARGET_FPU for the
# real target.
def get_gcc_fpu_setting(bb, d):
- if bb.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ] and bb.data.getVar('TARGET_OS', d, 1) in [ 'linux' ]:
+ if bb.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ] and bb.data.getVar('TARGET_OS', d, 1).find('linux') >= 0 :
return "--with-float=soft"
return ""
More information about the Openembedded-commits
mailing list