From patchwork Thu Feb 25 21:55:27 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gabe Evans X-Patchwork-Id: 588402 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 21DF814056B for ; Fri, 26 Feb 2016 08:57:50 +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=TKH83kC4; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id C667295D67; Thu, 25 Feb 2016 21:57:42 +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 tOB6foiKWHBM; Thu, 25 Feb 2016 21:57:42 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 06B0395D2C; Thu, 25 Feb 2016 21:57:42 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 5A31E1C2E64 for ; Thu, 25 Feb 2016 21:57:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 5745331418 for ; Thu, 25 Feb 2016 21:57:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iKfePLyvKyMD for ; Thu, 25 Feb 2016 21:57:13 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pa0-f48.google.com (mail-pa0-f48.google.com [209.85.220.48]) by silver.osuosl.org (Postfix) with ESMTPS id BDDE330C8B for ; Thu, 25 Feb 2016 21:57:13 +0000 (UTC) Received: by mail-pa0-f48.google.com with SMTP id fl4so38842790pad.0 for ; Thu, 25 Feb 2016 13:57:13 -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=q+OADPeU8j2OHp9cyd9CgGDbx52LHhdBsatIZIKjymM=; b=TKH83kC44iwNDGt9QDJ+NKOHRSH8yFShq1m+Nn1ULVyBxenZgHYxMn8oM20AXWY29A AzJJjuW5ZiZVLphZWAoQCiRNIEOpOsmdPrubU7pSN8nvRtw2Ehn3N7vH6dNF31aO5htx +61De2WwZoud4MQtqErI6Gb+rMEjCoxCtk1EM= 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=q+OADPeU8j2OHp9cyd9CgGDbx52LHhdBsatIZIKjymM=; b=lf03fy32vSVQP00Eq3U4fEsgl6jMtQoZxdo6uZoY+V4SaeueE3eYZyl+GP1J2DA0fg Z4gFvaHN6VLXIVVAfaIPOCYLavH5SiUjIsx8JhUwu6KEcC/xmgIcgfw6rV8nak8Ellxi rC3pnnbjpvKkLHmjxT9D0mLfS3Ggz3h7zeS8carYNAFJN8AcMvfSa7oCk1Qzl63mZ2WL vSLU1waGrPvI+Ufa1pfGK72kk+y4S3s0wzq8rsAMowXqocGAX3UtpGF3NXkTcEeWJnWo VCoxZwpFCBjPA8CKZb5CE6tWwrHMd6gw/RiJJRaEahnZdqWK+qcdhRHMifCP//vuro+l ZPrw== X-Gm-Message-State: AG10YORR+8q+40nsfYnyAKkP0dJPfdhO+fpf1tzUtmLU4c8kF6Paphk9KRW1ByBr1OTDYQ== X-Received: by 10.67.23.202 with SMTP id ic10mr57925138pad.127.1456437433551; Thu, 25 Feb 2016 13:57:13 -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.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 25 Feb 2016 13:57:13 -0800 (PST) From: Gabe Evans To: buildroot@buildroot.org Date: Thu, 25 Feb 2016 21:55:27 +0000 Message-Id: <1456437341-19025-19-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 18/32] package/systemd: add optional support for backlight 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 | 8 ++++++++ package/systemd/systemd.mk | 6 ++++++ 2 files changed, 14 insertions(+) diff --git a/package/systemd/Config.in b/package/systemd/Config.in index 8cce2c9..1238340 100644 --- a/package/systemd/Config.in +++ b/package/systemd/Config.in @@ -152,6 +152,14 @@ config BR2_PACKAGE_SYSTEMD_RANDOMSEED http://www.freedesktop.org/software/systemd/man/systemd-random-seed.service.html +config BR2_PACKAGE_SYSTEMD_BACKLIGHT + bool "enable backlight support" + help + systemd-backlight is a service that restores the display backlight + brightness at early boot and saves it at shutdown. + + http://www.freedesktop.org/software/systemd/man/systemd-backlight@.service.html + config BR2_PACKAGE_SYSTEMD_NETWORKD bool "enable network manager" help diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index 0c5f056..09f9071 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -175,6 +175,12 @@ else SYSTEMD_CONF_OPTS += --disable-randomseed endif +ifeq ($(BR2_PACKAGE_SYSTEMD_BACKLIGHT),y) +SYSTEMD_CONF_OPTS += --enable-backlight +else +SYSTEMD_CONF_OPTS += --disable-backlight +endif + ifeq ($(BR2_PACKAGE_SYSTEMD_NETWORKD),y) SYSTEMD_CONF_OPTS += --enable-networkd define SYSTEMD_INSTALL_RESOLVCONF_HOOK