From patchwork Sat Nov 17 13:41:37 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anthony Liguori X-Patchwork-Id: 199854 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id DE5812C0098 for ; Sun, 18 Nov 2012 00:42:03 +1100 (EST) Received: from localhost ([::1]:38080 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZieo-0001MQ-3r for incoming@patchwork.ozlabs.org; Sat, 17 Nov 2012 08:42:02 -0500 Received: from eggs.gnu.org ([208.118.235.92]:38567) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZiee-0001LB-UJ for qemu-devel@nongnu.org; Sat, 17 Nov 2012 08:41:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TZieb-0003Ar-PZ for qemu-devel@nongnu.org; Sat, 17 Nov 2012 08:41:52 -0500 Received: from e28smtp03.in.ibm.com ([122.248.162.3]:41283) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZieb-0003AV-5z for qemu-devel@nongnu.org; Sat, 17 Nov 2012 08:41:49 -0500 Received: from /spool/local by e28smtp03.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Sat, 17 Nov 2012 19:11:45 +0530 Received: from d28relay02.in.ibm.com (9.184.220.59) by e28smtp03.in.ibm.com (192.168.1.133) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Sat, 17 Nov 2012 19:11:41 +0530 Received: from d28av04.in.ibm.com (d28av04.in.ibm.com [9.184.220.66]) by d28relay02.in.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id qAHDffaD21364986 for ; Sat, 17 Nov 2012 19:11:41 +0530 Received: from d28av04.in.ibm.com (loopback [127.0.0.1]) by d28av04.in.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id qAHJBWXY024501 for ; Sun, 18 Nov 2012 06:11:32 +1100 Received: from titi.austin.rr.com (sig-9-65-73-69.mts.ibm.com [9.65.73.69]) by d28av04.in.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id qAHJBTp7024347; Sun, 18 Nov 2012 06:11:30 +1100 From: Anthony Liguori To: qemu-devel@nongnu.org Date: Sat, 17 Nov 2012 07:41:37 -0600 Message-Id: <1353159697-3922-1-git-send-email-aliguori@us.ibm.com> X-Mailer: git-send-email 1.8.0 x-cbid: 12111713-3864-0000-0000-00000599BC4B X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 122.248.162.3 Cc: Stefan Weil , Anthony Liguori Subject: [Qemu-devel] [PATCH] rng-random: only build on POSIX platforms X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org There is no /dev/random on win32. Cc: Stefan Weil Signed-off-by: Anthony Liguori --- backends/Makefile.objs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backends/Makefile.objs b/backends/Makefile.objs index 875eebc..8836761 100644 --- a/backends/Makefile.objs +++ b/backends/Makefile.objs @@ -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