aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2019-12-04 18:11:47 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-12-08 23:02:57 +0100
commit1312aedbe0a346999581b243324594e1abe2cebf (patch)
tree37a7cf505296d62fe1df3ab7de1bf43d3b63bdc6 /Makefile.am
parent57b6d16548b876823da07022470077b92bb138a3 (diff)
ubihealthd: Build only if sys/random.h is present
The ubihealthd depends on sys/random.h , which is not present on some older systems. Build ubihealthd only if sys/random.h is present. Signed-off-by: Marek Vasut <marex@denx.de> Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index aacf589..4fdcd70 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -22,6 +22,10 @@ if WITH_CRYPTO
AM_CPPFLAGS += -DWITH_CRYPTO
endif
+if WITH_GETRANDOM
+AM_CPPFLAGS += -DWITH_GETRANDOM
+endif
+
sbin_PROGRAMS =
sbin_SCRIPTS =
check_PROGRAMS =