From patchwork Sat Jul 19 13:56:20 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: 371820 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id E41DB140180 for ; Sat, 19 Jul 2014 23:57:10 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 1F942934BE; Sat, 19 Jul 2014 13:57:01 +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 FEh7Co37sBUK; Sat, 19 Jul 2014 13:57:00 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 9317F934AA; Sat, 19 Jul 2014 13:57:00 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 053511BF970 for ; Sat, 19 Jul 2014 13:56:48 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 0189B8AFE3 for ; Sat, 19 Jul 2014 13:56:48 +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 iBypO_bNHjSg for ; Sat, 19 Jul 2014 13:56:47 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-we0-f171.google.com (mail-we0-f171.google.com [74.125.82.171]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 5930B8AFDF for ; Sat, 19 Jul 2014 13:56:47 +0000 (UTC) Received: by mail-we0-f171.google.com with SMTP id p10so5775046wes.16 for ; Sat, 19 Jul 2014 06:56:45 -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=sZNNRtUZtGmlOISDGLXcfeY7xF79lxFKw+GPogESLoI=; b=eOJp0t0bbTgIKxOOe23yIhLE962ud6qiXZfV/E4889kRRm9g47i5KrboWAdQS6J43U dj7fIXTtF1A87D89ut8hAOAzmEgRTNy28Y/CqbJt5oW7j9NiMwVdwv6O0MK9zWBqF+wV U7tX2b6aQLEs01+hYBnWo1V/eY3y9LtBbtB6mcF6S7HCyy8oX08eyXcrFX4DgWLqRywC 8GUS/fvKWmgdK23olL0SBW8HPTBBxv5gQcac13/eOGP6gFHL8/VIyPMDUo4+FDe/T3GY gI8RUb/uvNsf+tjhzCP2dAUxBsMqBHlSGnlySVKdJIiEQ/npnoSLCIAift5agp+cDgEy /bdw== X-Received: by 10.180.89.193 with SMTP id bq1mr40852856wib.81.1405778205875; Sat, 19 Jul 2014 06:56:45 -0700 (PDT) Received: from gourin.bzh.lan (ks3095497.kimsufi.com. [94.23.60.27]) by mx.google.com with ESMTPSA id v4sm18638545wiz.16.2014.07.19.06.56.44 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 19 Jul 2014 06:56:45 -0700 (PDT) From: "Yann E. MORIN" To: buildroot@buildroot.org Date: Sat, 19 Jul 2014 15:56:20 +0200 Message-Id: <96bfc00340797289ae52c6127a30e32250628b6e.1405777634.git.yann.morin.1998@free.fr> X-Mailer: git-send-email 1.9.1 In-Reply-To: References: Cc: "Yann E. MORIN" Subject: [Buildroot] [PATCH 13/20 v3] 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 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, 2 insertions(+), 2 deletions(-) diff --git a/package/libdrm/libdrm.mk b/package/libdrm/libdrm.mk index d912d6d..925f20f 100644 --- a/package/libdrm/libdrm.mk +++ b/package/libdrm/libdrm.mk @@ -62,9 +62,9 @@ else LIBDRM_CONF_OPT += --disable-freedreno-experimental-api endif -ifeq ($(BR2_PACKAGE_HAS_UDEV),y) +ifeq ($(BR2_PACKAGE_HAS_LIBUDEV),y) LIBDRM_CONF_OPT += --enable-udev -LIBDRM_DEPENDENCIES += udev +LIBDRM_DEPENDENCIES += libudev else LIBDRM_CONF_OPT += --disable-udev endif