[Buildroot] [PATCH 7/8] package/asterisk: add comment about a check-package false positive
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Thu Nov 30 08:00:57 UTC 2017
Hello,
On Thu, 30 Nov 2017 00:08:44 +0100, Yann E. MORIN wrote:
> This variable is inherited from the target variant, which is
> autoreconfed. But the host variant is only the menucselect
menuselect
> sub-directory, which we do not want to autoreconf, so the explcit
> NO is required.
>
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
> Cc: Ricardo Martincoski <ricardo.martincoski at gmail.com>
> Cc: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
> ---
> package/asterisk/asterisk.mk | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/package/asterisk/asterisk.mk b/package/asterisk/asterisk.mk
> index 50512c0b3a..21dca549a0 100644
> --- a/package/asterisk/asterisk.mk
> +++ b/package/asterisk/asterisk.mk
> @@ -285,6 +285,7 @@ HOST_ASTERISK_LICENSE_FILES = COPYING
>
> # No need to autoreconf for the host variant,
> # so do not inherit the target setup.
> +# check-package reports an issue here, but that's a false positive. Ignore.
> HOST_ASTERISK_AUTORECONF = NO
I'm not sure we should have a comment here. Instead we should fix
check-package: it is not normal for check-package to emit a warning
here, since it is legal (currently) for a package to autoreconf its
target variant, and not autoreconf its host variant.
Ricardo, do you think you could fix this problem in check-package ?
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
More information about the buildroot
mailing list