From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] pciutils: bump to version 3.3.1
Date: Thu, 9 Apr 2015 21:44:07 +0200 [thread overview]
Message-ID: <20150409214407.5592a172@free-electrons.com> (raw)
In-Reply-To: <1428605866-17345-1-git-send-email-gustavo@zacarias.com.ar>
Dear Gustavo Zacarias,
On Thu, 9 Apr 2015 15:57:46 -0300, Gustavo Zacarias wrote:
> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
> ---
> package/pciutils/pciutils.hash | 2 +-
> package/pciutils/pciutils.mk | 11 +++++++++--
> 2 files changed, 10 insertions(+), 3 deletions(-)
I've applied, even though I believe things could be done in a bit nicer
way, see below.
> diff --git a/package/pciutils/pciutils.mk b/package/pciutils/pciutils.mk
> index 5df3a17..1410738 100644
> --- a/package/pciutils/pciutils.mk
> +++ b/package/pciutils/pciutils.mk
> @@ -4,13 +4,20 @@
> #
> ################################################################################
>
> -PCIUTILS_VERSION = 3.3.0
> +PCIUTILS_VERSION = 3.3.1
> PCIUTILS_SITE = $(BR2_KERNEL_MIRROR)/software/utils/pciutils
> PCIUTILS_SOURCE = pciutils-$(PCIUTILS_VERSION).tar.xz
> PCIUTILS_INSTALL_STAGING = YES
> PCIUTILS_LICENSE = GPLv2+
> PCIUTILS_LICENSE_FILES = COPYING
>
> +ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
> +PCIUTILS_DEPENDENCIES += udev
> +PCIUTILS_MAKE_OPTS += HWDB=yes
> +else
> +PCIUTILS_MAKE_OPTS += HWDB=no
> +endif
> +
> ifeq ($(BR2_PACKAGE_ZLIB),y)
> PCIUTILS_ZLIB=yes
> PCIUTILS_DEPENDENCIES += zlib
> @@ -33,7 +40,7 @@ else
> PCIUTILS_SHARED=yes
> endif
>
> -PCIUTILS_MAKE_OPTS = \
> +PCIUTILS_MAKE_OPTS += \
> CC="$(TARGET_CC)" \
> HOST="$(KERNEL_ARCH)-linux" \
> OPT="$(TARGET_CFLAGS)" \
It's a little bit strange to have the unconditional PCIUTILS_MAKE_OPTS
after the conditional ones.
But it's also tied to the fact that for udev you've decided to add
HWDB=<foo> in PCIUTILS_MAKE_OPTS, while for the other dependencies,
they do PCIUTILS_ZLIB = <foo>, and then in PCIUTILS_MAKE_OPTS, they
have ZLIB=$(PCIUTILS_ZLIB).
So things are not very consistent right now. If you can send a
follow-up patch to make things a bit more consistent, it'd be great.
Thanks a lot!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2015-04-09 19:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-09 18:57 [Buildroot] [PATCH] pciutils: bump to version 3.3.1 Gustavo Zacarias
2015-04-09 19:44 ` Thomas Petazzoni [this message]
2015-04-09 19:45 ` Gustavo Zacarias
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=20150409214407.5592a172@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