Other Parts Discussed in Thread: AM6442
I have successfully used Yocto/Arago to build and deploy a customized SDK using the "meta-toolchain-arago-tisdk" target, per the instructions at https://software-dl.ti.com/processor-sdk-linux/esd/docs/08_00_00_21/linux/Overview_Building_the_SDK.html
However, this SDK is insufficient for compiling "kernel-aware" applications, I would call them. Specifically, I am building an application that includes clocksource.h.
If I include "kernel-devsrc" in my TOOLCHAIN_TARGET_TASK:append, I get headers like clocksource.h, but not the architecture-specific <asm/...> headers, which are #included by clocksource.h. So my compile fails. (Related, the default $CXX environment variables and the like set by environment-setup-* do not include "-I <path>" switches to include the headers. Would be nice if there were preset variables.)
After some sleuthing, I deduced that it appears that the asm headers are associated with kerneI, and that need the "Full SDK" in order to do "kernel development". (I am not doing kernel development with this application, but it appears that I need the headers for my application.)
However, the instructions at the link above for building the Full SDK are clearly out of date - there is no arago-core-tisdk-bundle target anywhere in the TI source tree.
I found a "tisdk-core-bundle.inc", and tried adding it to SDK recipe, like so:
require recipes-core/meta/meta-toolchain-arago-tisdk.bb
require recipes-core/images/tisdk-core-bundle.inc
but the build fails.
What is the correct way to build a customized Full SDK?
Thanks,
Brad