Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp2930173pxy; Mon, 3 May 2021 11:07:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz3ObtLI6l3nOS0FmAH3TBSXniGlTHrBlPK9TEnhGgpl2fPaVvBZp5TqI3p6oG3eesSmgAh X-Received: by 2002:a05:6402:d05:: with SMTP id eb5mr608535edb.6.1620065255913; Mon, 03 May 2021 11:07:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620065255; cv=none; d=google.com; s=arc-20160816; b=QjjEFkFWGMRwtML6Dh827H/t+xuJvlCuTr0ZhYH6CeNdNz5gxK/2vutQQOY5hHQMAj 9Qd/EnnGpXxonKbz4U/Y8rrxz08zfDAQ8ipEaQXTVMLikXn3R7OoUPXaNLzUH1vzwiuS LIt2qiMjr4ttZTw/F94KoSYxml9ZboD/5a+d0QpubU+gBkxFP6bzUYhvMuewXAwoEx0G 1iPQmeKHR4f/YnHvQbAsovzqsO2y/7TN3PyJM8QlMPVeohGMFAHnNczVXtmJ1KA8ZFMe GegWr104Zd8t/wGUIvMH0hU3aP8P/DT7+qxl2ylVUY98rT0rWvnJEUpmHe7QO0oDjczz gPlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=6sRTDx/pvT9oKMRoUjacP8gFXuJ+4JRD0jTuVOJOzkc=; b=tS131YdXVGuvVTvkbcAgEExJXqjafpL8TFkqyUTse++/rLwxkRsX6Lm+XFm1MkVjga CrQcgIk2iUcHNHVdM5b9oEnl3fmw11Oqz/BRLQW+RJCzdWYF+StOfKV/wc745171p1e6 q7qwbKjevmViDCEFWRY/RZIVKXwhi5dA68nwxTBCkRlVBXbKOCQQkg1TFzPe/5UWkhwG 429LPPK0WjQ+JKYGgfsUhTgB4UzHtJ/h6WsjhUya7hOSAi0K1mY3Q2OFhK2C5hxIbXaY fRQtA1zDGqAHiTniXVo5JdBdTjpdNJIQB3iN8FkqnaG1VmzfQdf+KnnUHS5J01/e6XXy pC/w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ia21si458031ejc.441.2021.05.03.11.07.01; Mon, 03 May 2021 11:07:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233893AbhECMyv (ORCPT + 99 others); Mon, 3 May 2021 08:54:51 -0400 Received: from mail-ua1-f43.google.com ([209.85.222.43]:46794 "EHLO mail-ua1-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230246AbhECMyt (ORCPT ); Mon, 3 May 2021 08:54:49 -0400 Received: by mail-ua1-f43.google.com with SMTP id d30so283171uae.13; Mon, 03 May 2021 05:53:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6sRTDx/pvT9oKMRoUjacP8gFXuJ+4JRD0jTuVOJOzkc=; b=SkpUYlGCA04B6Ljct1NGDG3Py2gDKkl1BJqlsrdAS+t7rVOuLntIeubOPYEUSsvA/C NlVVsKIPh0qbnaj49cIdr3ZNoiZHZtRhwVfwgwmrFITcDh/hgxE3q6+zzmm/9ooZqjSZ 2b2b/9219cesIp9W6nmEzmj0DegvSSVBlx1LXclJWBVv1SjuXZ73DV/bD7MMkyCygHHR p4eFExKNBeArHiDZwFVXdOo4Pval7vrTymI5HBlmh71yygjZc3Fxh4gxK35Y+JI1oVft LwO8uwYyHITRwFTUd8WUlokBpfiLsKY5R2YpoBfjre+sjq/Vn6e6jR07ueSUZjlx8MOo aMKQ== X-Gm-Message-State: AOAM532k/Qw2rwU0QzBxMmYsr7/2L0FV+qxcC258+0RGPFaJfceQeb/k Bs/H+8mozP89t4Vgo1/oS7bCyLjthdKSvmeiTyk= X-Received: by 2002:ab0:5f8d:: with SMTP id b13mr14381698uaj.4.1620046435558; Mon, 03 May 2021 05:53:55 -0700 (PDT) MIME-Version: 1.0 References: <20210501172437.156926-1-masahiroy@kernel.org> <20210501172437.156926-2-masahiroy@kernel.org> In-Reply-To: <20210501172437.156926-2-masahiroy@kernel.org> From: Geert Uytterhoeven Date: Mon, 3 May 2021 14:53:44 +0200 Message-ID: Subject: Re: [PATCH 2/2] arch: use cross_compiling to check whether it is a cross build or not To: Masahiro Yamada Cc: linux-kbuild , Arnd Bergmann , Chris Zankel , Helge Deller , "James E.J. Bottomley" , Max Filippov , Rich Felker , Thomas Bogendoerfer , Yoshinori Sato , Linux Kernel Mailing List , linux-m68k , "open list:BROADCOM NVRAM DRIVER" , Parisc List , Linux-sh list , "open list:TENSILICA XTENSA PORT (xtensa)" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Yamada-san, On Sat, May 1, 2021 at 7:26 PM Masahiro Yamada wrote: > 'cross_compiling' is defined by the top Makefile and available for > arch Makefiles to check whether it is a cross build or not. A good > thing is the variable name 'cross_compiling' is self-documenting. > > This is a simple replacement for m68k, mips, sh, for which $(ARCH) > and $(SRCARCH) always match. > > No functional change is intended for xtensa, either. > > This is rather a fix for parisc because arch/parisc/Makefile defines > UTS_MATCHINE depending on CONFIG_64BIT, therefore cc-cross-prefix > is not working in Kconfig time. > > Signed-off-by: Masahiro Yamada > arch/m68k/Makefile | 2 +- Acked-by: Geert Uytterhoeven 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