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=-7.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 2C9FAC433E0 for ; Tue, 26 May 2020 10:29:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0B22420776 for ; Tue, 26 May 2020 10:29:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1590488982; bh=wYOsRBEin4ew5Y7G5NaSYD1wzeSX/nevyDXV7kPonys=; h=References:In-Reply-To:From:Date:Subject:To:Cc:List-ID:From; b=BQQaaTxIBYyFF0hHRi12zW1GgaldPOMiooGRTYUa5zoANag2aagnX4XcEJ3RbNd6/ ZYxDyyeySzeo3GiKwPTDFDumClieDsEw/v57sIgb8rjhgEKdDpkUoVeHX70zpv0BmZ NZtGAMM8ONLCb8cQ7odyByota/7yPlVcvz7FoqfI= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731820AbgEZK3i (ORCPT ); Tue, 26 May 2020 06:29:38 -0400 Received: from conssluserg-04.nifty.com ([210.131.2.83]:61556 "EHLO conssluserg-04.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731745AbgEZK3i (ORCPT ); Tue, 26 May 2020 06:29:38 -0400 Received: from mail-ua1-f47.google.com (mail-ua1-f47.google.com [209.85.222.47]) (authenticated) by conssluserg-04.nifty.com with ESMTP id 04QAT8UK010919; Tue, 26 May 2020 19:29:09 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-04.nifty.com 04QAT8UK010919 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1590488949; bh=TgsarORKpFM4KluKtI1I3e2MGsvi+5T5qfa8PyqrwgE=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=2VmZVc21WtkEURw7YqCRKsS+aQ5wP/290gQaEBUyZvRL9whhJGcyBZFikvZI/1q+b RmyST7Mte4L/CSawQMEoyr1vz3leUNegbTTM9TAkx4pHKzAotsNwNL9QIkaB7+1QZe I0RUFfhy3z6AjQLzRr7+MaOxDKE07jU9FORkCHKVezOrRZtIskdxwavBTzI8RMPmGT MWU7kOfUYERLjlvJ71Axvo8ApRAE9HvHBcM8MkWwop/M0chr3kV7i21Hd4hiMCOB7j nYvoEgJllb8ubyTpJ/LQrar7hZZElxjkRC92CUEpoWYSnxMSrvhvqtHcYy6p7tUBE8 zTUd2Th6rDLtQ== X-Nifty-SrcIP: [209.85.222.47] Received: by mail-ua1-f47.google.com with SMTP id g7so7019688uap.7; Tue, 26 May 2020 03:29:08 -0700 (PDT) X-Gm-Message-State: AOAM533wHw38IUcbqIhKbeQJnfO3fOLwcPS46bNAmeyLDFZ+aRxxYUum AUzMnzYDNMagYQRCoPw2y97fGOm1Q0aNb4VeAJQ= X-Google-Smtp-Source: ABdhPJwVJOrNGzx/JrucBQ3KP/bPBRzCqbJTBbROp2kKQKvfPkp9E6fyAk3gFfqiKFeErZdIny3cGBFx85HGbu0xsCs= X-Received: by 2002:ab0:3f5:: with SMTP id 108mr214487uau.25.1590488947823; Tue, 26 May 2020 03:29:07 -0700 (PDT) MIME-Version: 1.0 References: <20200521043117.242585-1-masahiroy@kernel.org> In-Reply-To: <20200521043117.242585-1-masahiroy@kernel.org> From: Masahiro Yamada Date: Tue, 26 May 2020 19:28:32 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] kbuild: doc: remove documentation about copying Module.symvers around To: Linux Kbuild mailing list Cc: Jessica Yu , Jonathan Corbet , Michal Marek , "open list:DOCUMENTATION" , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-doc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-doc@vger.kernel.org On Thu, May 21, 2020 at 1:31 PM Masahiro Yamada wrote: > > This is a left-over of commit 39808e451fdf ("kbuild: do not read > $(KBUILD_EXTMOD)/Module.symvers"). > > Kbuild no longer supports this way. > > Signed-off-by: Masahiro Yamada > --- > Applied to linux-kbuild. > Documentation/kbuild/modules.rst | 12 ------------ > 1 file changed, 12 deletions(-) > > diff --git a/Documentation/kbuild/modules.rst b/Documentation/kbuild/modules.rst > index e0b45a257f21..a45cccff467d 100644 > --- a/Documentation/kbuild/modules.rst > +++ b/Documentation/kbuild/modules.rst > @@ -528,18 +528,6 @@ build. > will then do the expected and compile both modules with > full knowledge of symbols from either module. > > - Use an extra Module.symvers file > - When an external module is built, a Module.symvers file > - is generated containing all exported symbols which are > - not defined in the kernel. To get access to symbols > - from bar.ko, copy the Module.symvers file from the > - compilation of bar.ko to the directory where foo.ko is > - built. During the module build, kbuild will read the > - Module.symvers file in the directory of the external > - module, and when the build is finished, a new > - Module.symvers file is created containing the sum of > - all symbols defined and not part of the kernel. > - > Use "make" variable KBUILD_EXTRA_SYMBOLS > If it is impractical to add a top-level kbuild file, > you can assign a space separated list > -- > 2.25.1 > -- Best Regards Masahiro Yamada