<div dir="ltr">Hi Thomas,<br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 29, 2014 at 11:45 PM, Thomas Petazzoni <span dir="ltr"><<a href="mailto:thomas.petazzoni@free-electrons.com" target="_blank">thomas.petazzoni@free-electrons.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Karoly, Yann, All,<br>
<div><div class="h5"><br>
On Tue, 29 Jul 2014 13:57:12 +0200, Karoly Kasza wrote:<br>
<br>
> +# When libfuse is available, openvmtools can build vmblock-fuse, so<br>
> +# make sure that libfuse gets built first.<br>
> +ifeq ($(BR2_PACKAGE_LIBFUSE),y)<br>
> +OPENVMTOOLS_DEPENDENCIES += libfuse<br>
> +endif<br>
> +<br>
> +ifeq ($(BR2_PACKAGE_OPENVMTOOLS_PROCPS),y)<br>
> +OPENVMTOOLS_CONF_ENV += CUSTOM_PROCPS_NAME=procps LDFLAGS="-L$(TARGET_DIR)/usr/lib"<br>
> +OPENVMTOOLS_CONF_OPT += --with-procps<br>
> +OPENVMTOOLS_DEPENDENCIES += procps-ng<br>
> +else<br>
> +OPENVMTOOLS_CONF_OPT += --without-procps<br>
> +endif<br>
> +<br>
> +ifeq ($(BR2_PACKAGE_OPENVMTOOLS_DNET),y)<br>
> +OPENVMTOOLS_CONF_ENV += CUSTOM_DNET_CPPFLAGS="-I$(STAGING_DIR)/usr/include"<br>
> +OPENVMTOOLS_CONF_OPT += --with-dnet<br>
> +OPENVMTOOLS_DEPENDENCIES += libdnet<br>
> +else<br>
> +OPENVMTOOLS_CONF_OPT += --without-dnet<br>
> +endif<br>
> +<br>
> +ifeq ($(BR2_PACKAGE_OPENVMTOOLS_PAM),y)<br>
> +OPENVMTOOLS_CONF_OPT += --with-pam<br>
> +OPENVMTOOLS_MAKE_OPT += CFLAGS+="-Wno-unused-local-typedefs"<br>
> +OPENVMTOOLS_DEPENDENCIES += linux-pam<br>
> +else<br>
> +OPENVMTOOLS_CONF_OPT += --without-pam<br>
> +endif<br>
<br>
</div></div>Here I have a question not necessarily directly for you Karoly, but for<br>
other Buildroot developers. We have a good example here of some<br>
dependencies being automatic (libfuse), some dependencies having their<br>
own package sub-options (procps, dnet, pam). Do we want to have this<br>
separation of treatment ? What is the rationale to do one or the other<br>
in this specific case ?<br></blockquote><div><br></div><div>Some explanation:</div><div>In this special case, I can not turn off building vmblock-fuse with a configure parameter. If it finds libfuse, it builds vmblock-fuse. I think it's a minor defect in the configure script, it doesn't have a --without-fuse or similar switch.</div>
<div>It's not pretty I know.</div><div><br></div><div>BR</div><div>Karoly</div><div> </div></div></div></div>