From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47152) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3PE6-0001nI-9e for qemu-devel@nongnu.org; Wed, 15 Jan 2014 07:05:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W3PE0-000708-Bd for qemu-devel@nongnu.org; Wed, 15 Jan 2014 07:05:42 -0500 Received: from mx1.redhat.com ([209.132.183.28]:32814) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3PDz-000703-Se for qemu-devel@nongnu.org; Wed, 15 Jan 2014 07:05:36 -0500 Message-ID: <52D6797A.1090705@redhat.com> Date: Wed, 15 Jan 2014 13:05:14 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1389775713-996-1-git-send-email-famz@redhat.com> <1389775713-996-7-git-send-email-famz@redhat.com> <52D6775B.9000704@redhat.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v16 6/9] module: implement module loading List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Kevin Wolf , Fam Zheng , Stefan Hajnoczi , Michael Tokarev , QEMU Developers , Alex Bligh , Miroslav Rezanina , =?UTF-8?B?TGx1w61zIFZpbGFub3Zh?= , Richard Henderson Il 15/01/2014 13:03, Peter Maydell ha scritto: >>>>> >>> > This patch adds loading, stamp checking and initialization of modules. >>>>> >>> > +echo "CONFIG_STAMP=`(echo $qemu_version; echo $pkgversion; cat $0) | sha256sum - | cut -f1 -d\ `" >> $config_host_mak >>> >> This fails to configure under MacOSX, I'm afraid -- there is >>> >> no sha256sum there. >> > >> > Is sha1sum there? If yes, let's use it. > Nope. There is shasum (because perl provides it) and md5 > (not md5sum). Then we need a test that tries both sha1sum and shasum. Paolo