summaryrefslogtreecommitdiffstats
path: root/sys-utils
diff options
context:
space:
mode:
authorKarel Zak2009-06-09 10:15:28 +0200
committerKarel Zak2009-06-22 21:30:46 +0200
commitbd6713471f125eafbd6dd464414b4787e4c8f6fc (patch)
treeb05c27dc9012ec732d56b575fe3dc46fc742ff6c /sys-utils
parentswitch_root: new command (diff)
downloadkernel-qcow2-util-linux-bd6713471f125eafbd6dd464414b4787e4c8f6fc.tar.gz
kernel-qcow2-util-linux-bd6713471f125eafbd6dd464414b4787e4c8f6fc.tar.xz
kernel-qcow2-util-linux-bd6713471f125eafbd6dd464414b4787e4c8f6fc.zip
build-sys: add --disable-switch_root
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils')
-rw-r--r--sys-utils/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys-utils/Makefile.am b/sys-utils/Makefile.am
index 856d6a1f9..6700677f3 100644
--- a/sys-utils/Makefile.am
+++ b/sys-utils/Makefile.am
@@ -1,7 +1,7 @@
include $(top_srcdir)/config/include-Makefile.am
bin_PROGRAMS =
-sbin_PROGRAMS = switch_root
+sbin_PROGRAMS =
usrbinexec_PROGRAMS = flock ipcrm ipcs ipcmk renice setsid
usrsbinexec_PROGRAMS = readprofile
@@ -28,6 +28,10 @@ sbin_PROGRAMS += pivot_root
dist_man_MANS += pivot_root.8
endif
+if BUILD_SWITCH_ROOT
+sbin_PROGRAMS += switch_root
+endif
+
if BUILD_ARCH
bin_PROGRAMS += arch
dist_man_MANS += arch.1