Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5165773pxj; Wed, 9 Jun 2021 10:36:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz3atzxOcyLm3WniaZ6O6PNUWZ6DxFtRny1wBl1EPbcGNQxy9fWesErr3ns0C75aQwApqzY X-Received: by 2002:a17:906:1848:: with SMTP id w8mr917886eje.277.1623260194431; Wed, 09 Jun 2021 10:36:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623260194; cv=none; d=google.com; s=arc-20160816; b=PwCcgxd5Jrnz2rfXgHP76oyRRdm4lG//FtdpL1GdnZE3x6IYKU3ws8d4VXHTncOpE1 We5dZiJAphbMzkHQrfoSk4E2fPy96ZXepSPiF+plDZRtVal5M6eXwHY2QTEUA09PYySM iajl+7WvLghc/sQZrY+cVVLynOd39UIR5o4fPQl5jESpnP2ppBPjXEC4/H7zwkko79mc ezXc3zIyjiSNg5NGyAA4Ne54VH41JIZ7FI0XjyNAFR7tsZSLoTGnqhBQ4D9Lnkrn0cSq 0rYq+4VtOxFGK/ZfWaEmpxQWznv6LMhnCLGZNew/RSBiAxHixSCPdv2I6jLN0cmAqQAI isSg== 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:dkim-signature:dkim-filter; bh=hcr+Eu7cFxCqa4ADxNq7akOPtlDexVyc+1o3NpX/RWk=; b=V1/HZPZWX4UqQCbMkZ1Ys9HtHbTSxdo2lo2HH/8amx8q0Vh65TxZE0IVlaWwf9xJE+ YXmn0M9TSxHiS1xr5Kyj1qBv9MfU2dFmQq6PJSqm5hUNj71PovHPp7sCUM0d6OVaP+PD s4D3ecbOMmQiqYBtuuy/blsgy5sHZHActesCC4srvPy3pDFAlcCTVhmtEU3Iejs8tSHf OrB7HJY8ktHdR13lv0cnJBO6G82SBvb0SzM1IEXhD25AkO93RBiTS6ZifcEnY0lGREZK nJBuoHMUMwnr+S6eOE/0P+Cow99pKWnt0W9ldCTQwKh6tu6CI+Bd9eXGUPoSrgu0aw7e aAqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=jvFWkPSp; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dz10si200135edb.266.2021.06.09.10.36.10; Wed, 09 Jun 2021 10:36:34 -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; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=jvFWkPSp; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236897AbhFIN5t (ORCPT + 99 others); Wed, 9 Jun 2021 09:57:49 -0400 Received: from conssluserg-04.nifty.com ([210.131.2.83]:39980 "EHLO conssluserg-04.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236898AbhFIN5r (ORCPT ); Wed, 9 Jun 2021 09:57:47 -0400 Received: from mail-pg1-f179.google.com (mail-pg1-f179.google.com [209.85.215.179]) (authenticated) by conssluserg-04.nifty.com with ESMTP id 159DtXZJ012079; Wed, 9 Jun 2021 22:55:35 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-04.nifty.com 159DtXZJ012079 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1623246936; bh=hcr+Eu7cFxCqa4ADxNq7akOPtlDexVyc+1o3NpX/RWk=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=jvFWkPSptMfJTrrkoeGd30Rren9o4EvU5Fc+6JP/Ylx1OL7VnGZ32aWNt++QK7qc6 aUw+FOCCBkgjnOvlcLIqYbsUZIgSzh8r2hN74mkTj7xwSQ2jX0gOhCnlkuNhnvZnCD 6jhnICuVlV1Nm65TFycloc9hwAsn8FM74OtyQkdm0kNli6GlIEI2BCGUyKO0RyDpih YQ433ZPcwXbB6zdPYv2pcOYlGfCox56hOXW4ocPcKNCP6i9WdwQ41GwP1sWttPj51+ AsHz/3satssGfMLy0ijEyalQ/CzxwvkcfzlLbZ6I+/2I81cZUC+L4Zv+421dCK4rag shfyaIUtop84A== X-Nifty-SrcIP: [209.85.215.179] Received: by mail-pg1-f179.google.com with SMTP id o9so16697526pgd.2; Wed, 09 Jun 2021 06:55:35 -0700 (PDT) X-Gm-Message-State: AOAM532uNIlIuu0VAcJR7mlhkNGPQzLDIw4nR+9VqQLgf3XcC8oxo4Vy yLv8TfjIQ68GKY2XsApE7Nl2J76x5IsWNxHHpcQ= X-Received: by 2002:a63:6841:: with SMTP id d62mr3995000pgc.7.1623246931360; Wed, 09 Jun 2021 06:55:31 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Masahiro Yamada Date: Wed, 9 Jun 2021 22:54:54 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Makefile: make modules install output To: Julia Lawall Cc: Linux Kbuild mailing list , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 9, 2021 at 7:16 PM Julia Lawall wrote: > > make modules install used to end up with something like > > INSTALL sound/usb/usx2y/snd-usb-usx2y.ko > INSTALL sound/x86/snd-hdmi-lpe-audio.ko > INSTALL sound/xen/snd_xen_front.ko > INSTALL virt/lib/irqbypass.ko > DEPMOD 5.12.0-rc2myfix-00015-gc6f886546cb8 > > From v5.13-rc1, it gives: > > STRIP /lib/modules/5.13.0-rc1myfix/kernel/fs/btrfs/btrfs.ko > STRIP /lib/modules/5.13.0-rc1myfix/kernel/fs/xfs/xfs.ko > STRIP /lib/modules/5.13.0-rc1myfix/kernel/net/mac80211/mac80211.ko > STRIP /lib/modules/5.13.0-rc1myfix/kernel/drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.ko > STRIP /lib/modules/5.13.0-rc1myfix/kernel/drivers/gpu/drm/amd/amdgpu/amdgpu.ko > DEPMOD /lib/modules/5.13.0-rc1myfix > > Is the full path name considered to be an improvement? I think so. It is clear where the files are being installed to. Another motivation was rather to make it aligned with the convention. Kbuild log convention is this form: [ACTION] [DESTINATION] For example, when Kbuild is building kernel/foo.c into kernel/foo.o CC kernel/foo.o is shown. In this case, Kbuild is installing kernel/fs/btrfs/btrfs.ko to /lib/modules/5.13.0-rc1myfix/kernel/fs/btrfs/btrfs.ko So, I think it is more consistent to show the destination rather than the source. > For the names of > the modules, it doesn't much matter, but the DEPMOD line was a convenient > way to get the full kernel name for subsequent rebooting. > > thanks, > julia -- Best Regards Masahiro Yamada