Sounds good to me FWIW. Just one comment...
David Gilbert david.gilbert@linaro.org writes:
My current patch:
- adds armv6 and armv7 to config.sub
- adds arm/eabi/armv7 and arm/eabi/armv6t2 and one assembler
routine in there.
- If $machine is just 'arm' then it autodetects from gcc's #defines
- else if $machine is armv.... then that's still $machine
I'm taking you literally here, but I think you want things like armeb-linux-gnueabi to be treated like arm-linux-gnueabi.
TBH, I think unconditionally using the autodetect (but setting $machine rather than $submachine, as you say) would be easier and more consistent across packages. gcc and eglibc will then agree on the target, whereas the extra complication in the current scheme is there simply to make eglibc and gcc disagree in certain cases. But I realise we might not want to fight that fight.
Richard