-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
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
-
BBCLASSEXTENDS = "nativesdk"
to,avr-*
recipes -
Added a package group...
SUMMARY = "Host packages for AVR SDK or external toolchain" LICENSE = "MIT" inherit nativesdk packagegroup PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1" RDEPENDS_${PN} += " \ nativesdk-packagegroup-sdk-host \ nativesdk-avr-binutils \ nativesdk-avr-gcc \ nativesdk-avr-gdb \ nativesdk-avr-libc \ "
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.
Metadata
Metadata
Assignees
Labels
No labels