From patchwork Sat Jan 9 22:48:28 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Nieder X-Patchwork-Id: 71956 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.2) with ESMTP id o09MmUii029946 for ; Sat, 9 Jan 2010 22:48:30 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750702Ab0AIWs3 (ORCPT ); Sat, 9 Jan 2010 17:48:29 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751228Ab0AIWs3 (ORCPT ); Sat, 9 Jan 2010 17:48:29 -0500 Received: from mail-gx0-f211.google.com ([209.85.217.211]:65145 "EHLO mail-gx0-f211.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750702Ab0AIWs2 (ORCPT ); Sat, 9 Jan 2010 17:48:28 -0500 Received: by gxk3 with SMTP id 3so9495564gxk.1 for ; Sat, 09 Jan 2010 14:48:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:references:mime-version:content-type:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=DXngSdDAzTRYbarteJq87VPMMAB5tm3yrtbxLh550YE=; b=IQ2sueiuqd1qi+1uS0kJ5H8NmGt7SEHNdxg3WNwfGUgMykCP8R+OA/3cDHteskAa1f AIxIlQb26l73hCDaGoVl8EtTYLCwo1yWAH6CiDYouSpKA4STNgD8GY5s9WRyTJBRVtdV UDAdCfeCn4X0aMV7LxFVa4TgJXLT+J05wISBQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:content-transfer-encoding :in-reply-to:user-agent; b=pFM3B6knvEtz3A96SzZRykTtK6qKPPupT523C0had5JMYReKa02f+YKLhuB7r9r9Aq +P2YQOnBRUCU+nA+d23sP/7O1zySkyVP5m6nPOGclEHkdoDRSJ7QAFyOtbh+gDyhK0ZV OdWyvwHT1vYImrPkpy8CXEiFTNBnTgPBZ5Ov0= Received: by 10.101.86.10 with SMTP id o10mr1456218anl.43.1263077307253; Sat, 09 Jan 2010 14:48:27 -0800 (PST) Received: from progeny.tock (c-98-212-3-231.hsd1.il.comcast.net [98.212.3.231]) by mx.google.com with ESMTPS id 22sm1143035iwn.8.2010.01.09.14.48.25 (version=SSLv3 cipher=RC4-MD5); Sat, 09 Jan 2010 14:48:26 -0800 (PST) Date: Sat, 9 Jan 2010 16:48:28 -0600 From: Jonathan Nieder To: Linus Torvalds Cc: Michal Marek , Sebastian =?iso-8859-1?Q?Dalfu=DF?= , Andrew Morton , Michael Tokarev , Alek Du , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [GIT PULL] kbuild fix for 2.6.33 Message-ID: <20100109224827.GA30610@progeny.tock> References: <20100105155038.GA20834@sepie.suse.cz> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20100105155038.GA20834@sepie.suse.cz> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index cd815ac..eabedbb 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -219,8 +219,13 @@ for F in $1; do \ fsize=$$(stat -c "%s" $$F); \ dec_size=$$(expr $$dec_size + $$fsize); \ done; \ -printf "%08x" $$dec_size | \ - sed 's/\(..\)\(..\)\(..\)\(..\)/\\\\x\4\\\\x\3\\\\x\2\\\\x\1/g' \ +printf "%08x\n" $$dec_size | \ + sed 's/\(..\)/\1 /g' | { \ + read ch0 ch1 ch2 ch3; \ + for ch in $$ch3 $$ch2 $$ch1 $$ch0; do \ + printf '%s%03o' '\\' $$((0x$$ch)); \ + done; \ + } \ ) quiet_cmd_bzip2 = BZIP2 $@