From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Howells 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> References: <19747.1283422807@redhat.com> <20100902102158.19806.14133.stgit@warthog.procyon.org.uk> Return-path: 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 In-Reply-To: Sender: linux-arch-owner@vger.kernel.org List-ID: To: Andreas Schwab Cc: dhowells@redhat.com, Geert Uytterhoeven , gerg@snapgear.com, linux-arch@vger.kernel.org, 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