You can extract common part of two toolchain file to separate file and include it in toolchains