Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751799Ab3HUMHh (ORCPT ); Wed, 21 Aug 2013 08:07:37 -0400 Received: from mail-pb0-f51.google.com ([209.85.160.51]:60054 "EHLO mail-pb0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751273Ab3HUMHd (ORCPT ); Wed, 21 Aug 2013 08:07:33 -0400 MIME-Version: 1.0 In-Reply-To: <1377073172-3662-1-git-send-email-richard@nod.at> References: <1377073172-3662-1-git-send-email-richard@nod.at> Date: Wed, 21 Aug 2013 14:07:33 +0200 X-Google-Sender-Auth: rZlOwrYgrqfYnchIhDuMmQKgwG0 Message-ID: Subject: Re: [RFC] Get rid of SUBARCH From: Geert Uytterhoeven To: Richard Weinberger Cc: 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 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1657 Lines: 43 On Wed, Aug 21, 2013 at 10:19 AM, Richard Weinberger wrote: > This series is an attempt to remove the SUBARCH make parameter. > It as introduced at the times of Linux 2.5 for UML to tell the UML > build system what the real architecture is. > > But we actually don't need SUBARCH, we can store this information > in the .config file. Haha, now you have OS_ARCH (shouldn't that be called HOST_ARCH?) instead, which is available only for UM? > 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. > [PATCH 1/8] um: Create defconfigs for i386 and x86_64 > [PATCH 3/8] um: Remove old defconfig Why not merge these two, so git copy/rename detection will show only the real changes? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds -- 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/