From patchwork Sat Aug 10 15:53:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 171025 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp696466ily; Sat, 10 Aug 2019 08:54:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqxavcvlugu671VpKMXLkFRdwV/x9AonzW0+S3ctb7kbyXjUHpAQpPbTr57qxRAcVDMJTUUu X-Received: by 2002:a17:90a:1ae1:: with SMTP id p88mr14629467pjp.26.1565452491519; Sat, 10 Aug 2019 08:54:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565452491; cv=none; d=google.com; s=arc-20160816; b=Tsheh9DmYjxdENRWBPB2fm4jklxtP36Hv5IKtSTay0T6BReWIOF7Nr4v9i8E/29lJq ZsJ8uMQ/EwfBE+wP2ZWMF2jjJcYg1/Vmd+SVc117mNlTCCLDCRWlqA3nVrLNo/P/O1hS tbFedSioeSHxGTXa9bH79XrcjA2FtTJIcjdyWt1ctEVK+RvPIaeRZtp3nlZRukWtW9FH X7ImCmDZQcXH6NnmZbr2QqLB8+rn4jkguZGLXr609Sgql7lasmM0o2OZSlwwzAnzJbW4 8t6VUYUNUYpYIq2a4wlraUOlJQ7alDkhh5yixahalz361FgDTROlTEHeAgfxK/8IRdGK qIdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=onIwv+EPa0vqTk5X0M3CLvg0Iqo4Rrn5M+XnMa8Ijkk=; b=RAy+usSWG+na7i+M61NXuEE2wpqOz8kTSBGVta3Xtz4h3ZU72y0Sxgyva2gINbPQ8m mXYxL7w+oF/0zBImm08bfN1ubXBVSTzvKEEoMuempyEpDxCVUUoSBvZvjEXpVzk4Xd7I GY07aaidulAVnWuMIW3diZa3u0HtrFkGlT0w964y6znzjkyA9nLLMS4bYUBqRhgwwIzR WIndt+6ytAgrXgZUb4q/MRVhEgbyT2LvO4vazm6llm7Wvph/lPzdh+BwtA0c09n6uDWZ dpEFOkFfNrBD9z/wh2UTwM5vQL+MN9sH10SHJyB2XZoR660Xexdrm3kvnP+2yPoKeHFu YppQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=VtnhKUHG; 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 ch18si53531726plb.76.2019.08.10.08.54.51; Sat, 10 Aug 2019 08:54:51 -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=VtnhKUHG; 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 S1726496AbfHJPyu (ORCPT + 28 others); Sat, 10 Aug 2019 11:54:50 -0400 Received: from conuserg-11.nifty.com ([210.131.2.78]:34528 "EHLO conuserg-11.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726407AbfHJPyo (ORCPT ); Sat, 10 Aug 2019 11:54:44 -0400 Received: from grover.flets-west.jp (softbank126125143222.bbtec.net [126.125.143.222]) (authenticated) by conuserg-11.nifty.com with ESMTP id x7AFrG91009713; Sun, 11 Aug 2019 00:53:22 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-11.nifty.com x7AFrG91009713 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1565452402; bh=onIwv+EPa0vqTk5X0M3CLvg0Iqo4Rrn5M+XnMa8Ijkk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VtnhKUHGBT4dINwbjKo6kNYQrELeiwUJgxX5AFtXBdxP37BTxsEekORBVFduJoqm3 woCF/1iagd3EWNMT9APsRPNF7CvcETCsBQ5LXiemYsUBYqWJy8p+H3bTzWs5FmyZEs /aAQJQWl0gdSRyOdrnjRveH6BUImYRiUp4A4qEfxFqsWEA3zUvMfp7BCG8VAQqnOuV V0jeVA2NSz0FPanqvxmAzyk/8CIN4lQRNS8muWfxMI4VwoYzoEfGwR+nkrNjfZim20 YhUFjERsgcWrVjCiR3YG9W/GaGYTytoxSB+dJc2J2uBF3D2ISVpyAHwyE5rUaDCuVP vEC+FnK3fxOZw== X-Nifty-SrcIP: [126.125.143.222] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Christoph Hellwig , Sam Ravnborg , Masahiro Yamada , Michal Marek , linux-kernel@vger.kernel.org Subject: [PATCH 06/11] kbuild: do not descend to ./Kbuild when cleaning Date: Sun, 11 Aug 2019 00:53:02 +0900 Message-Id: <20190810155307.29322-7-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190810155307.29322-1-yamada.masahiro@socionext.com> References: <20190810155307.29322-1-yamada.masahiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 'make clean' descends into ./Kbuild, but does not clean anything since everything is added to no-clean-files. There is no need to descend to ./Kbuild in the first place. We can drop the no-clean-files assignment. Signed-off-by: Masahiro Yamada --- Kbuild | 3 --- Makefile | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) -- 2.17.1 diff --git a/Kbuild b/Kbuild index d40366e967d7..3109ac786e76 100644 --- a/Kbuild +++ b/Kbuild @@ -57,6 +57,3 @@ quiet_cmd_atomics = CALL $< old-atomics: scripts/atomic/check-atomics.sh FORCE $(call cmd,atomics) - -# Keep these three files during make clean -no-clean-files := $(bounds-file) $(offsets-file) $(timeconst-file) diff --git a/Makefile b/Makefile index 86afce391582..3c186f59f152 100644 --- a/Makefile +++ b/Makefile @@ -1396,7 +1396,7 @@ DISTCLEAN_FILES += tags TAGS cscope* GPATH GTAGS GRTAGS GSYMS # clean: rm-dirs := $(CLEAN_DIRS) clean: rm-files := $(CLEAN_FILES) -clean-dirs := $(addprefix _clean_, . $(vmlinux-alldirs)) +clean-dirs := $(addprefix _clean_, $(vmlinux-alldirs)) PHONY += $(clean-dirs) clean archclean vmlinuxclean $(clean-dirs):