Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752041Ab3IZOgq (ORCPT ); Thu, 26 Sep 2013 10:36:46 -0400 Received: from mail-ie0-f180.google.com ([209.85.223.180]:50537 "EHLO mail-ie0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751441Ab3IZOgm (ORCPT ); Thu, 26 Sep 2013 10:36:42 -0400 MIME-Version: 1.0 In-Reply-To: <524443AC.3040409@nod.at> References: <1377073172-3662-1-git-send-email-richard@nod.at> <1377073172-3662-3-git-send-email-richard@nod.at> <52441025.9030308@nod.at> <52441407.9010603@nod.at> <52442108.1020304@nod.at> <524443AC.3040409@nod.at> From: Ramkumar Ramachandra Date: Thu, 26 Sep 2013 20:06:01 +0530 Message-ID: Subject: Re: [PATCH 2/8] um: Do not use SUBARCH To: Richard Weinberger Cc: Geert Uytterhoeven , 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 , LKML , 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: 1145 Lines: 32 Richard Weinberger wrote: >> Sorry for chiming in, but... what about cross compiling? >> SUBARCH=x86 should give you a 32-bit ia32 kernel, right? > > Correct. > Users expect from SUBARCH=x86 a i386 32bit UML kernel. This is an insane expectation. This is kernel convention (it has nothing to do with uml): SUBARCH := $(shell uname -m | sed -e s/i.86/x86/ -e s/x86_64/x86/ \ -e s/sun4u/sparc64/ \ -e s/arm.*/arm/ -e s/sa110/arm/ \ -e s/s390x/s390/ -e s/parisc64/parisc/ \ -e s/ppc.*/powerpc/ -e s/mips.*/mips/ \ -e s/sh[234].*/sh/ -e s/aarch64.*/arm64/ ) config 64BIT bool "64-bit kernel" if ARCH = "x86" default ARCH != "i386" ---help--- Say yes to build a 64-bit kernel - formerly known as x86_64 Say no to build a 32-bit kernel - formerly known as i386 If you want to stand on your head and demand that all these conventions be changed against all reason, I have nothing further to say. -- 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/