On (24/11/11 12:44), Julian Pidancet wrote: > >> +def get_gcc_multiarch_setting(bb, d): > >> + if 'multiarch' in bb.data.getVar('DISTRO_FEATURES',d,1).split() : > >> + if bb.data.getVar('TARGET_ARCH', d, 1) in [ 'i586', 'i686' ] : > >> + return "--enable-targets=all" > >> + if bb.data.getVar('TARGET_ARCH', d, 1) in [ 'powerpc' ] : > >> + return "--enable-targets=powerpc64" > >> + if bb.data.getVar('TARGET_ARCH', d, 1) in [ 'sparc' ] : > >> + return "--enable-targets=all" > >> + return ""
looking at above function can this be made into a single if statement instead of 3 and we also need multiarch support in gdb recipes as well. > > > > > > you forgot mips here > > > > mips and s390 are not yet supported in the gcc version that OE is using. yes right forgot about that it will be in 4.7 > > -- > Julian -- -Khem _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core