[Buildroot] [PATCH 1/1] package/libgpiod: disable examples

Michael Nosthoff buildroot at heine.tech
Wed Feb 3 09:04:47 UTC 2021


Hi Fabrice,

On Tuesday, February 02, 2021 20:27 CET, Fabrice Fontaine <fontaine.fabrice at gmail.com> wrote: 
 
> This will fix a build failure with libgpiod in version 1.6.2

Thanks for taking care of this.

> --- a/package/libgpiod/libgpiod.mk
> +++ b/package/libgpiod/libgpiod.mk
> @@ -12,7 +12,10 @@ LIBGPIOD_SITE = https://www.kernel.org/pub/software/libs/libgpiod
>  LIBGPIOD_LICENSE = LGPL-2.1+
>  LIBGPIOD_LICENSE_FILES = COPYING
>  LIBGPIOD_INSTALL_STAGING = YES
> -LIBGPIOD_DEPENDENCIES = host-pkgconf
> +# We're patching configure.ac
> +LIBGPIOD_AUTORECONF = YES
> +LIBGPIOD_AUTORECONF_OPTS = --include=$(HOST_DIR)/share/autoconf-archive
> +LIBGPIOD_DEPENDENCIES = host-pkgconf host-autoconf-archive
>  LIBGPIOD_CONF_OPTS = --disable-tests

This was the part of magic I didn't know of when I tried to apply this patch myself. Good to know it was a bit more trickery needed.

Regards,
Michael




More information about the buildroot mailing list