From patchwork Thu Feb 25 21:55:37 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gabe Evans X-Patchwork-Id: 588415 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 B0D7F140317 for ; Fri, 26 Feb 2016 08:58:20 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=hashrabbit.co header.i=@hashrabbit.co header.b=EsKDMLOJ; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 05711A5FFA; Thu, 25 Feb 2016 21:58:20 +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 Rh-rAWwrxra4; Thu, 25 Feb 2016 21:58:19 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 6D804A5F99; Thu, 25 Feb 2016 21:58:19 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 69C321C2E64 for ; Thu, 25 Feb 2016 21:57:24 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 45BED9592B for ; Thu, 25 Feb 2016 21:57:24 +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 rNsCLZ3a5kfv for ; Thu, 25 Feb 2016 21:57:20 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pf0-f175.google.com (mail-pf0-f175.google.com [209.85.192.175]) by hemlock.osuosl.org (Postfix) with ESMTPS id CB4CA95D40 for ; Thu, 25 Feb 2016 21:57:20 +0000 (UTC) Received: by mail-pf0-f175.google.com with SMTP id q63so39614637pfb.0 for ; Thu, 25 Feb 2016 13:57:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hashrabbit.co; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=kUdPIJqEeDyff3JRG0d1/dTKsntCApUrhNp0cFEH5RE=; b=EsKDMLOJpCGJiHm48OfdfisSJtrUhhHnscuhoFkwxRmFJJVtHrKWZmOG729VfiJIWY jZAHm2S6CTDhvi9JaaWIbs10ak0D0YhKuFC0dVUSl90kDxNUWnebuDqHPnydjE+9NMpZ +XZlRf3zml0qv6lZEbymMpCJ9SPZ1sJwyXqBw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=kUdPIJqEeDyff3JRG0d1/dTKsntCApUrhNp0cFEH5RE=; b=T2KHlA90dWk+rATn0T7C3yhSShIDfxKYVBNxrthI7KesMZXYgaWTQeq0eOHnV0TcKl Wq+upyCAQsoN1GDaFnwSByPiCMyPhod3upYS7vvWoa6Oc2FP71lHcrmTKDNSkb27B4KC oGJoO8wDOclgOoSrum3IAriE7HUWEhIK7LS9kGUBu1PioCK5CKk1LpLvdH3HxeAE0c1G QhdGlF78r7aI4e/s7pJ/OmkOVzBf3dG5fGQKYdyqbB9Zj8Nr8PDNRW1+BV7zSJlCOAdg Y89QUJ6VNdIshcaM9HI4aELJuNrny3j1Ji7ZvfL/Am2rvm0qP0o+5vUtpl36FefJjadO Lv0A== X-Gm-Message-State: AG10YORi2TybtX4AvTfhdHVozLMeHdFPd0r+5E/A6HmXnpn4d8i/7ewwQV2QQNRzYedowg== X-Received: by 10.98.74.17 with SMTP id x17mr66572300pfa.14.1456437440572; Thu, 25 Feb 2016 13:57:20 -0800 (PST) Received: from lab.us-west-1.compute.internal (ec2-54-183-105-171.us-west-1.compute.amazonaws.com. [54.183.105.171]) by smtp.gmail.com with ESMTPSA id r77sm14342649pfa.47.2016.02.25.13.57.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 25 Feb 2016 13:57:20 -0800 (PST) From: Gabe Evans To: buildroot@buildroot.org Date: Thu, 25 Feb 2016 21:55:37 +0000 Message-Id: <1456437341-19025-29-git-send-email-gabe@hashrabbit.co> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1456437341-19025-1-git-send-email-gabe@hashrabbit.co> References: <1456437341-19025-1-git-send-email-gabe@hashrabbit.co> Subject: [Buildroot] [PATCH 28/32] package/systemd: add optional support for hwdb 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" Signed-off-by: Gabe Evans --- package/systemd/Config.in | 11 +++++++++++ package/systemd/systemd.mk | 6 ++++++ 2 files changed, 17 insertions(+) diff --git a/package/systemd/Config.in b/package/systemd/Config.in index b0dbdbd..432c8b9 100644 --- a/package/systemd/Config.in +++ b/package/systemd/Config.in @@ -307,4 +307,15 @@ config BR2_PACKAGE_SYSTEMD_SMACK_SUPPORT When this feature is enabled, Systemd mounts smackfs and manages security labels for sockets. +config BR2_PACKAGE_SYSTEMD_HWDB + bool "enable hardware database support" + help + The hardware database is a key-value store for associating modalias-like + keys to udev-property-like values. It is used primarily by udev to add the + relevant properties to matching devices, but it can also be + queried directly. + + http://www.freedesktop.org/software/systemd/man/systemd-hwdb.html + http://www.freedesktop.org/software/systemd/man/hwdb.html + endif # BR2_PACKAGE_SYSTEMD diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index 9f64971..a32ccf2 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -271,6 +271,12 @@ else SYSTEMD_CONF_OPTS += --disable-smack endif +ifeq ($(BR2_PACKAGE_SYSTEMD_HWDB),y) +SYSTEMD_CONF_OPTS += --enable-hwdb +else +SYSTEMD_CONF_OPTS += --disable-hwdb +endif + # mq_getattr needs -lrt SYSTEMD_MAKE_OPTS += LIBS=-lrt SYSTEMD_MAKE_OPTS += LDFLAGS+=-ldl