summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClemens Gruber <clemens.gruber@pqgruber.com>2016-06-15 00:21:20 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2016-06-20 22:10:09 +0200
commita079a6d10ff67ab667dd72def54acf928eaead09 (patch)
tree70719e3324de260d2c89b3f970edebd3e61a6e8d
parent82afbbdbb375f8b256271bff1ad1cc70009d88e7 (diff)
downloadptxdist-a079a6d10ff67ab667dd72def54acf928eaead09.tar.gz
util-linux-ng: add zramctl option
Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/util-linux-ng.in6
-rw-r--r--rules/util-linux-ng.make4
2 files changed, 10 insertions, 0 deletions
diff --git a/rules/util-linux-ng.in b/rules/util-linux-ng.in
index 9fddfd8..b0d5e1f 100644
--- a/rules/util-linux-ng.in
+++ b/rules/util-linux-ng.in
@@ -366,4 +366,10 @@ config UTIL_LINUX_NG_FINDFS
comment "BusyBox' findfs is selected!"
depends on BUSYBOX_FINDFS
+config UTIL_LINUX_NG_ZRAMCTL
+ bool
+ prompt "zramctl"
+ help
+ The zramctl program is a tool to set up and control zram devices.
+
endif
diff --git a/rules/util-linux-ng.make b/rules/util-linux-ng.make
index ebd0f2e..33798fa 100644
--- a/rules/util-linux-ng.make
+++ b/rules/util-linux-ng.make
@@ -115,6 +115,7 @@ UTIL_LINUX_NG_CONF_OPT := \
--$(call ptx/endis, PTXCONF_UTIL_LINUX_NG_SCHEDUTILS)-schedutils \
--disable-wall \
--disable-write \
+ --$(call ptx/endis, PTXCONF_UTIL_LINUX_NG_ZRAMCTL)-zramctl \
--disable-bash-completion \
--disable-pylibmount \
--disable-pg-bell \
@@ -268,6 +269,9 @@ endif
ifdef PTXCONF_UTIL_LINUX_NG_FINDFS
@$(call install_copy, util-linux-ng, 0, 0, 0755, -, /sbin/findfs)
endif
+ifdef PTXCONF_UTIL_LINUX_NG_ZRAMCTL
+ @$(call install_copy, util-linux-ng, 0, 0, 0755, -, /sbin/zramctl)
+endif
@$(call install_finish, util-linux-ng)