From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 26E89C4363C for ; Wed, 7 Oct 2020 06:22:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CEAEF21527 for ; Wed, 7 Oct 2020 06:22:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727107AbgJGGWM (ORCPT ); Wed, 7 Oct 2020 02:22:12 -0400 Received: from bmailout3.hostsharing.net ([176.9.242.62]:43891 "EHLO bmailout3.hostsharing.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726138AbgJGGWM (ORCPT ); Wed, 7 Oct 2020 02:22:12 -0400 X-Greylist: delayed 484 seconds by postgrey-1.27 at vger.kernel.org; Wed, 07 Oct 2020 02:22:11 EDT Received: from h08.hostsharing.net (h08.hostsharing.net [83.223.95.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.hostsharing.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (not verified)) by bmailout3.hostsharing.net (Postfix) with ESMTPS id 226D910029E43; Wed, 7 Oct 2020 08:14:05 +0200 (CEST) Received: by h08.hostsharing.net (Postfix, from userid 100393) id C9C4378767; Wed, 7 Oct 2020 08:14:04 +0200 (CEST) Date: Wed, 7 Oct 2020 08:14:04 +0200 From: Lukas Wunner To: Masahiro Yamada , Michal Marek Cc: linux-kbuild@vger.kernel.org, debian-kernel@lists.debian.org, kernel-team@fedoraproject.org, kernel@gentoo.org, opensuse-kernel@opensuse.org Subject: Re: [PATCH] kbuild: Cross-compile binaries to build modules on target Message-ID: <20201007061404.GA9356@wunner.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org On Thu, Aug 06, 2020 at 10:33:22AM +0200, Lukas Wunner wrote: > To build external modules, one needs executables such as fixdep and > modpost. But when cross-compiling the kernel, those executables are > only generated for the host arch, not the target arch. [...] > Make distribution maintainers' lives easier by providing a new target > "make kbuild_install" which cross-compiles the required executables for > the target arch and installs them below $(INSTALL_KBUILD_PATH). Two months have passed since I submitted this, alas without any comments. Masahiro, Michal, what are your thoughts on this patch? Pretty please? Thank you, Lukas