reticulatedpines / magiclantern_simplified

A Git based version of Magic Lantern, for those unwilling or unable to work using Mercurial. The vast majority of branches have been removed, with those thought to be important brought in individually and merged.
GNU General Public License v2.0
149 stars 51 forks source link

module build is missing some dependency #133

Open reticulatedpines opened 8 months ago

reticulatedpines commented 8 months ago

To repro, make zip a cam, edit mlv_rec/mlv.c (probably enough of an edit to move symbols around? Unsure), make zip again. This can cause errors:

[ MODULE   ]   mlv_rec.mo
mlv.o: file not recognized: file format not recognized

[...]

[ MODULE   ]   mlv_lite.mo
../mlv_rec/mlv.o: file not recognized: file format not recognized
make[4]: *** [../Makefile.modules:51: mlv_lite.mo] Error 1

mlv_lite.mo depends on mlv.o, but probably this is not checked during a cam build? Something like that, anyway. Make clean in modules dir, then make zip cam fixes it.