We, at ROLI, have been working with JUCE and OpenEmbedded for quite a while now, but we never publicly released our implementation.
I am working on this right now, so hopefully our support for JUCE will soon be upstreamed.
Anyway, if you have the option to choose from buildroot to OpenEmbedded/Yocto, I recommend you doing so. Otherwise, I recommend you write yourself the buildroot support based on on the OpenEmbedded recipes.
But there are few things to keep in mind:
- Use the latest develop branch of JUCE, since it has support for pkg-config.
- Build Projucer naively (as a host tool) and meet its dependencies.
In this particular case I have used
libx11 libxext libxinerama libxinerama libxrandr libxcursor freetype curl
- Use this Projucer to generate Makefiles for your application and build it normally.
Keep in mind that at this point in time that even a JUCE console application will require
juce_core uses X11 events to handle internal events. This will be fixed in future.
If you want some inspiration, take a look at our initial submission.