Patchwork [git,commit] Enable cgroups in Linux if we use systemd

login
register
mail settings
Submitter Peter Korsgaard
Date April 2, 2012, 9:14 p.m.
Message ID <20120402211515.41297969C3@busybox.osuosl.org>
Download mbox | patch
Permalink /patch/150250/
State Not Applicable
Headers show

Comments

Peter Korsgaard - April 2, 2012, 9:14 p.m.
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 <maxime.ripard@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
 linux/linux.mk |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Patch

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