From patchwork Thu Jul 31 09:13:40 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: cedric.chedaleux@orange.com X-Patchwork-Id: 375164 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id A9984140175 for ; Thu, 31 Jul 2014 19:20:22 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 00E138B774; Thu, 31 Jul 2014 09:20:22 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id U9O2qc0yGYlJ; Thu, 31 Jul 2014 09:20:19 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 63D6E8B78B; Thu, 31 Jul 2014 09:20:19 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 24AC01C2236 for ; Thu, 31 Jul 2014 09:20:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 205FA932F4 for ; Thu, 31 Jul 2014 09:20:19 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZghYzda3vgAm for ; Thu, 31 Jul 2014 09:20:17 +0000 (UTC) X-Greylist: delayed 00:06:33 by SQLgrey-1.7.6 Received: from relais-inet.francetelecom.com (relais-ias243.francetelecom.com [80.12.204.243]) by hemlock.osuosl.org (Postfix) with ESMTPS id 8F4AE932F1 for ; Thu, 31 Jul 2014 09:20:17 +0000 (UTC) Received: from omfeda06.si.francetelecom.fr (unknown [xx.xx.xx.199]) by omfeda10.si.francetelecom.fr (ESMTP service) with ESMTP id 7D34F374BD3; Thu, 31 Jul 2014 11:13:42 +0200 (CEST) Received: from Exchangemail-eme1.itn.ftgroup (unknown [10.114.1.186]) by omfeda06.si.francetelecom.fr (ESMTP service) with ESMTP id 402D0C8065; Thu, 31 Jul 2014 11:13:42 +0200 (CEST) Received: from PEXCVZYM11.corporate.adroot.infra.ftgroup ([fe80::a441:e6a9:6143:6f0f]) by PEXCVZYH01.corporate.adroot.infra.ftgroup ([::1]) with mapi id 14.03.0181.006; Thu, 31 Jul 2014 11:13:41 +0200 From: To: "Yann E. MORIN" , "buildroot@buildroot.org" Thread-Topic: [Buildroot] [PATCH 02/14 v4] package/libudev: new virtual package Thread-Index: AQHPrFTBeTULZNNoLkmYVX/pzd2ntpu5364ggAACjUA= Date: Thu, 31 Jul 2014 09:13:40 +0000 Message-ID: <25285_1406798022_53DA08C6_25285_352_1_D1B3145249B37145BFF7A03F8FC244500F67A78C@PEXCVZYM11.corporate.adroot.infra.ftgroup> Accept-Language: fr-FR, en-US Content-Language: fr-FR X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.197.38.2] MIME-Version: 1.0 X-PMX-Version: 6.0.3.2322014, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2014.6.25.123022 Cc: Bernd Kuhls Subject: Re: [Buildroot] [PATCH 02/14 v4] package/libudev: new virtual package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net [ Compiled for x86 target with glibc 2.18 and Kernel headers 3.15.x ] Tested-by: Cedric Chedaleux Regards, Cédric CHEDALEUX -----Message d'origine----- De : buildroot-bounces@busybox.net [mailto:buildroot-bounces@busybox.net] De la part de Yann E. MORIN Envoyé : jeudi 31 juillet 2014 02:17 À : buildroot@buildroot.org Cc : Bernd Kuhls; Yann E. MORIN Objet : [Buildroot] [PATCH 02/14 v4] package/libudev: new virtual package Not all packages that currently depend on udev really need an udev daemon; most may only require a libudev.so to be available. For example, libcec, mesa3d... Currently, we conflate udev and libudev into a single virtual package. Introduce a new virtual package 'libudev' that packages can select if they provide libudev.so (obviously, systemd and eudev are such packages) and which packages can depend on if they just need libudev.so and not an udev daemon. Note: only the virtual package is added for now, providers and users will be converted in followup patches. Signed-off-by: "Yann E. MORIN" Cc: Bernd Kuhls Reviewed-by: Bernd Kuhls --- package/Config.in | 1 + package/libudev/Config.in | 6 ++++++ package/libudev/libudev.mk | 7 +++++++ 3 files changed, 14 insertions(+) create mode 100644 package/libudev/Config.in create mode 100644 package/libudev/libudev.mk diff --git a/package/Config.in b/package/Config.in index 29b8e6b..230bcf4 100644 --- a/package/Config.in +++ b/package/Config.in @@ -673,6 +673,7 @@ menu "Hardware handling" source "package/librtlsdr/Config.in" source "package/libserial/Config.in" source "package/libsoc/Config.in" + source "package/libudev/Config.in" source "package/libusb/Config.in" source "package/libusb-compat/Config.in" source "package/libv4l/Config.in" diff --git a/package/libudev/Config.in b/package/libudev/Config.in new file mode 100644 index 0000000..2745fcc --- /dev/null +++ b/package/libudev/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_HAS_LIBUDEV + bool + +config BR2_PACKAGE_PROVIDES_LIBUDEV + depends on BR2_PACKAGE_HAS_LIBUDEV + string diff --git a/package/libudev/libudev.mk b/package/libudev/libudev.mk new file mode 100644 index 0000000..af1b3dd --- /dev/null +++ b/package/libudev/libudev.mk @@ -0,0 +1,7 @@ +################################################################################ +# +# libudev +# +################################################################################ + +$(eval $(virtual-package))