Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1190653rwi; Fri, 14 Oct 2022 14:28:15 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7pTqcA5KzwFSR05+E9XoTuRmSdSMOFO4QaIi9vyzYPU1ylxK4rmN+F+qN8K7snup4FDhRi X-Received: by 2002:a05:6402:1604:b0:458:b2b7:bd5a with SMTP id f4-20020a056402160400b00458b2b7bd5amr5649080edv.73.1665782895523; Fri, 14 Oct 2022 14:28:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665782895; cv=none; d=google.com; s=arc-20160816; b=to3GdKF0wdVpRgTERZ/byr84+EJ9iX1/J8fMj/RgPcozP1eizz2ADeGggWHOyBmUcU 8De2OaVp29PI+0Ro0VkIPR5kFkcyLLPc3l3aCLMg5Mvcb5NBQxTItzCLeVw/D6iFfrKm Kyl+CIZDEhlmG7JqgAHYnGgnPN8I44S2maSir89Djv9fswMO3HkH6hW+0Tlewf0g/WKG 6RRJAt0WN/PkGu5nQI9i9A3ortK/Rl+CJizn96sg+WcWe5JfrKuopQ5G/7QCOrxkGkdS TpG9fRybO6jcfbIsXDCKUu3wfAOXRyY218ABHe4hDrD5rq5gUzIyWDrp3LGeqAe1U8j3 ybSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:reply-to:message-id:subject:cc:to:from:date :dkim-signature:dkim-signature; bh=+TCaQ540EPlXNGS4Chc6NGWohA+QlBQOvH68/+BJkiI=; b=NDQpL2R2Ix5iXvAZN5Pl3WwpAcgR82VLQsJYlR+z2SD00tj1xJmST/G5d4D/KHWfu6 OXnHI0aSyYzlxwZG5vjk5ZbT2GYRgAvVuk2vOOyjyj9gyzV5WGejm16ecg8ugnvNmpPM hAjx0lRwoV+RA49JQmgchrGjyj1K43c6fjt7UDheQrjvRubJ9NFCVEGnRBQMCWeFoXew wuRMFQGm2NJoKWfofXsDEtFY0aTik3HtUW/Py1PbMC2dfXxW+BNL79Zn4pbgbQGklgqZ IF/SPsCX/uyddbHxP7iA82ly8Yp33ZS6y9mXGadYxMCUEevx7UnL3BhZFL/DSwX+gFwG PlWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=m50QE4Yr; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b=LQpPIxNT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r8-20020a170906280800b00782e437a368si2671029ejc.160.2022.10.14.14.27.49; Fri, 14 Oct 2022 14:28:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=m50QE4Yr; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b=LQpPIxNT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229811AbiJNVTA (ORCPT + 99 others); Fri, 14 Oct 2022 17:19:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38780 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229776AbiJNVS6 (ORCPT ); Fri, 14 Oct 2022 17:18:58 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 76A581D0658; Fri, 14 Oct 2022 14:18:56 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 0D387221B9; Fri, 14 Oct 2022 21:18:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1665782335; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=+TCaQ540EPlXNGS4Chc6NGWohA+QlBQOvH68/+BJkiI=; b=m50QE4YrHygzGZ2j/DIhUrQmESWB6sam+JX02SMDHdGwaov1wayXLw7lWSxkkCE59JcS9G NoMGqF+GNd8UDta50o3dIjeJDBcs/NwPhyP1xI3ompnAHKqM2FzFRf7t0IoM1RVLpH1h7e oBo3RUE37sw8DRwkoE2WbLYUMToonUI= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1665782335; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=+TCaQ540EPlXNGS4Chc6NGWohA+QlBQOvH68/+BJkiI=; b=LQpPIxNTgWdJf1BCjIbWMx3jzZE8usWU93KNFlfC3D7y301yPbx+QteyRoW2CdhFmgMYzC EzgDpZr0zFN2/KDQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id D247113A4A; Fri, 14 Oct 2022 21:18:54 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id HzukMT7SSWPafQAAMHmgww (envelope-from ); Fri, 14 Oct 2022 21:18:54 +0000 Date: Fri, 14 Oct 2022 23:18:47 +0200 From: David Sterba To: Masahiro Yamada Cc: linux-kbuild@vger.kernel.org, Michal Marek , Nick Desaulniers , linux-kernel@vger.kernel.org Subject: Re: [PATCH] kbuild: fix single directory build Message-ID: <20221014211847.GL13389@suse.cz> Reply-To: dsterba@suse.cz References: <20221014201811.1118103-1-masahiroy@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221014201811.1118103-1-masahiroy@kernel.org> User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_SOFTFAIL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Oct 15, 2022 at 05:18:11AM +0900, Masahiro Yamada wrote: > Commit f110e5a250e3 ("kbuild: refactor single builds of *.ko") was wrong. > > KBUILD_MODULES _is_ needed for single builds. > > Otherwise, "make foo/bar/baz/" does not build module objects at all. > > Fixes: f110e5a250e3 ("kbuild: refactor single builds of *.ko") > Reported-by: David Sterba > Signed-off-by: Masahiro Yamada Now it works, thanks. Tested-by: David Sterba