From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg Ungerer Subject: Re: [PATCH 33/35] m68k: do not use m68k startup or interrupt code for ColdFire CPU's Date: Wed, 28 Dec 2011 10:22:33 +1000 Message-ID: <4EFA6149.6000509@snapgear.com> References: <1324610148-20666-1-git-send-email-gerg@snapgear.com> <1324610148-20666-34-git-send-email-gerg@snapgear.com> <4EF9B8FC.7080206@snapgear.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from dalsmrelay2.nai.com ([205.227.136.216]:33890 "EHLO dalsmrelay2.nai.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751607Ab1L1AWv convert rfc822-to-8bit (ORCPT ); Tue, 27 Dec 2011 19:22:51 -0500 In-Reply-To: Sender: linux-m68k-owner@vger.kernel.org List-Id: linux-m68k@vger.kernel.org To: Geert Uytterhoeven Cc: linux-m68k@vger.kernel.org, uclinux-dev@uclinux.org, Greg Ungerer Hi Geert, On 28/12/11 04:30, Geert Uytterhoeven wrote: > On Tue, Dec 27, 2011 at 13:24, Greg Ungerer wrote= : >>>> =C3=A1extra-$(CONFIG_MMU) =C3=A1 =C3=A1 =C3=A1 =C3=A1 =C3=A1 =C3=A1= :=3D head.o >>>> =C3=A1extra-$(CONFIG_SUN3) =C3=A1 :=3D sun3-head.o >>>> +extra-$(CONFIG_COLDFIRE) =C3=A1 =C3=A1 =C3=A1 :=3D >>> >>> Why do you need the line above? >> >> That is to avoid using a "#ifndef CONFIG_COLDFIRE" around these. >> This entry clears out extra-y for the case when both CONFIG_MMU >> and CONFIG_COLDFIRE are set. > > Ooh, that's ugly, and easily overlooked (I missed it). > So you don't want head.o for Coldfire. What about > > extra-$(CONFIG_MMU_MOTOROLA) :=3D head.o > extra-$(CONFIG_SUN3) :=3D sun3-head.o > > ? > > But since head.o is not really about MMU or not, but about the machin= e, > perhaps it should be explicitly written as > > extra-$(CONFIG_AMIGA) :=3D head.o > extra-$(CONFIG_ATARI) :=3D head.o > ... > extra-$(CONFIG_SUN3X) :=3D head.o I am happy to do it either way. The second option here will need a longer list. I count 8 machines that use head.o (assuming VME is a single machine type) and 1 that uses sun3-head.o. At least the first option above just has the 2 lines. What is your preference? Regards Greg -----------------------------------------------------------------------= - Greg Ungerer -- Principal Engineer EMAIL: gerg@snapgear.co= m SnapGear Group, McAfee PHONE: +61 7 3435 288= 8 8 Gardner Close FAX: +61 7 3217 532= 3 Milton, QLD, 4064, Australia WEB: http://www.SnapGear.co= m