[Buildroot] [PATCH 1/1] libuio: new package

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Jun 9 14:07:10 UTC 2016


Hello,

On Thu,  9 Jun 2016 14:22:51 +0200, Joris Lijssens wrote:
> diff --git a/package/libuio/libuio.mk b/package/libuio/libuio.mk
> new file mode 100644
> index 0000000..ead6e69
> --- /dev/null
> +++ b/package/libuio/libuio.mk
> @@ -0,0 +1,27 @@
> +################################################################################
> +#
> +# libuio
> +#
> +################################################################################
> +
> +LIBUIO_VERSION = 940861de278cb794bf9d775b76a4d1d4f9108607# v0.2.7
> +LIBUIO_SITE = $(call github,Linutronix,libuio,$(LIBUIO_VERSION))
> +LIBUIO_LICENSE = LGPLv2.1
> +LIBUIO_LICENSE_FILES = COPYING
> +LIBUIO_CONF_OPTS = --with-glib=no 
> +LIBUIO_INSTALL_STAGING = YES
> +LIBUIO_DEPENDENCIES = \
> +	host-pkgconf \

LIBUIO_DEPENDENCIES = host-pkgconf

is sufficient (i.e on one line).

> +ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y)
> +LIBUIO_DEPENDENCIES += argp-standalone
> +LIBUIO_CONF_ENV += LIBS="-largp"
> +endif
> +
> +define LIBUIO_RUN_AUTOGEN
> +	cd $(@D) && PATH=$(BR_PATH) ./autogen.sh
> +endef

This cannot work if you don't depend on host-automake, host-libtool and
host-autoconf. However, have you tried instead:

LIBUIO_AUTORECONF = YES

And if yes, why aren't you using this?

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list