Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp27432ybl; Tue, 13 Aug 2019 15:11:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqxjG8KgXem4s91HMM4QcZC/4prwMxKpmv4jZ+IjI5UcEqZFnHzoHOAj63lfKuUQoEzARnWC X-Received: by 2002:a17:90a:19c2:: with SMTP id 2mr4062137pjj.13.1565734299859; Tue, 13 Aug 2019 15:11:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565734299; cv=none; d=google.com; s=arc-20160816; b=EoLtV/ps+tnsSp3iaXC0oWZfd8ZSWqiFPa9y2SLMSwAM6eYEzP77lI/R7fNlhjLzAw 3R1RTPVfaft9HRgKUMrXrlZOONq1AwOGQkVx+ENzj829g2K345Q3AgucmKAlzWYo3Rag g2d8XYlfxissX2g0T/AfVm2lGoiVP/NpEXiKD8GqaVrStY8JBy1B504TPKGASn9QYDJY RSEJoNYLVH4HQX6aOwxb50sc4AB6iMDXMyT9ixOxiuQ3TRxCn1rTLMcLejMkmgwdXodI A0brILmGFCXST1HUvZ3a2Wo0jKtxEcawfPTAkweG5T6LACv7Nx/FNW+8g3dBp7GNqC7A Sn1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=iTOCmMlUQI4Ou/DijdBIjbiZAWNFSaKrQKnKPO3XY8o=; b=kmVnoZbXCLxI4EBGiDcO1TFmnqHHwfnlqQs3Ui6ZUqi6iEkSKFsgLPrG9h6ov7o5Ky t8t1EV3F/c2xFaodBdymYDh+9lBD90QI2QBFaDoVl3pZhLlGvCtI4KsLFIXh2rQkVbRo dreMuzgkZvUalak1w7yJqVa2PDLfWFOrXnR/+fqpNznw5alIxw2bFb8Op2GqyDIZiFFN 48kKRY6FpcKh/21tI8qkeB+VSS9TwPv/TFor1GFQmajfK5XrueWpZ2R8hx+TMDmasv0Z mYLeUnDx8QjHvLxu5c6ajNgPqJrUsYCyoEz2NMU9OpAPIfmajyCfh5Sp/4ewkwFAYWYV Rr0g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v19si64273946pff.229.2019.08.13.15.11.23; Tue, 13 Aug 2019 15:11:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727197AbfHMWKZ (ORCPT + 99 others); Tue, 13 Aug 2019 18:10:25 -0400 Received: from mail-vs1-f66.google.com ([209.85.217.66]:45840 "EHLO mail-vs1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726066AbfHMWKY (ORCPT ); Tue, 13 Aug 2019 18:10:24 -0400 Received: by mail-vs1-f66.google.com with SMTP id h28so73240935vsl.12; Tue, 13 Aug 2019 15:10:24 -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=iTOCmMlUQI4Ou/DijdBIjbiZAWNFSaKrQKnKPO3XY8o=; b=TUXM+SPFHY3k76fw8TXX2rhKycxcNktfOaZmgKU4b05jYMOsBfnQTSa6wAGSzcquwc MvbBrJYiikbfk6Dc9dpqyEpUJFj5lG/DH3wT0dcXqDlKjhP2wLCdrS3sLblnypg1S1KW n3wCmdf970WgN5xOMzjyoxG+7MDhsDFKt4MDdqPcEipKympffRDhsN2tYcWFtDqdlZKL Bk+gEc+Ez6IUOcISTpI99hlEKKUpQCNErgLyh4+Qic3zFwvDzXiKc2YGF0iGL7hqjSHM uJ1wk1qJLMr1fhR1VXlxpHjW5NpZiIsm93WCxN5G3zqbFllSpm7sYPIEA/PDZHWCFCLv SWLw== X-Gm-Message-State: APjAAAXsbQjFexFM55EVRuyVPjWaKNGH+pM4JcZ1MwpmJKlxQywOcQa0 mST90q5rX68b1vg3L3etjS9HKzBUEDWCogrkif8= X-Received: by 2002:a67:cd09:: with SMTP id u9mr26551154vsl.222.1565734223495; Tue, 13 Aug 2019 15:10:23 -0700 (PDT) MIME-Version: 1.0 References: <20190809002104.18599-1-stancheff@cray.com> <20190809002104.18599-2-stancheff@cray.com> In-Reply-To: From: Shaun Tancheff Date: Tue, 13 Aug 2019 17:10:12 -0500 Message-ID: Subject: Re: [PATCH 1/1] kbuild: recursive build of external kernel modules To: Masahiro Yamada Cc: Shaun Tancheff , Linux Kbuild mailing list , Joe Lawrence , "James E . J . Bottomley" , Jonathan Corbet , "Martin K . Petersen" , Michal Marek , Shuah Khan , Thomas Renninger , "open list:DOCUMENTATION" , Linux Kernel Mailing List , Linux PM mailing list , linux-scsi Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 12, 2019 at 8:07 PM Masahiro Yamada wrote: > > On Tue, Aug 13, 2019 at 2:34 AM Shaun Tancheff wrote: > > > > On Mon, Aug 12, 2019 at 10:24 AM Masahiro Yamada > > wrote: > > > > > > On Fri, Aug 9, 2019 at 9:21 AM Shaun Tancheff wrote: > > > > > > > > When building a tree of external modules stage 2 fails > > > > silently as the root modules.order is empty. > > > > > > > > Modify the modules.order location to be fixed to the > > > > root when KBUILD_EXTMOD is specified and write all > > > > module paths to the single modules.order file. > > > > > > Could you try v5.3-rc4 please? > > > > So it seems we are using 'subdir-m' but that is now gone? > > > > Is there a recommend pattern for backward compatibility? > > > > Thanks! > > > Please convert > > subdir-m += dir1 > subdir-m += dir2 > > into > > obj-m += dir1/ > obj-m += dir2/ After working through some local quirks everything is working now. Thanks! > > > Thanks. > > -- > Best Regards > Masahiro Yamada