Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp9237217rwl; Sat, 31 Dec 2022 22:53:30 -0800 (PST) X-Google-Smtp-Source: AMrXdXtZDP6KmxflnHNj0MKIe1ap/N1kdOWIYGjbYCB1RDa4CQt5c7NqLfxOvOpOL7f1r5c9DeDk X-Received: by 2002:a17:906:5611:b0:7c1:4e5d:d8a0 with SMTP id f17-20020a170906561100b007c14e5dd8a0mr35670222ejq.76.1672556010810; Sat, 31 Dec 2022 22:53:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672556010; cv=none; d=google.com; s=arc-20160816; b=xCgkgWusnaRQh+3sNTC5S8CwnaZhKLNwGVUg8VTuzSYCQp87hjB3Jx6lwOnPpcruAq HtZPOZVmXf1RHTCXCaLa8hzW78sL03s54aForcie+zRYWtaWI9Hzfq6KaQP20Zn6JgZG XGQBcWiY9qYaL+Zhq3o5JQW9nXLmrgIlrjU7OFnD5Rfp7L8+K9twojQtLLvJsSxj2xJ/ LNBYz1/8HSMj9Gqs6OZY6eUHTfoG59K81AdSc9S9lBqBdKb6F5C+/X9QVaBmuxDATqhO gay4D0714iVhe3j+WojWaquje/6uILkJ15FHJe8YZyl3YcoUHjUT53uxMtFz4R58kTd0 Djew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=c6dYhJum3TSNSy+yIyzY7dGymOHF7vz0cps/XexB8bQ=; b=AIAQ2i44pk4AT1a5Q5Tz1MZN+wZnRwbysjEGA5kl9ZdvTJ1xfXbR5N8GGYLiLLoNPJ nN+1lso1fCgZocKDZUc/94k9KUMoEXb9iWDhKuS63O5ulMHvgwvTPX9l8CIUvh+EvG/+ J3WDA8bikdlzNlQ3guiw1/0XkRvaQAGY6OZtLVp9gzmzVTk3GNIhPqAbPAys2bxrEuht EkiVx0SxXpv01Ny66lKh6oq6OJp5t8jOjENVtXkkHTgfkDLCHjuYcUldNwaP6wX46tUh wdkRzpD/blDhoM0vOoA7Tb3/Qjm3bdh1P3wd9MkAcLS8QDkR0SuIFcVYJfV++H7rbHHz 5Uzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=G7lksRvy; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id xc2-20020a170907074200b007ae30b550e5si21952522ejb.854.2022.12.31.22.53.16; Sat, 31 Dec 2022 22:53:30 -0800 (PST) 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=@kernel.org header.s=k20201202 header.b=G7lksRvy; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231286AbjAAGHZ (ORCPT + 60 others); Sun, 1 Jan 2023 01:07:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56088 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229446AbjAAGHY (ORCPT ); Sun, 1 Jan 2023 01:07:24 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F31F063A8; Sat, 31 Dec 2022 22:07:22 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 985FCB8091A; Sun, 1 Jan 2023 06:07:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3DD58C433EF; Sun, 1 Jan 2023 06:07:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672553240; bh=9xpDRRiUqx+Q+CCLWj7hfItw6akiNPSCwfmhAiX3nDQ=; h=From:To:Cc:Subject:Date:From; b=G7lksRvydhnrDpc+WaKM2/DLI3ZDlRfr+DgGYkgRmOxR4fAIe7rbud98ViQa+gt3p SReE6beKDR/dEYb/RJS/IaxLyT7cMMD6zv3+hOQHfv1b2WsXJcDoPzc/WPUBBC2a91 BUqUYhl1HMivM34EU0yr4Gvv4kiN5qjzmt7a1cZT5Amz/1kMLv7hwJKM8bPWug8URU DTW83RKm21yGDRz7l2nE8O/BSNV1laG9MQoZ38cuuyy0uYykrYz5nx4yFtG2JxdCle w8bO5mv98vXR1L+sCPCqvQnB0GSHa+uSVHItogJ795KNwVi90x7R1ZgH9hW4SPo6Mf RCPDQHeWfbKnQ== From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Masahiro Yamada , Marc Kleine-Budde , Luis Chamberlain , Nathan Chancellor , Nick Desaulniers , Nicolas Schier Subject: [PATCH] kbuild: fix single *.ko build Date: Sun, 1 Jan 2023 15:07:09 +0900 Message-Id: <20230101060709.208512-1-masahiroy@kernel.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 The single *.ko build is broken since commit f65a486821cf ("kbuild: change module.order to list *.o instead of *.ko"). Fixes: f65a486821cf ("kbuild: change module.order to list *.o instead of *.ko") Reported-by: Marc Kleine-Budde Signed-off-by: Masahiro Yamada --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7cfbf3d15466..a0536633cdf6 100644 --- a/Makefile +++ b/Makefile @@ -1989,7 +1989,7 @@ $(single-no-ko): $(build-dir) # Remove MODORDER when done because it is not the real one. PHONY += single_modules single_modules: $(single-no-ko) modules_prepare - $(Q){ $(foreach m, $(single-ko), echo $(extmod_prefix)$m;) } > $(MODORDER) + $(Q){ $(foreach m, $(single-ko), echo $(extmod_prefix)$(m:%.ko=%.o);) } > $(MODORDER) $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modpost ifneq ($(KBUILD_MODPOST_NOFINAL),1) $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modfinal -- 2.34.1