Am Di., 28. Juli 2020 um 07:09 Uhr schrieb <email@example.com>:
I am trying to build a yocto demo-coreip-cli image for my custom RISC-V SOC which only supports imafd instructions. For the compilation of cross toolchain that is used by Bitbake, I tried changing cross-binutils.inc recipe and cross-gcc.inc recipe in openembedded-core layer by including “–with-arch=rv64imafd” in "EXTRA_OECONF " variable. Is there anything else I am missing or doing wrong? Thank You.
Patching the cross toolchain should be the last resort. First, you
should create a MACHINE definition that suits your needs and adjust
the tune flags there.