[Buildroot] [PATCH 1/1] open-lldp: new package

Laurent Charpentier laurent_pubs at yahoo.com
Mon Jan 15 15:15:13 UTC 2018


Hi Yegor,
>> Here are some experiments on my side.
>> (1) AUTORECONF=yes (no use of ./bootstrap.sh)
>> -> ./configure fails
>
> use this variant and create a LIBFOO_PRE_CONFIGURE_HOOKS in order to
> create m4 folder via "mkdir -p". That's all. This way you'll preserve
> depedency on host-autoconf, host-automake and host-libtool.

I'm not sure to understand everything.
Do you want this?define OPEN_LLDP_PRE_CONFIGURE_HOOKS        (cd $(@D) && mkdir -p m4)endef
Do you also want this? :OPEN_LLDP_DEPENDENCIES += host-autoconf host-automake host-libtool

Thank youLaurent
      From: Yegor Yefremov <yegorslists at googlemail.com>
 To: Laurent Charpentier <laurent_pubs at yahoo.com> 
Cc: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>; buildroot <buildroot at buildroot.org>
 Sent: Monday, January 15, 2018 3:53 PM
 Subject: Re: [Buildroot] [PATCH 1/1] open-lldp: new package
   
On Mon, Jan 15, 2018 at 1:50 PM, Laurent Charpentier
<laurent_pubs at yahoo.com> wrote:
> Hi Thomas and Yegor,
>
> On Fri, 12 Jan 2018 22:29:44 +0100, Yegor Yefremov wrote:
>
>> > So instead, please keep <pkg>_AUTORECONF = YES, and if the missing m4
>> > folder is the only problem (but I doubt it because the bootstrap.sh
>> > script doesn't create it), then add a post-extract hook that creates
>> > the m4 file.
>>
>> bootstrap.sh doesn't create m4 folder, but if you just clone the
>> open-lldp repo and invoke "autoreconf -i", it would just complain
>> about missing m4 folder, but create it. In BR environment we get an
>> error. We had similar situation earlier with some other package
>> (libsoc) and I coudn't find the case of the problem, so I just added
>> m4 upstream and now it is working.
>
> Here are some experiments on my side.
> (1) AUTORECONF=yes (no use of ./bootstrap.sh)
> -> ./configure fails

use this variant and create a LIBFOO_PRE_CONFIGURE_HOOKS in order to
create m4 folder via "mkdir -p". That's all. This way you'll preserve
depedency on host-autoconf, host-automake and host-libtool.

Yegor
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot


   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180115/aaf7dfa7/attachment.html>


More information about the buildroot mailing list