Hi. This is somewhat related to #2, which allows for building of avr binaries during bitbake execution. It would be nice to also have the tools be populated during the populate_sdk task so the same toolchain can be used to build when sourcing the Yocto sdk. Is this something that can be done? Looking into poky, it seems like all that would be needed is the packagegroup and have BBCLASSEXTENDS contain nativesdk.
I attempted this myself by adding
However, I encountered an error when compiling nativesdk-avr-gcc:
g++: error: unrecognized command line option ‘-fmacro-prefix-map=...'
I am not well versed in target vs native vs nativesdk, so I am unsure where to go from here.
Hi. This is somewhat related to #2, which allows for building of avr binaries during bitbake execution. It would be nice to also have the tools be populated during the
populate_sdktask so the same toolchain can be used to build when sourcing the Yocto sdk. Is this something that can be done? Looking intopoky, it seems like all that would be needed is the packagegroup and haveBBCLASSEXTENDScontainnativesdk.I attempted this myself by adding
BBCLASSEXTENDS = "nativesdk"to,avr-*recipesAdded a package group...
However, I encountered an error when compiling
nativesdk-avr-gcc:I am not well versed in target vs native vs nativesdk, so I am unsure where to go from here.