Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754355Ab3HVUlU (ORCPT ); Thu, 22 Aug 2013 16:41:20 -0400 Received: from mail-ob0-f179.google.com ([209.85.214.179]:60428 "EHLO mail-ob0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753968Ab3HVUlR convert rfc822-to-8bit (ORCPT ); Thu, 22 Aug 2013 16:41:17 -0400 Date: Thu, 22 Aug 2013 15:41:09 -0500 From: Rob Landley Subject: Re: [RFC] Get rid of SUBARCH To: Geert Uytterhoeven Cc: Sam Ravnborg , Richard Weinberger , Linux-Arch , Michal Marek , Ralf Baechle , Paul Mundt , Jeff Dike , Guan Xuetao , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , the arch/x86 maintainers , linux-kbuild , "linux-kernel@vger.kernel.org" , linux-m68k , Linux MIPS Mailing List , Linux-sh list , uml-devel References: <1377073172-3662-1-git-send-email-richard@nod.at> <20130821195157.GA18191@merkur.ravnborg.org> In-Reply-To: (from geert@linux-m68k.org on Thu Aug 22 07:58:26 2013) X-Mailer: Balsa 2.4.11 Message-Id: <1377204069.2737.108@driftwood> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; DelSp=Yes; Format=Flowed Content-Disposition: inline Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1110 Lines: 29 On 08/22/2013 07:58:26 AM, Geert Uytterhoeven wrote: > On Wed, Aug 21, 2013 at 9:51 PM, Sam Ravnborg > wrote: > >> > The series touches also m68k, sh, mips and unicore32. > >> > These architectures magically select a cross compiler if ARCH != > SUBARCH. > >> > Do really need that behavior? > >> > >> This does remove functionality. > >> It allows to build a kernel using e.g. "make ARCH=m68k". > >> > >> Perhaps this can be moved to generic code? Most (not all!) > cross-toolchains > >> are called $ARCH-{unknown-,}linux{,-gnu}. > >> Exceptions are e.g. am33_2.0-linux and bfin-uclinux. > > > > Today you can specify CROSS_COMPILE in Kconfig. > > With this we should be able to remove these hacks. > > The correct CROSS_COMPILE value depends on the host environment, not > on the target configuration. Actually it depends on _both_. Rob-- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/