summaryrefslogtreecommitdiffstats
path: root/sys-utils/Makemodule.am
diff options
context:
space:
mode:
authorKarel Zak2014-08-01 12:09:55 +0200
committerKarel Zak2014-08-01 12:09:55 +0200
commit0624d8406b8e8e64f7a1c6dcea7af648d99ef08d (patch)
treea549ba1c86c02df97df851c5bffb713d37ca743a /sys-utils/Makemodule.am
parentlib/ismounted: make it more compatible with lsblk output (diff)
downloadkernel-qcow2-util-linux-0624d8406b8e8e64f7a1c6dcea7af648d99ef08d.tar.gz
kernel-qcow2-util-linux-0624d8406b8e8e64f7a1c6dcea7af648d99ef08d.tar.xz
kernel-qcow2-util-linux-0624d8406b8e8e64f7a1c6dcea7af648d99ef08d.zip
zrmactl: add new command to control /dev/zramN devices
Co-Author: Timofey Titovets <nefelim4ag@gmail.com> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/Makemodule.am')
-rw-r--r--sys-utils/Makemodule.am9
1 files changed, 9 insertions, 0 deletions
diff --git a/sys-utils/Makemodule.am b/sys-utils/Makemodule.am
index ca47df80b..058bb62d4 100644
--- a/sys-utils/Makemodule.am
+++ b/sys-utils/Makemodule.am
@@ -190,6 +190,15 @@ endif
endif # BUILD_LOSETUP
+if BUILD_ZRAMCTL
+sbin_PROGRAMS += zramctl
+dist_man_MANS += sys-utils/zramctl.8
+zramctl_SOURCES = sys-utils/zramctl.c
+zramctl_LDADD = $(LDADD) libcommon.la libsmartcols.la
+zramctl_CFLAGS = $(AM_CFLAGS) -I$(ul_libsmartcols_incdir)
+endif
+
+
if BUILD_PRLIMIT
usrbin_exec_PROGRAMS += prlimit
dist_man_MANS += sys-utils/prlimit.1