aboutsummaryrefslogtreecommitdiff
path: root/ubi-utils
diff options
context:
space:
mode:
Diffstat (limited to 'ubi-utils')
-rw-r--r--ubi-utils/Makemodule.am9
1 files changed, 7 insertions, 2 deletions
diff --git a/ubi-utils/Makemodule.am b/ubi-utils/Makemodule.am
index 984e2cd..2835702 100644
--- a/ubi-utils/Makemodule.am
+++ b/ubi-utils/Makemodule.am
@@ -37,13 +37,18 @@ ubirsvol_LDADD = libmtd.a libubi.a
ubiblock_SOURCES = ubi-utils/ubiblock.c
ubiblock_LDADD = libmtd.a libubi.a
+if WITH_GETRANDOM
ubihealthd_SOURCES = ubi-utils/ubihealthd.c
ubihealthd_LDADD = libmtd.a libubi.a
+endif
UBI_BINS = \
ubiupdatevol ubimkvol ubirmvol ubicrc32 ubinfo ubiattach \
- ubidetach ubinize ubiformat ubirename mtdinfo ubirsvol ubiblock \
- ubihealthd
+ ubidetach ubinize ubiformat ubirename mtdinfo ubirsvol ubiblock
+
+if WITH_GETRANDOM
+UBI_BINS += ubihealthd
+endif
UBI_MAN = \
ubi-utils/ubinize.8