projects
/
vuplus_openembedded
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60719a8
)
gcc-common.inc: Make my last change to fpu check catch all linux variants
author
Tom Rini
<trini@embeddedalley.com>
Tue, 17 Feb 2009 02:06:18 +0000
(21:06 -0500)
committer
Tom Rini
<trini@embeddedalley.com>
Tue, 17 Feb 2009 02:06:18 +0000
(21:06 -0500)
packages/gcc/gcc-common.inc
patch
|
blob
|
history
diff --git
a/packages/gcc/gcc-common.inc
b/packages/gcc/gcc-common.inc
index
9e70af7
..
6e777e6
100644
(file)
--- 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 ""