From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756639Ab0ICJb6 (ORCPT ); Fri, 3 Sep 2010 05:31:58 -0400 Received: from dalsmrelay2.nai.com ([205.227.136.216]:47754 "HELO dalsmrelay2.nai.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1755929Ab0ICJb5 (ORCPT ); Fri, 3 Sep 2010 05:31:57 -0400 Message-ID: <4C80C068.1010302@snapgear.com> Date: Fri, 3 Sep 2010 19:31:20 +1000 From: Greg Ungerer User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100713 Thunderbird/3.0.6 MIME-Version: 1.0 To: David Howells CC: Andreas Schwab , Geert Uytterhoeven , linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/3] M68K: Use CONFIG_MMU not __uClinux__ to select m68knommu contributions References: <19747.1283422807@redhat.com> <20100902102158.19806.14133.stgit@warthog.procyon.org.uk> <3048.1283505520@redhat.com> In-Reply-To: <3048.1283505520@redhat.com> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 03 Sep 2010 09:31:33.0908 (UTC) FILETIME=[CC65D540:01CB4B4A] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/09/10 19:18, David Howells wrote: > Andreas Schwab wrote: > >> You are almost able to use the uclinux compiler for both, except that >> currently __uClinux__ is hardcoded. > > The m68knommu arch Makefile in the kernel could specify it on the compiler > command line, then m68k compilers should be possible. > > The kernel should probably also set appropriate -mcpu= and -mtune= flags, > depending on the type of kernel selected. Not sure about m68k but m68knommu targets already setup appropriate -mcpu flags for its various supported CPU types. Regards Greg