[OE-core] [PATCH] xserver-xf86: Use PACKAGECONFIG for udev/hal choice and default to udev

Martin Jansa martin.jansa at gmail.com
Thu Oct 6 14:29:44 UTC 2011


On Thu, Oct 06, 2011 at 03:21:33PM +0100, Richard Purdie wrote:
> Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
> ---
> diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xf86-common.inc b/meta/recipes-graphics/xorg-xserver/xserver-xf86-common.inc
> index 000aea3..4c8b732 100644
> --- a/meta/recipes-graphics/xorg-xserver/xserver-xf86-common.inc
> +++ b/meta/recipes-graphics/xorg-xserver/xserver-xf86-common.inc
> @@ -35,3 +35,8 @@ FILES_${PN}-dbg += "${libdir}/xorg/modules/.debug \
>  SRC_URI += "file://macro_tweak.patch"
>  
>  EXTRA_OECONF = "--with-fop=no"
> +
> +PACKAGECONFIG ??= "udev"
> +PACKAGECONFIG[hal] = "--enable-config-hal,--disable-config-hal,,hal"
> +PACKAGECONFIG[udev] = "--enable-config-udev,--disable-config-udev,,udev"

This should probably be 
+PACKAGECONFIG[hal] = "--enable-config-hal,--disable-config-hal,,hal"
+PACKAGECONFIG[udev] = "--enable-config-udev,--disable-config-udev,udev,"

as we don't want udev in RDEPENDS (libudev is enough).

And can we apply this after my Xorg patchset? Because I don't want to
rebase it for 4th time ;).

Regards,
-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20111006/2889429c/attachment-0002.sig>


More information about the Openembedded-core mailing list