From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Tue, 12 Jul 2011 15:47:43 +0200 Subject: [Buildroot] [PATCH] udev: bump to 172 In-Reply-To: <4E1C4070.4020908@visionsystems.de> References: <4E1C4070.4020908@visionsystems.de> Message-ID: <20110712154743.4edadd5e@skate> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net 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 a ?crit : > Signed-off-by: Heiko Zuerker > Signed-off-by: Yegor Yefremov > --- > 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