I have a Nerves project with some C modules in the “packages” directory. If the compilation of a C package fails during a build, is there a way to re-sync the C source code and start from that point? I haven’t found a way, except for blowing away all build artifacts and starting the full 1hr build process all over again.
In case it helps anyone - I have finally found a way.
Delete the nerves artifact folder for the project configuration, mine is: /Volumes/nerves/artifacts/[hardware-ver]/
Inside the Docker build container, navigate to the /build/ directory, find the top-level folder for the C module in question, and delete it.
The next build will re-sync that module and re-compile just that C module.