AnsweredAssumed Answered

Yocto customize toolchain - add mvf_sema4.h

Question asked by Petr Kubiznak on Jan 3, 2015
Latest reply on Jan 7, 2015 by OtavioSalvador


I'm working on a dual-core application using the mcc library to communicate between MQX (M4) and Yocto-based Linux (A5). Hence the linux-side application has to include <linux/mcc_config.h>, which includes <linux/mvf_sema4.h>. This file does not populate to the toolchain though (I used the following command):

bitbake my-qte-image -c populate_sdk

I did not manage to find out how to configure what files should come into SDK, the Yocto documentation is basically to complicated.

I know I can manually copy the file to the sysroot so I can build my app (as adviced at Colibri VF61 Real-Time Demo (XY Pen Plotter), where they meet the same issue), but I need to find an automated solution so I can add the app to my custom image, and it builds fully automatically.

Can someone, perhaps OtavioSalvador, please point out how to tweak SDK generation to populate requested file?