To make local plugin development easier, we added an environment setup file in mod-plugin-builder.
Also added a small section on the wiki to explain what's going on: http://wiki.moddevices.com/wiki/How_To_Build_and_Deploy_LV2_Plugin_to_MOD_Duo#Local_development
For local development of plugins using buildroot can be bothersome and confusing.
You can use the cross-compiler and toolchain directly instead of going through buildroot methods.
Note that this expects that your source code build system is cross-compile friendly (ie, no hardcoded compiler and paths and uses pkg-config to find extra libraries).
Also this only works on a real Linux system, without using docker.
The setup is as simple as: (adjust as needed)
The local.env file will setup your Linux compiler environment variables (such as CC, CXX, CFLAGS, etc) to use mod-plugin-builder files.
If everything goes well, the resulting binaries will be ARMv7, MOD Duo compatible.
The magic happens on this file: https://github.com/moddevices/mod-plugin-builder/blob/master/local.env
For those used to Linux and development, this should look straight forward.
At least it does to me
Let me know if it works for you, questions welcome.