rng-random: only build on POSIX platforms

There is no /dev/random on win32.

Cc: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
Anthony Liguori 2012-11-17 07:40:47 -06:00
parent e24dc9feb0
commit e75fce6cda

View File

@ -1 +1,2 @@
common-obj-y += rng.o rng-random.o rng-egd.o common-obj-y += rng.o rng-egd.o
common-obj-$(CONFIG_POSIX) += rng-random.o