[meta-ti] Getting TI tools into [host] SDK
Khem Raj
raj.khem at gmail.com
Wed Mar 8 09:03:28 PST 2017
On 17-03-08 09:10:18, Gary Thomas wrote:
> I'm trying to build a [host] SDK for my target which uses some
> TI tools, via -c populate_sdk_ext
>
> In particular, I'm using recipes-ti/devtools/ti-cgt-pru_2.1.4.bb
> I include ti-cgt-pru-native to use the tools in my bitbake recipes - that works fine.
> I include ti-cgt-pru in my target image to get the tools on my board - that also works.
>
> The problem is that in my SDK, none of the binaries are included, including clpru:
>
> $ ls -l /home/gthomas/my_ti_sdk/tmp/sysroots/rainier-p8701/usr/share/ti/cgt-pru
> total 16
> drwxrwxr-x 2 gthomas gthomas 12288 Mar 8 08:22 include
> drwxrwxr-x 3 gthomas gthomas 4096 Mar 8 08:22 lib
>
> I added this to try and include the files:
> TOOLCHAIN_HOST_TASK += "'nativesdk-ti-cgt-pru"
> and I can see that there was a nativesdk-ti-cgt-pru built which does have all the
> executables included, they just aren't being packaged.
>
> $ ls tmp/work/x86_64-nativesdk-mysdk-linux/nativesdk-ti-cgt-pru/2.1.4-r0/image/opt/mydistro/2.2+snapshot/sysroots/x86_64-amltdsdk-linux/usr/share/ti/cgt-pru/bin
perhaps you need to correct the install location for nativesdk may be
via overriding do_install
> abspru arpru cgpru clpru dispru hexpru libinfopru nmpru optpru xrefpru
> acpiapru asmpru clistpru dempru embedpru ilkpru lnkpru ofdpru strippru
>
> Any ideas on what I need to do to get the binary executables into my SDK?
>
> Note: I copied just those (bin) files into my SDK target sysroot usr/bin and the compiler
> runs just fine. I just need to figure out the recipe magic to make this happen.
>
> Thanks
>
> --
> ------------------------------------------------------------
> Gary Thomas | Consulting for the
> MLB Associates | Embedded world
> ------------------------------------------------------------
> --
> _______________________________________________
> meta-ti mailing list
> meta-ti at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
More information about the meta-ti
mailing list