From patchwork Mon Jun 15 19:53:34 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yegor Yefremov X-Patchwork-Id: 484519 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 92D1C1401AD for ; Tue, 16 Jun 2015 05:53:54 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=googlemail.com header.i=@googlemail.com header.b=Ghnzo7p4; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id B2DFCA3340; Mon, 15 Jun 2015 19:53:53 +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 XIwKZslBeRis; Mon, 15 Jun 2015 19:53:53 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 12AD9A3344; Mon, 15 Jun 2015 19:53:53 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 0F9111C0B7A for ; Mon, 15 Jun 2015 19:53:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 0B6CF917F8 for ; Mon, 15 Jun 2015 19:53:52 +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 Z31TP3EGHi+y for ; Mon, 15 Jun 2015 19:53:51 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wg0-f44.google.com (mail-wg0-f44.google.com [74.125.82.44]) by whitealder.osuosl.org (Postfix) with ESMTPS id 259328CB10 for ; Mon, 15 Jun 2015 19:53:51 +0000 (UTC) Received: by wgez8 with SMTP id z8so77211806wge.0 for ; Mon, 15 Jun 2015 12:53:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=u5nYkZKcjJMM+kKWgzMx4LhC9BOj2fGF/UCGszNRvbQ=; b=Ghnzo7p4ccjZpXEYti/AVsFk6an5lFxAgUtMh6ae0V9C8qxvlZgohvbymYSsPpKQCE xglasZHDRODmoW3r4Z6bFMIJ5NrSmqqRBT9m+oK5Vo2NlgBgxqkzsNlIsQjvWu3gb1mc H3/t+09XxBB8INb65WM8HHQqLrPiwWlxizja+upIPhV8IT1my02pg7GqW9L3LhTJTlFA eY8ShBx6JBDayh6NCjd1C8Q8VSyRMAsdn/p9B+xeMtL+oZxdhJKkTdh6UZZjHYrd2giH I/tRUYWcarfrZF4AjSuFvYIzDqVqfSXlLbfzti5pPBlKXqpvJT1gB3Z3GBwBIIeNNngs obug== X-Received: by 10.180.105.129 with SMTP id gm1mr33421227wib.51.1434398029793; Mon, 15 Jun 2015 12:53:49 -0700 (PDT) Received: from user-Lenovo-IdeaPad-Z500.localdomain (x2f0da1b.dyn.telefonica.de. [2.240.218.27]) by mx.google.com with ESMTPSA id fa8sm17355620wib.14.2015.06.15.12.53.48 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 15 Jun 2015 12:53:48 -0700 (PDT) From: Yegor Yefremov To: buildroot@busybox.net Date: Mon, 15 Jun 2015 21:53:34 +0200 Message-Id: <1434398014-3621-1-git-send-email-yegorslists@googlemail.com> X-Mailer: git-send-email 2.1.4 Subject: [Buildroot] [PATCH] eudev: add enable/disable hwdb option X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 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" This option enables/disables hardware database installation. This option is enabled by default in order to preserve old behavior. Signed-off-by: Yegor Yefremov --- package/eudev/Config.in | 6 ++++++ package/eudev/eudev.mk | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/package/eudev/Config.in b/package/eudev/Config.in index 6d4139f..76df409 100644 --- a/package/eudev/Config.in +++ b/package/eudev/Config.in @@ -27,6 +27,12 @@ config BR2_PACKAGE_EUDEV_RULES_GEN help Enable persistent rules generator +config BR2_PACKAGE_EUDEV_ENABLE_HWDB + bool "enable hwdb installation" + default y + help + Enables hardware database installation to /etc/udev/hwdb.d + endif comment "eudev needs eudev /dev management" diff --git a/package/eudev/eudev.mk b/package/eudev/eudev.mk index 101d510..a97154c 100644 --- a/package/eudev/eudev.mk +++ b/package/eudev/eudev.mk @@ -31,6 +31,12 @@ ifeq ($(BR2_PACKAGE_EUDEV_RULES_GEN),y) EUDEV_CONF_OPTS += --enable-rule_generator endif +ifeq ($(BR2_PACKAGE_EUDEV_ENABLE_HWDB),y) +EUDEV_CONF_OPTS += --enable-hwdb +else +EUDEV_CONF_OPTS += --disable-hwdb +endif + ifeq ($(BR2_PACKAGE_LIBGLIB2),y) EUDEV_CONF_OPTS += --enable-gudev EUDEV_DEPENDENCIES += libglib2