Instead of carrying around the 0010-MIPS64-Default-to-N64-ABI.patch patch, you could use do the following inside gcc-target.inc: EXTRA_OECONF:append:mips64:class-target = " --with-abi=64" This is one less patch to carry forward really.
Oh, I looked and gcc-configure-common.inc already does this: EXTRA_OECONF:append:mips64 = " --with-abi=64 --with-arch-64=mips64 --with-tune-64=mips64" EXTRA_OECONF:append:mips64el = " --with-abi=64 --with-arch-64=mips64 --with-tune-64=mips64" EXTRA_OECONF:append:mips64n32 = " --with-abi=64 --with-arch-64=mips64 --with-tune-64=mips64" EXTRA_OECONF:append:mips64eln32 = " --with-abi=64 --with-arch-64=mips64 --with-tune-64=mips64" EXTRA_OECONF:append:mipsisa32r6el = " --with-abi=32 --with-arch=mips32r6" EXTRA_OECONF:append:mipsisa32r6 = " --with-abi=32 --with-arch=mips32r6" EXTRA_OECONF:append:mipsisa64r6el = " --with-abi=64 --with-arch-64=mips64r6" EXTRA_OECONF:append:mipsisa64r6 = " --with-abi=64 --with-arch-64=mips64r6" So this patch really could be removed without doing anything extra.
Thanks for the tip. we'll look into dropping that!
https://git.yoctoproject.org/poky/commit/?id=921d3aa667ce7df03012d9ecbb62fb91f60ebf07