On Mon, 2011-08-01 at 09:37 -0500, Kumar Gala wrote: > Not sure I understand the statement about disambiguate the resulting > compilers, on PPC where I intend to utilize this we'd have the toolchains > already named something like:
The thing about disambiguating was that, if you're going to modify the configure opts for gcc-cross based (indirectly) on ${MACHINE} you need to consider what happens if you have a single build directory that's being used for multiple MACHINEs. >From what you've described as the usecase for this feature it sounds as though the easiest answer to that is simply to stop your extra flags from being used by gcc-cross and ensure that they're only used by gcc. Then you'd just need to make sure that the PACKAGE_ARCH for gcc always reflects the options being used, which sounds lke it might already be true for ppc but possibly is not in general. (The target gcc package isn't buildable for me at the moment but a bit of poking around with bitbake -e suggests that it's just getting the generic architecture PACKAGE_ARCH on i586 at least.) I'm not familiar enough with the sdk code to know whether there are going to be any issues around that or not. p. _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core