Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] Help Adding Package to build root..
Date: Wed, 28 Oct 2015 10:51:27 +0100	[thread overview]
Message-ID: <56309A9F.2090704@mind.be> (raw)
In-Reply-To: <CACvocV5tDRHUDzKkCyRt=w9MHdM0HAScUr_T=jajngRbWSvx9A@mail.gmail.com>

On 28-10-15 10:30, astrolite . wrote:
> Hi Arnout,
> In the
> directory /root/qt-dev/buildroot-qt-dev/buildroot-2015.05/output/build/libpigpio-38
> is present only config.in <http://config.in> libpigpio.mk <http://libpigpio.mk> 
> These are my files:
> Config.in
> 
> config BR2_PACKAGE_LIBPIGPIO
> bool "libpigpio"
> help
>  pigpio is a C library for the Raspberry Pi which allows control of the general
> purpose input outputs (gpios).
> 
> libpigpio.mk <http://libpigpio.mk>
> 
> LIBPIGPIO_VERSION = 38
> LIBPIGPIO_INSTALL_TARGET = YES
> LIBPIGPIO_INSTALL_STAGING = YES
> LIBPIGPIO_AUTORECONF = YES
> LIBPIGPIO_SITE = https://github.com/ciclonite/pigpio

 You have done something very weird, since
https://github.com/ciclonite/pigpio/libpigpio-38.tar.gz
doesn't exist. I guess you manually put that file into your dl directory, but
the file is just wrong, it contain the buildroot package files instead of the
sources.

 I think you should read the Buildroot manual about adding packages,
particularly the part about the github helper. You'll probably want to set the
version to 07e2a66f73c7bc5d60b373a2f8a25a4294f2d778 because everything you did
after that commit looks like rubbish to me.


> 
> ifeq ($(BR2_PACKAGE_LIBPIGPIO),y)
> TARGETS+=libpigpio
> endif

 This bit should be removed - it's done automatically by the autotools-package
macro.


 Regards,
 Arnout

> $(eval $(autotools-package))
[snip]

-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF

      reply	other threads:[~2015-10-28  9:51 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
2015-10-27 20:12 ` Arnout Vandecappelle
2015-10-28  9:30   ` astrolite .
2015-10-28  9:51     ` Arnout Vandecappelle [this message]

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=56309A9F.2090704@mind.be \
    --to=arnout@mind.be \
    --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