From nobody Fri Apr 19 14:01:17 2024 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7353AC433EF for ; Mon, 23 May 2022 18:45:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242195AbiEWSo6 (ORCPT ); Mon, 23 May 2022 14:44:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50592 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243931AbiEWSo3 (ORCPT ); Mon, 23 May 2022 14:44:29 -0400 Received: from condef-04.nifty.com (condef-04.nifty.com [202.248.20.69]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 86E97A005B; Mon, 23 May 2022 11:27:50 -0700 (PDT) Received: from conuserg-08.nifty.com ([10.126.8.71])by condef-04.nifty.com with ESMTP id 24NIHJs9012196; Tue, 24 May 2022 03:17:19 +0900 Received: from grover.sesame (133-32-177-133.west.xps.vectant.ne.jp [133.32.177.133]) (authenticated) by conuserg-08.nifty.com with ESMTP id 24NIFrRV027961; Tue, 24 May 2022 03:15:53 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com 24NIFrRV027961 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1653329753; bh=TFguQGsfBK4SLEoyVpZA3IDbS9toCuPJd055UxlIv6c=; h=From:To:Cc:Subject:Date:From; b=rq3y5P4Hn2OX7VgbbiOSIra6Ou9TkSO4f6p4mMJM+p4Mi0WJdutYUQzNRQISYtx7X /fZo8gNxfUZyrc8yGnpI/dEwvhiuJPd3/lXBdnpSAl/sja1S5A8wbuB7rTkIXZaIIr edPhoSD7YmWgIwvdhvdCFIUAHNwqq6brNe8BI88QgDaMKCzZsyJKoNLVvuWUGSSxJC pfniO6OBmtMRm4PWgR5gkMKo0F7or1EbgD2YbO2Usn3nZ0G+h8y/Bfu6xvjRrpXFjF +gnk90c/7xrBQxhwqofgUh2pkLT/J0trYQCp/HY6bkHkz/6AVpeolaeKNvVtl+UMb/ lRDy4nxc+HS5w== X-Nifty-SrcIP: [133.32.177.133] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Masahiro Yamada , Michal Marek , Nick Desaulniers Subject: [PATCH] kbuild: replace $(if A,A,B) with $(or A,B) in scripts/Makefile.modpost Date: Tue, 24 May 2022 03:15:03 +0900 Message-Id: <20220523181503.1007987-1-masahiroy@kernel.org> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Similar cleanup to commit 5c8166419acf ("kbuild: replace $(if A,A,B) with $(or A,B)"). Signed-off-by: Masahiro Yamada Reviewed-by: Nick Desaulniers --- scripts/Makefile.modpost | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Makefile.modpost b/scripts/Makefile.modpost index 7c3899182a4a..911606496341 100644 --- a/scripts/Makefile.modpost +++ b/scripts/Makefile.modpost @@ -84,7 +84,7 @@ obj :=3D $(KBUILD_EXTMOD) src :=3D $(obj) =20 # Include the module's Makefile to find KBUILD_EXTRA_SYMBOLS -include $(if $(wildcard $(src)/Kbuild), $(src)/Kbuild, $(src)/Makefile) +include $(or $(wildcard $(src)/Kbuild), $(src)/Makefile) =20 # modpost option for external modules MODPOST +=3D -e --=20 2.32.0