Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Discussing libudev, was: Re: [PATCH v6 09/32] mesa3d: dri2 does not need udev support
@ 2014-05-12 19:55 Bernd Kuhls
  2014-05-12 20:53 ` Yann E. MORIN
  2014-05-12 21:02 ` Thomas Petazzoni
  0 siblings, 2 replies; 6+ messages in thread
From: Bernd Kuhls @ 2014-05-12 19:55 UTC (permalink / raw)
  To: buildroot

Bernd Kuhls <bernd.kuhls@t-online.de> wrote in
news:1399716164-6452-10-git-send-email-bernd.kuhls at t-online.de: 

> http://cgit.freedesktop.org/mesa/mesa/commit/configure.ac?id=b959fd967493
> 8e127a34d42d34b903e3a9ae7ad9 "The loader infrastructure for everything
> but DRI2 requires that udev be present" 
> 
> Check for udev only for dri3.

> Patch sent upstream:
> https://bugs.freedesktop.org/show_bug.cgi?id=75212#c5

Hi,

I would like to discuss feedback I received for my patch to remove udev as 
a requirement for mesa dri2 support. Before going into details I would like 
to explain the system where I am using xbmc:
The distro (www.fli4l.de) uses buildroot to compile its binary files and 
the kernel. As an user-provided package for fli4l I am building xbmc & 
tvheadend here, so I am not in a position to have a free design choice 
while using fli4l, which I want to do.

Quoted are some important configuration options of fli4l:

buildroot .config
BR2_i386=y
BR2_TOOLCHAIN_USES_UCLIBC=y
BR2_TOOLCHAIN_BUILDROOT=y
BR2_ROOTFS_DEVICE_CREATION_STATIC=y

busybox .config
CONFIG_MDEV=y

Now the feedback on the mesa3d bug tracker:
https://bugs.freedesktop.org/show_bug.cgi?id=75212#c6

Emil Velikov wrote:
--- snip
udev != libudev. The latter can be used without the presence of the former 
as it is a selection of helper functions that helps abstract dev 
manipulations.

AFAICS you have a couple options here - install libudev or keep a bunch of 
local patches. I would encourage you go with the former.
--- snap

This was an interesting piece of information for me because I am patching 
xbmc to remove its libudev dependency in the cec-adapter detection part.
While trying to setup Emil?s suggestion I created a libudev package which 
was successfully linked by libcec and its binary cec-client to detect my 
cec adapter so I guess Emil?s idea could really work.

I have yet to do more testing but reading through the udev/systemd/eudev 
discussion of the last months here I would like to ask for feedback already 
at this early stage whether a seperate libudev package is useful for the 
broader public.

Regards, Bernd

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-05-12 21:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-12 19:55 [Buildroot] Discussing libudev, was: Re: [PATCH v6 09/32] mesa3d: dri2 does not need udev support Bernd Kuhls
2014-05-12 20:53 ` Yann E. MORIN
2014-05-12 20:59   ` Bernd Kuhls
2014-05-12 21:02 ` Thomas Petazzoni
2014-05-12 21:12   ` Bernd Kuhls
2014-05-12 21:50     ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox