Message ID | 20231203101418.1910661-1-masahiroy@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp2166212vqy; Sun, 3 Dec 2023 02:14:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IG3VA/3zRDTUP/oAmzwqki5bep2F3+7X/hXGZiinnnptK5GuCG4hgdHcvqlYLDAxX/10nSY X-Received: by 2002:a05:6870:8286:b0:1fb:29af:7359 with SMTP id q6-20020a056870828600b001fb29af7359mr1041761oae.81.1701598472874; Sun, 03 Dec 2023 02:14:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701598472; cv=none; d=google.com; s=arc-20160816; b=BolLcpMJoDqLVOQiPzd/MIUbz+pN8gO+Cq82K2Tx3foo9YrK3FeMsILitnNkYnsEFP iP64dAnpiZCRCeuaODNy/MJGvGivI4ylcRlyFCSgO2svOGkVYl7vUVHPGbhcL0gs5luo VNSVdz+JXwpSjMl3141GhwCsPI2F7u4B42MtF9oVdeqBQIZik0hgvvXD3Koy4EiOu+O6 DCsRPeTNmCrYcJWC8pIq0BjewsssxcHIPqQ1kWIqm5MlXDfCmAZkrcj4UAqi+BHWvrmO cO9F5EzeTlG59st7hABx5ZjT5WhCjsmOTM5+Zm5pYqV0UQfb5XDwMc6rWRmPzlkAF9A+ tudQ== 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=mZdNTgEvVQiRrU94fCcloeoOsx6PsqI7WsEkfz+N1Jk=; fh=WyxzlcO8rGAZ+hGJHoi2XdceA7Yuq8z/5jb/G+UYyjw=; b=W1ZtGNM9urRlGQkAgFN2+PNnjzs/IcCFA3NLJqdYMUP5wN5tFn1PZq7vM/lRtAdpuG uhcTjPx1L04fUYeAgvicjTUuWY8LPszxOKdHvfzOeXt31iSL2iUm6cbYJPk8/RVuPNTT A+RWWqL8neqaF1bHSzahU+4jldubCC+/Oy3BmntytHH9E67Ih071rbxamZ97Twszg/Xi vaTrsbDuK2h4Lv/vkknfDURjyx7cHPaJ5TdrhDOnyh1Un243s8APnm6LlVsEgggqgejX o54Bo1LSkWeXEwe2jLyeHbCW7mCIDmetCyvQxNnq4yBlrLDZ0gfCDWf6ORfhOF3rNY7b YKsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NmJ1avpb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id x13-20020a63fe4d000000b005c1cd1ba05csi5867280pgj.240.2023.12.03.02.14.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Dec 2023 02:14:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NmJ1avpb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 6AAA58065804; Sun, 3 Dec 2023 02:14:29 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230256AbjLCKOV (ORCPT <rfc822;pwkd43@gmail.com> + 99 others); Sun, 3 Dec 2023 05:14:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229450AbjLCKOU (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 3 Dec 2023 05:14:20 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C7371F3 for <linux-kernel@vger.kernel.org>; Sun, 3 Dec 2023 02:14:25 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 68FB5C433C7; Sun, 3 Dec 2023 10:14:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701598465; bh=SGw12HvAh6TeQkpp7+yNIE4rnwWaTLqwCH5qBGJLnPo=; h=From:To:Cc:Subject:Date:From; b=NmJ1avpbXG/IdCjt2tV9705sdIZXNYxaRNYb0NrLDWYjC2HRPhwatyCll0V5oRvIC LRcqvi1UI1OApssEtcpQgzI5myhiaDRfGWy9iHvusH5/eFZFyM8WP21OerrNKTtflB k1edi6XjHZFpY4Rh3JzXO7EFua+u/OtTZeTowPwFn5mXQFSkTfHDLGmmjQCkN2Zriz jGLr344AvH2DLlh9vvhYOWDrKZIZeDNCOcrWtOCPrC6788/UTmfAqP+ptVgZDpcYD9 scHM14/olcPuel7rjRcG4MlezAJszmFQBcTgGVGSqtmpA0bLOKUXduV8agxgo3ALUk tb3irtm0FktYQ== From: Masahiro Yamada <masahiroy@kernel.org> To: linux-kbuild@vger.kernel.org Cc: Masahiro Yamada <masahiroy@kernel.org>, "David S. Miller" <davem@davemloft.net>, linux-kernel@vger.kernel.org, sparclinux@vger.kernel.org Subject: [PATCH 1/3] sparc: vdso: clean up build artifacts in arch/sparc/vdso/ Date: Sun, 3 Dec 2023 19:14:16 +0900 Message-Id: <20231203101418.1910661-1-masahiroy@kernel.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Sun, 03 Dec 2023 02:14:29 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784255320127173955 X-GMAIL-MSGID: 1784255320127173955 |
Series |
[1/3] sparc: vdso: clean up build artifacts in arch/sparc/vdso/
|
|
Commit Message
Masahiro Yamada
Dec. 3, 2023, 10:14 a.m. UTC
Currently, vdso-image-*.c, vdso*.so, vdso*.so.dbg are not cleaned
because 'make clean' does not include include/config/auto.conf,
resulting in $(vdso_img-y) being empty.
Add the build artifacts to 'targets' unconditionally.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
---
arch/sparc/vdso/Makefile | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
Comments
Hi Masahiro. On Sun, Dec 03, 2023 at 07:14:16PM +0900, Masahiro Yamada wrote: > Currently, vdso-image-*.c, vdso*.so, vdso*.so.dbg are not cleaned > because 'make clean' does not include include/config/auto.conf, > resulting in $(vdso_img-y) being empty. > > Add the build artifacts to 'targets' unconditionally. > > Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Nice small fix/clean-ups. This and the following two patches are: Acked-by: Sam Ravnborg <sam@ravnborg.org> > --- > > arch/sparc/vdso/Makefile | 5 +---- > 1 file changed, 1 insertion(+), 4 deletions(-) > > diff --git a/arch/sparc/vdso/Makefile b/arch/sparc/vdso/Makefile > index d08c3a0443f3..eb52d0666ffc 100644 > --- a/arch/sparc/vdso/Makefile > +++ b/arch/sparc/vdso/Makefile > @@ -24,11 +24,8 @@ targets += vdso.lds $(vobjs-y) > > # Build the vDSO image C files and link them in. > vdso_img_objs := $(vdso_img-y:%=vdso-image-%.o) > -vdso_img_cfiles := $(vdso_img-y:%=vdso-image-%.c) > -vdso_img_sodbg := $(vdso_img-y:%=vdso%.so.dbg) > obj-y += $(vdso_img_objs) > -targets += $(vdso_img_cfiles) > -targets += $(vdso_img_sodbg) $(vdso_img-y:%=vdso%.so) > +targets += $(foreach x, 32 64, vdso-image-$(x).c vdso$(x).so vdso$(x).so.dbg) > > CPPFLAGS_vdso.lds += -P -C > > -- > 2.40.1 >
On Mon, Dec 4, 2023 at 4:21 AM Sam Ravnborg <sam@ravnborg.org> wrote: > > Hi Masahiro. > > On Sun, Dec 03, 2023 at 07:14:16PM +0900, Masahiro Yamada wrote: > > Currently, vdso-image-*.c, vdso*.so, vdso*.so.dbg are not cleaned > > because 'make clean' does not include include/config/auto.conf, > > resulting in $(vdso_img-y) being empty. > > > > Add the build artifacts to 'targets' unconditionally. > > > > Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> > > Nice small fix/clean-ups. > > This and the following two patches are: > Acked-by: Sam Ravnborg <sam@ravnborg.org> > > > --- > > Series, applied to linux-kbuild.
diff --git a/arch/sparc/vdso/Makefile b/arch/sparc/vdso/Makefile index d08c3a0443f3..eb52d0666ffc 100644 --- a/arch/sparc/vdso/Makefile +++ b/arch/sparc/vdso/Makefile @@ -24,11 +24,8 @@ targets += vdso.lds $(vobjs-y) # Build the vDSO image C files and link them in. vdso_img_objs := $(vdso_img-y:%=vdso-image-%.o) -vdso_img_cfiles := $(vdso_img-y:%=vdso-image-%.c) -vdso_img_sodbg := $(vdso_img-y:%=vdso%.so.dbg) obj-y += $(vdso_img_objs) -targets += $(vdso_img_cfiles) -targets += $(vdso_img_sodbg) $(vdso_img-y:%=vdso%.so) +targets += $(foreach x, 32 64, vdso-image-$(x).c vdso$(x).so vdso$(x).so.dbg) CPPFLAGS_vdso.lds += -P -C