summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorSamuel Thibault2011-03-03 02:18:32 +0100
committerKarel Zak2011-03-11 12:34:25 +0100
commit465e9973848fc7398722b16d948a0d37cb51126f (patch)
treeaa00788f7e4848230b77405ca142333e6670d8b7 /Makefile.am
parentcfdisk: add home and end keys movements in partition list (diff)
downloadkernel-qcow2-util-linux-465e9973848fc7398722b16d948a0d37cb51126f.tar.gz
kernel-qcow2-util-linux-465e9973848fc7398722b16d948a0d37cb51126f.tar.xz
kernel-qcow2-util-linux-465e9973848fc7398722b16d948a0d37cb51126f.zip
hwclock: build on non-Linux
Thanks to the direct ISA method and by disabling the RTC get/set epoch functionality, hwclock can work fine on non-Linux systems which provide ioperm or iopl. Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index f7f27c67a..906322557 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -37,10 +37,12 @@ SUBDIRS = \
RCS_FIND_IGNORE = \( -name SCCS -o -name BitKeeper -o -name .svn -o \
-name CVS -o -name .pc -o -name .hg -o -name .git \) -prune -o
+if BUILD_HWCLOCK
+SUBDIRS += hwclock
+endif
+
if LINUX
-SUBDIRS += \
- hwclock \
- partx
+SUBDIRS += partx
endif
if BUILD_INIT