From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] udev: bump to 172
Date: Tue, 12 Jul 2011 15:47:43 +0200 [thread overview]
Message-ID: <20110712154743.4edadd5e@skate> (raw)
In-Reply-To: <4E1C4070.4020908@visionsystems.de>
Hello,
Thanks Yegor for this patch. It's really great to have a modern version
of udev in Buildroot.
Le Tue, 12 Jul 2011 14:39:12 +0200,
Yegor Yefremov <yegor_sub1@visionsystems.de> a ?crit :
> Signed-off-by: Heiko Zuerker <smiley73@users.sourceforge.net>
> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
> ---
> package/udev/Config.in | 39 +--------
> package/udev/libvolume_id.la.tmpl | 35 --------
> package/udev/udev.mk | 150 ++++++--------------------------------
> 3 files changed, 32 insertions(+), 192 deletions(-)
> delete mode 100644 package/udev/libvolume_id.la.tmpl
>
> Index: b/package/udev/Config.in
> ===================================================================
> --- a/package/udev/Config.in
> +++ b/package/udev/Config.in
> @@ -5,37 +5,12 @@
>
> ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/
>
> -config BR2_PACKAGE_UDEV_UTILS
> - bool "udev-utils"
> - depends on BR2_PACKAGE_UDEV
> +config BR2_PACKAGE_UDEV_ALL_EXTRAS
> + bool "enable all extras"
> + depends on BR2_PACKAGE_UDEV && BR2_PACKAGE_ACL && BR2_PACKAGE_LIBUSB && BR2_PACKAGE_LIBUSB_COMPAT && BR2_PACKAGE_USBUTILS && BR2_PACKAGE_HWDATA
I'm wondering whether we should turn this into :
depends on BR2_PACKAGE_UDEV
select BR2_PACKAGE_ACL
select BR2_PACKAGE_LIBUSB
select BR2_PACKAGE_LIBUSB_COMPAT
select BR2_PACKAGE_USBUTILS
select BR2_PACKAGE_HWDATA
Because all those dependencies are not really obvious.
> +comment "some additional udev extras require acl and libusb to be built"
> + depends on !BR2_PACKAGE_ACL || !BR2_PACKAGE_LIBUSB || !BR2_PACKAGE_LIBUSB_COMPAT || !BR2_PACKAGE_USBUTILS || !BR2_PACKAGE_HWDATA
The message does not match the dependencies: it doesn't say anything
about libusb-compat, usbutils and hwdata. But see above, I think
"select" style dependencies would be better.
I have tried building your package. Just udev itself works fine, but
udev with extras doesn't work, you forgot the libglib2 dependency :
checking for GLIB... no
configure: error: Package requirements (glib-2.0 >= 2.22.0 gobject-2.0 >= 2.22.0) were not met:
No package 'glib-2.0' found
No package 'gobject-2.0' found
Regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
next prev parent reply other threads:[~2011-07-12 13:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-12 12:39 [Buildroot] [PATCH] udev: bump to 172 Yegor Yefremov
2011-07-12 13:47 ` Thomas Petazzoni [this message]
2011-07-12 14:48 ` Yegor Yefremov
2011-07-12 15:16 ` Heiko Zuerker
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=20110712154743.4edadd5e@skate \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.