Magic Lantern Forum

Developing Magic Lantern => General Development => Topic started by: gerk.raisen on June 03, 2013, 05:54:55 PM

Title: compile modules: make: `all' is up to date
Post by: gerk.raisen on June 03, 2013, 05:54:55 PM
I receive this error trying to compile modules running make inside the MODULES folder

~/magic-lantern/modules# make clean
make: `clean' is up to date.

also

~/magic-lantern/modules# make
make: `all' is up to date.

Instead running make inside every specific plugin folder is ok.
What I'm doing wrong? :)
Title: Re: compile modules: make: `all' is up to date
Post by: nanomad on June 03, 2013, 05:58:28 PM
You need to edit Makefile.modules.user and select which modules you want to build
Title: Re: compile modules: make: `all' is up to date
Post by: gerk.raisen on June 03, 2013, 07:13:57 PM
I have added

ML_MODULES_STATIC = file_man raw_rec
ML_MODULES_DYNAMIC =

and it works, thank you.

But I didn't understood exactly the difference between static and dynamic.
Title: Re: compile modules: make: `all' is up to date
Post by: nanomad on June 03, 2013, 08:54:10 PM
In the future we may want to bundle some modules with ML, so we prepared the build system to support both scenarios. We are currently treating them the same way though
Title: Re: compile modules: make: `all' is up to date
Post by: 1% on June 04, 2013, 03:49:14 AM
This helps a little, would be nice if it moved them to a "modules" folder together with renamed magic.sym
Title: Re: compile modules: make: `all' is up to date
Post by: a1ex on June 04, 2013, 08:06:31 AM
"make install" does that.
Title: Re: compile modules: make: `all' is up to date
Post by: 1% on June 04, 2013, 08:27:43 AM
doesn't that make unified.
Title: Re: compile modules: make: `all' is up to date
Post by: a1ex on June 04, 2013, 09:23:11 AM
I run it from platform dir and works.