[Buildroot] [PATCH] Add Mono native/managed package.
Yann E. MORIN
yann.morin.1998 at free.fr
Thu May 15 21:39:50 UTC 2014
Angelo, All,
On 2014-05-15 23:33 +0200, Angelo Compagnucci spake thusly:
> 2014-05-15 22:45 GMT+02:00 Yann E. MORIN <yann.morin.1998 at free.fr>:
> > For so few options, put them on a single line:
>
> > HOST_MONO_MANAGED_CONF_OPT = $(MONO_CONF_OPT) --enable-static
>
> > Why do you need --enable-static ? Generally, for the host tools, we do
> > not care that they be shared, and we do usually build them shared.
>
> During configure Mono complains:
>
> "configure: WARNING: Turning off static Mono is a risk"
>
> And compilation fails somewhere.
OK, state so in a comment on a line above, like:
# Enable static, otherwise Mono complains and the build fails
> >> +define MONO_MANAGED_GETMONOLITE
> >> + $(MAKE) -C $(@D) get-monolite-latest
> >> +endef
> >
> > Does it mean that some downloading is done _after_ the configure step?
> > Can't we do that during the download step, eg:
> >
> > define MONO_MANAGED_GET_MONOLITE
> > $(call DOWNLOAD,url-of-monolite-archive)
> > endef
> > MONO_MANAGED_POST_DOWNLOAD_HOOKS += MONO_MANAGED_GET_MONOLITE
> >
> > Or something like that?
>
> Mono needs a previously installed Mono or the monolite binaries to
> compile. I don't want to count on users having the right mono version
> previously installed on their machines, so the best way is to use
> monolite. The right way to obtain the latest correct monolite version
> is to use "make get-monolite-latest" before the final make.
> I can extract the url where the file is located from the makefile, but
> I have also to handle various unpacking steps needed to place the
> monolites binaries in the correct places.
> I don't think this is right, because It can break easily on newer Mono
> versions and it needs some maintenance. Please let me know if it must
> be done!
If it is indeed more complex that "wget + tar xf", then we can live with
that.
However, I'd like some others to comment: Peter, Thomas?
> Ok for the other points! I will send you a new patch as soon as possible!
Thanks! Please wait a bit for some more feedback before you repost.
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
More information about the buildroot
mailing list