From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] Package not building automatically.
Date: Thu, 1 Dec 2016 16:26:03 +0100 [thread overview]
Message-ID: <20161201162603.1747cb41@free-electrons.com> (raw)
In-Reply-To: <be469460-df73-df24-c85b-614e8b2d572c@rd.bbc.co.uk>
Hello,
On Thu, 1 Dec 2016 14:39:52 +0000, Samuel Hurst wrote:
> Apologies if this isn't the right place to ask this question.
>
> I'm currently using Buildroot to build some images for Raspberry Pis to
> be used as demonstrators. However, I've been hitting an issue where
> Buildroot is not building certain packages unless I force them to build
> manually (i.e. make <package-name>, instead of just running make).
>
> In this case, I'm trying to get a Google QUIC library to build from
> github. I'm wondering if it's something wrong with my Config.in and .mk
> files that I've created:
>
> == package/libquic/Config.in ===========================================
> config BR2_PACKAGE_LIBQUIC
> bool "libquic"
> depends on BR2_TOOLCHAIN_HAS_THREADS
> select BR2_PACKAGE_ICU
> select BR2_PACKAGE_LIBEVENT
> help
> QUIC, a multiplexed stream transport over UDP
>
> ========================================================================
>
> == package/libquic/libquic.mk ==========================================
> #############################################################################
> #
> # QUIC Library
> #
> #############################################################################
>
> LIBQUIC_VERSION = 8954789a056d8e7d5fcb6452fd1572ca57eb5c4e
> LIBQUIC_SITE_METHOD = git
> LIBQUIC_SITE = https://github.com/devsisters/libquic.git
> LIBQUIC_SOURCE = libquic-$(LIBQUIC_VERSION).tar.gz
> LIBQUIC_DEPENDENCIES = icu libevent
> LIBQUIC_INSTALL_STAGING = YES
>
> $(eval $(cmake-package))
> ========================================================================
>
> The package shows up in the menuconfig interface and it is selected
> (indeed, it is depended on by another package which does build as it
> should). Can anyone cast some light onto what I might be doing wrong?
Nothing looks wrong here. Are you sure that grep
BR2_PACKAGE_LIBQUIC .config shows that this package is enabled?
For a package to build, there's a few rules to respect:
- the option must be named BR2_PACKAGE_<FOO>
- the package must be in package/<foo>/<foo>.mk
- the variables in foo.mk must be prefixed by <FOO>
All three conditions seem to be respected on what you're showing.
Unrelated, but the LIBQUIC_SOURCE variable is useless, since you have
specified LIBQUIC_SITE_METHOD = git. But that's definitely not the
reason why this package doesn't build.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
next prev parent reply other threads:[~2016-12-01 15:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-01 14:39 [Buildroot] Package not building automatically Samuel Hurst
2016-12-01 15:26 ` Thomas Petazzoni [this message]
2016-12-01 15:42 ` Samuel Hurst
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=20161201162603.1747cb41@free-electrons.com \
--to=thomas.petazzoni@free-electrons.com \
--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