Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp387391ybl; Mon, 12 Aug 2019 18:33:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqy7OEeDLjDu76WmsduLbSD/oP2NmPmXEBdRXst4RR2jT+fpPAopgHc3c319Sox87nG+E4ih X-Received: by 2002:a17:902:28c9:: with SMTP id f67mr35852849plb.19.1565660034266; Mon, 12 Aug 2019 18:33:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565660034; cv=none; d=google.com; s=arc-20160816; b=sSxnLswBvzsh3gMYFkp1H6K8LSjFMJ/4ZJVj1S+hCbAa7kZODjhXw9FsUBXBqMBZ2a +5BnWNmLcmUoGJMuNOU186yyqI60UU/QwOF3MlPB4MdxfqeKrsSz8//Uk5DssNPtHDfQ OqDavJKxMzxA5UE2PSb77QtwyrhJMr9Hh23ZU+0ayCLDF/B+B5Ly4yyoLlWOlu6rBemc bfcs3W72PLDTobAGTonz9rGLIIbaS0/Qd/VayFIjHztjYMuuepqIW4WqxCXXGerjTpgQ yKjtq5sd8yonOukMoWbPSQbrhJwCPfkz8EwOvMW2NJ2VlaR3I7AkfytJJf9mBvAF9Vpz U/cg== 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:dkim-signature:dkim-filter; bh=L2h8Vjy+9Y09mIZApsXwsIOGlDr1pBAU/zwW1xEP40g=; b=v2InzHXVnHWXXBUnMe69gcCGwBqbPoL/fSVGNejBo7dcdvtFFEY5fz3BFI+WfhC6pN XuGUC04oan2Hr2YXvup/S3ljjMHixzx8OaG5XBL8yLMVGuJLispp/vPhxdUpEov/iKT7 gdz9FsEa1IXvDbNIK5jaUkez2267Aqzz+Zbi64JIsU6b8ajIYezjXf/jNMzRkgNafFun /Ts1IXOoZvfIu37qhl1cjknJ4VSZ2ndRer9V9L0vTn0OYWP30ogVtphUutGVAHFau9Q4 RFNo6OJF5pTQUHr4pgrkXLfopbSoLPqwURj0LJn+D6r6y6JBhicnaIWdKoz0I7Pk8jrv kxQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b="FV0r+t/x"; 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 h11si58618302plr.34.2019.08.12.18.33.36; Mon, 12 Aug 2019 18:33:54 -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; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b="FV0r+t/x"; 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 S1726721AbfHMBHN (ORCPT + 99 others); Mon, 12 Aug 2019 21:07:13 -0400 Received: from conssluserg-01.nifty.com ([210.131.2.80]:52583 "EHLO conssluserg-01.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726200AbfHMBHN (ORCPT ); Mon, 12 Aug 2019 21:07:13 -0400 Received: from mail-vk1-f179.google.com (mail-vk1-f179.google.com [209.85.221.179]) (authenticated) by conssluserg-01.nifty.com with ESMTP id x7D176Mn007003; Tue, 13 Aug 2019 10:07:07 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-01.nifty.com x7D176Mn007003 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1565658427; bh=L2h8Vjy+9Y09mIZApsXwsIOGlDr1pBAU/zwW1xEP40g=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=FV0r+t/xoyQLmuz2UDYkscN7ObVMkCWOksWupspNOfLUKXPjN2yEPK6vxvHZmspGY 7WiYNdb090oh5usm/+ZJKRKLOmFEGwQdoNnG4qaBFmJKm/vLVtG6Ecl5VVgEmnwJ2k +bC1ACr0AKSRC+Irjv2kyzfLppI4yk53plPRnJGi/a6IyJkK7b0JqOz+k3qAV6BYcf sztuXX/YGhsCBIY2dF3CaANg0SGd6DQFIWRyBmbYOX89s/pVDLi2nynHGiYxwg52Ex iAgpXrNmu5kBXzmjTWAtTHPf5jw+MLm/FNz35LtmWCLSdO0C/VI3Pu46K+HEc8kFXY MWp2sQwp3qR+A== X-Nifty-SrcIP: [209.85.221.179] Received: by mail-vk1-f179.google.com with SMTP id b64so21132641vke.13; Mon, 12 Aug 2019 18:07:07 -0700 (PDT) X-Gm-Message-State: APjAAAVV+9Ln3Prvs5d5dO3KY2PuEGWj3I1d9X09Qq1vVgJM1D3KasEy q+qfJ5vE563yqPA81OTb27U7RwBEz3ifs5ivHdw= X-Received: by 2002:a1f:93cd:: with SMTP id v196mr7101948vkd.84.1565658425832; Mon, 12 Aug 2019 18:07:05 -0700 (PDT) MIME-Version: 1.0 References: <20190809002104.18599-1-stancheff@cray.com> <20190809002104.18599-2-stancheff@cray.com> In-Reply-To: From: Masahiro Yamada Date: Tue, 13 Aug 2019 10:06:29 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/1] kbuild: recursive build of external kernel modules To: Shaun Tancheff 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 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/ Thanks. -- Best Regards Masahiro Yamada