From patchwork Fri Jun 13 23:02:37 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 359723 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 848CB1400AB for ; Sat, 14 Jun 2014 09:03:29 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 3B7C58BDC7; Fri, 13 Jun 2014 23:03:19 +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 SaOlLh4acSdO; Fri, 13 Jun 2014 23:03:18 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id E4E2C8BDE2; Fri, 13 Jun 2014 23:03:14 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 2CCB61BF97D for ; Fri, 13 Jun 2014 23:03:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 2843B8C1B0 for ; Fri, 13 Jun 2014 23:03:05 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wwFiGDKZNHi9 for ; Fri, 13 Jun 2014 23:03:04 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-we0-f176.google.com (mail-we0-f176.google.com [74.125.82.176]) by whitealder.osuosl.org (Postfix) with ESMTPS id 76EAB8C340 for ; Fri, 13 Jun 2014 23:03:04 +0000 (UTC) Received: by mail-we0-f176.google.com with SMTP id u56so3334822wes.7 for ; Fri, 13 Jun 2014 16:03:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=Rbml+zKBXeJKdNRqq07KMGx3W70ZEjzpB006kPFePRE=; b=XAG+f94XhyuCldVquBlRKWx3HWUvW3Pg53AC2eQDGvYOig2bmXkcPN/dec7qzNpeC4 FJcolq+d7LtOMwAk4Erw6smVT03ErfpuJ1kyltlXIei+IWLTDiTNf3oNgkTllfPPVHGt EuG0as4SI4LP+UdMncYMqZpYdtXP2n3t2aIxtMcm3/j6xWoTvr740r6KTlJx20BIUZlL 46ox67K7Z4HFqXA9r/TZKHbrp0ZZsKEZ+R44zMmK41jxyFOEWyEV3aVJC5SqHIUXZ1/5 r75UJjqxRCW3uvBRJ4W0DTzxSmGqZ496RqbOlVWuTo6czTsTFqDIwDaKJC9ix9HhPHuD YX0A== X-Received: by 10.180.90.145 with SMTP id bw17mr8434814wib.43.1402700583018; Fri, 13 Jun 2014 16:03:03 -0700 (PDT) Received: from gourin.bzh.lan (ks3095497.kimsufi.com. [94.23.60.27]) by mx.google.com with ESMTPSA id ja9sm4901602wic.8.2014.06.13.16.03.01 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 13 Jun 2014 16:03:02 -0700 (PDT) From: "Yann E. MORIN" To: buildroot@buildroot.org Date: Sat, 14 Jun 2014 01:02:37 +0200 Message-Id: <36963ae870f6849e40682c2ad88cd22afe1c52e4.1402699915.git.yann.morin.1998@free.fr> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: References: Cc: "Yann E. MORIN" Subject: [Buildroot] [PATCH 13/20 RFC] package/libdrm: can also use only libudev 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: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net From: "Yann E. MORIN" Even if a udev daemon is missing, libdrm can still use just libudev to enumerate devices. In case both udev and libudev are enabled, depending on just udev would be enough to also get libudev (since any udev provider is also a libudev provider). But it is more logical to have separate conditions for udev and libudev. Signed-off-by: "Yann E. MORIN" --- package/libdrm/libdrm.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/libdrm/libdrm.mk b/package/libdrm/libdrm.mk index b3e4d7a..10d38e4 100644 --- a/package/libdrm/libdrm.mk +++ b/package/libdrm/libdrm.mk @@ -69,4 +69,8 @@ else LIBDRM_CONF_OPT += --disable-udev endif +ifeq ($(BR2_PACKAGE_HAS_LIBUDEV),y) +LIBDRM_DEPENDENCIES += libudev +endif + $(eval $(autotools-package))