Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NHeCS-0007Wj-52 for mharc-grub-devel@gnu.org; Mon, 07 Dec 2009 09:04:28 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NHeCP-0007Tp-Of for grub-devel@gnu.org; Mon, 07 Dec 2009 09:04:25 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NHeCK-0007Lt-Mo for grub-devel@gnu.org; Mon, 07 Dec 2009 09:04:25 -0500 Received: from [199.232.76.173] (port=60086 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NHeCK-0007Lg-Hf for grub-devel@gnu.org; Mon, 07 Dec 2009 09:04:20 -0500 Received: from xvm-190-8.ghst.net ([217.70.190.8]:43150 helo=aybabtu.com) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NHeCK-0008EI-D4 for grub-devel@gnu.org; Mon, 07 Dec 2009 09:04:20 -0500 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtp (Exim 4.69) (envelope-from ) id 1NHeCF-0002Cn-Ct; Mon, 07 Dec 2009 15:04:16 +0100 Received: from rmh by thorin with local (Exim 4.69) (envelope-from ) id 1NHeCB-0001zJ-BV; Mon, 07 Dec 2009 15:04:11 +0100 Date: Mon, 7 Dec 2009 15:04:11 +0100 From: Robert Millan To: David Miller Message-ID: <20091207140411.GD5895@thorin> References: <20091206.012146.124293458.davem@davemloft.net> <20091206131026.GA24598@thorin> <20091206.162150.193719844.davem@davemloft.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="uAKRQypu60I7Lcqm" Content-Disposition: inline In-Reply-To: <20091206.162150.193719844.davem@davemloft.net> Organization: free as in freedom X-Message-Flag: Worried about Outlook viruses? Switch to Thunderbird! www.mozilla.com/thunderbird X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Cc: grub-devel@gnu.org Subject: Re: Broken common.rmk change X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2009 14:04:26 -0000 --uAKRQypu60I7Lcqm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sun, Dec 06, 2009 at 04:21:50PM -0800, David Miller wrote: > From: Robert Millan > Date: Sun, 6 Dec 2009 14:10:26 +0100 > > > We're actually in the process of getting rid of device.map; > > Meanwhile, please fix the regression you added to the tree. :-) I think this should do it. Please can you test? > And I'll look into what you've mentioned to see if that kind of scheme > will work properly on Sparc. Thanks! -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all." --uAKRQypu60I7Lcqm Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="sparc64_devicemap.diff" === modified file 'conf/common.rmk' --- conf/common.rmk 2009-11-25 23:10:02 +0000 +++ conf/common.rmk 2009-12-07 14:03:09 +0000 @@ -3,7 +3,13 @@ sbin_UTILITIES += grub-mkdevicemap grub_mkdevicemap_SOURCES = gnulib/progname.c util/grub-mkdevicemap.c \ util/deviceiter.c \ - util/devicemap.c util/misc.c + util/misc.c + +ifeq ($(target_cpu)-$(platform), sparc64-ieee1275) +grub_mkdevicemap_SOURCES += util/ieee1275/ofpath.c util/ieee1275/devicemap.c +else +grub_mkdevicemap_SOURCES += util/devicemap.c +endif # For grub-mkelfimage. bin_UTILITIES += grub-mkelfimage --uAKRQypu60I7Lcqm--