From 90759a663629d3c936c0e4392088a4e618aaf5fe Mon Sep 17 00:00:00 2001 From: Maxime Ripard Date: Fri, 23 Mar 2012 16:49:53 +0100 Subject: [PATCH] Enable cgroups in Linux if we use systemd Signed-off-by: Maxime Ripard Signed-off-by: Peter Korsgaard --- linux/linux.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/linux/linux.mk b/linux/linux.mk index 6cb1efc86a..16f99163d8 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 -- 2.30.2