From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756612Ab0ICJTG (ORCPT ); Fri, 3 Sep 2010 05:19:06 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40233 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751850Ab0ICJTE (ORCPT ); Fri, 3 Sep 2010 05:19:04 -0400 Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: References: <19747.1283422807@redhat.com> <20100902102158.19806.14133.stgit@warthog.procyon.org.uk> To: Andreas Schwab Cc: dhowells@redhat.com, Geert Uytterhoeven , gerg@snapgear.com, 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 Date: Fri, 03 Sep 2010 10:18:40 +0100 Message-ID: <3048.1283505520@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. David