Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] Help Adding Package to build root..
Date: Tue, 27 Oct 2015 19:20:43 +0100	[thread overview]
Message-ID: <20151027182043.GF3555@free.fr> (raw)
In-Reply-To: <CACvocV4-o7u1L52xP7YnVTgoi369NUDk6vP4=ng6cLuwzXOvVw@mail.gmail.com>

Giovanni, All,

On 2015-10-27 18:52 +0100, astrolite . spake thusly:
> Hi all sorry for my stupid question but i've a problem to adding a packages
> to buid root..
> 
> I need to add a package called pigpio.
> I've create a .tar.gz on github with all the file required.
> The link is : https://github.com/ciclonite/pigpio
> 
> 
> Here what happens:
> gzip -d -c
> /root/qt-dev/buildroot-qt-dev/buildroot-2015.05/dl/libpigpio-38.tar.gz |
> tar --strip-components=1 -C
> /root/qt-dev/buildroot-qt-dev/buildroot-2015.05/output/build/libpigpio-38
>  -xf -
> >>> libpigpio 38 Patching
> >>> libpigpio 38 Updating config.sub and config.guess
> for file in config.guess config.sub; do for i in $(find
> /root/qt-dev/buildroot-qt-dev/buildroot-2015.05/output/build/libpigpio-38
> -name $file); do cp support/gnuconfig/$file $i; done; done
> >>> libpigpio 38 Configuring
> >>> libpigpio 38 Autoreconfiguring
> autoreconf: 'configure.ac' or 'configure.in' is required
> Why the autoreconf cannot find configure.ac? in the tar.gz it's present!

I've made a very simple and minimalistic pgipio package:

    $ cat package/pigpio/pigpio.mk
    PIGPIO_VERSION = 924b8d2baf2d36336bf9ba320a22f3306783c051
    PIGPIO_SITE = $(call github,ciclonite,pigpio,$(PIGPIO_VERSION))
    PIGPIO_AUTORECONF = YES
    $(eval $(autotools-package))

And it does autoreconf nicely for me.

Care to share your own .mk so we can compare and identify your issue?

It does not build, because there is a missing custom.cext file, but your
direct problem does not happen for me.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

  reply	other threads:[~2015-10-27 18:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-27 17:52 [Buildroot] Help Adding Package to build root astrolite .
2015-10-27 18:20 ` Yann E. MORIN [this message]
2015-10-27 20:12 ` Arnout Vandecappelle
2015-10-28  9:30   ` astrolite .
2015-10-28  9:51     ` Arnout Vandecappelle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151027182043.GF3555@free.fr \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox