Thanks, that's exactly what I needed.
Am 01.11.2017 um 15:40 schrieb Christian Helmuth:
Hello Johannes,
I don't know exactly the compilation dependencies of your init binary and how it should be built. But, you may have a look into
repos/base-linux/src/test/lx_hybrid_ctors/target.mk
which generates a libtestlib.so shared object for testing on base-linux. The target.mk just adds a special target which the original TARGET depends on, but it handles the compilation and linking manually.
Hope this helps