From patchwork Mon Apr 2 21:14:04 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Korsgaard X-Patchwork-Id: 150250 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id EBFCEB6FA3 for ; Tue, 3 Apr 2012 07:15:25 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 0C98F31FFF; Mon, 2 Apr 2012 21:15:24 +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 yin1So7Yuidf; Mon, 2 Apr 2012 21:15:20 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id A934726EF2; Mon, 2 Apr 2012 21:15:19 +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 37BF28F753 for ; Mon, 2 Apr 2012 21:15:17 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 2E464101130 for ; Mon, 2 Apr 2012 21:15:17 +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 KDW+9yfU-Ndx for ; Mon, 2 Apr 2012 21:15:15 +0000 (UTC) Received: from busybox.osuosl.org (busybox.osuosl.org [140.211.167.224]) by fraxinus.osuosl.org (Postfix) with ESMTP id 4A5EC101129 for ; Mon, 2 Apr 2012 21:15:15 +0000 (UTC) Received: by busybox.osuosl.org (Postfix, from userid 4021) id 41297969C3; Mon, 2 Apr 2012 21:15:15 +0000 (UTC) From: Peter Korsgaard To: buildroot@busybox.net Date: Mon, 2 Apr 2012 23:14:04 +0200 X-Git-Refname: refs/heads/master X-Git-Oldrev: b41fb1507fa2975e09ebcd04f342d1bbd3681623 X-Git-Newrev: 90759a663629d3c936c0e4392088a4e618aaf5fe X-Patchwork-Hint: ignore Message-Id: <20120402211515.41297969C3@busybox.osuosl.org> Subject: [Buildroot] [git commit] Enable cgroups in Linux if we use systemd 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 commit: http://git.buildroot.net/buildroot/commit/?id=90759a663629d3c936c0e4392088a4e618aaf5fe branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Maxime Ripard Signed-off-by: Peter Korsgaard --- linux/linux.mk | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/linux/linux.mk b/linux/linux.mk index 6cb1efc..16f9916 100644 --- a/linux/linux.mk +++ b/linux/linux.mk @@ -162,6 +162,8 @@ define LINUX_CONFIGURE_CMDS $(call KCONFIG_ENABLE_OPT,CONFIG_DEVTMPFS_MOUNT,$(@D)/.config)) $(if $(BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV), $(call KCONFIG_SET_OPT,CONFIG_UEVENT_HELPER_PATH,\"/sbin/mdev\",$(@D)/.config)) + $(if $(BR2_PACKAGE_SYSTEMD), + $(call KCONFIG_ENABLE_OPT,CONFIG_CGROUPS,$(@D)/.config)) yes '' | $(TARGET_MAKE_ENV) $(MAKE1) $(LINUX_MAKE_FLAGS) -C $(@D) oldconfig endef