We are working and nearly done on a layer that would live on top of meta-morello and that contains purecap user space libraries that live in a purecap sysroot in parallel to the usual c64 packages. Adding rpath the the compiler flags simplifies that work.
Further more user space recipes shall inherit yet another class that will override the $libdir $prefix etc. variables found in bibtake.conf to reduce the amount of hoops one has to jump through when doing the above sysroot trick and working with Yocto.
For that to work, two of the paths in the llvm class need to be hardcoded until a more elegant solution is found (possibly moving overriding of all paths into the llvm-class itself, as the BSP does not care about user space paths anyway).
Pawel Zalewski (2): classes: add rpath to the compiler flags and fix paths config: fix path for purecap sysroot, drop c64 flag
meta-morello-toolchain/classes/llvm-morello.bbclass | 8 ++++++-- meta-morello-toolchain/conf/layer.conf | 4 ++-- 2 files changed, 8 insertions(+), 4 deletions(-)