Reputation: 17164
I was compiling Qt5 for a embedded device on the device itself. This takes a long time since Qt sources are about 800mb and the embedded device isn't exactly fast.
Everything was running well, until a power shortage prevented the device from finishing make
, therefore halting the compilation process.
Is there any way to resume from where it was left of?
Upvotes: 2
Views: 1134
Reputation: 7100
If it's a well-formed makefile
, simply re-running make
should allow you to resume the process.
The make -t
command mentioned (assuming gnu make) simply touches the files (updates the timestamps) and doesn't actually perform the actions in the makefile
so at this point, you'll probably have to start over.
Also rather than building on the slow target, consider setting up a cross-compiler and build system. It's often a lot of work initially, but pays considerable dividends over time. I would recommend crosstool-ng
as one of the least painful ways of setting up such an environment.
Upvotes: 1