From patchwork Sat Apr 22 14:27:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rong Tao X-Patchwork-Id: 13221013 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 1E217C7618E for ; Sat, 22 Apr 2023 14:29:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229820AbjDVO3C (ORCPT ); Sat, 22 Apr 2023 10:29:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229451AbjDVO3B (ORCPT ); Sat, 22 Apr 2023 10:29:01 -0400 Received: from out203-205-251-80.mail.qq.com (out203-205-251-80.mail.qq.com [203.205.251.80]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B7CC618E; Sat, 22 Apr 2023 07:28:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1682173734; bh=lAhvK/6iAVJHwzi6nSMtZhd5mosxwxL4Es7IMJuPvs0=; h=From:To:Cc:Subject:Date; b=gJUYZeAuPoIwNf38RXa7VGZH1NIIK01lNJeAG2Hz1D8bsXXZldDrR4xDAOuP83a3z 6yiRcnX+nGhf/RxryLCCgQk8KIZXo8y30ANBx6IWBev/gHaNzjm9+YuIh3dfafBj9O a7JIz+d47zcs/qrBsLuzEqbwl0ER53N0CkW4/l8Y= Received: from rtoax.. ([111.199.190.121]) by newxmesmtplogicsvrszc5-0.qq.com (NewEsmtp) with SMTP id 6E802069; Sat, 22 Apr 2023 22:27:40 +0800 X-QQ-mid: xmsmtpt1682173660tar8ifj1g Message-ID: X-QQ-XMAILINFO: M/NR0wiIu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open list:COUNTER SUBSYSTEM), linux-kernel@vger.kernel.org (open list) Subject: [PATCH v2] tools/counter: Makefile: Remove lingering 'include' when make clean Date: Sat, 22 Apr 2023 22:27:38 +0800 X-OQ-MSGID: <20230422142739.59948-1-rtoax@foxmail.com> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org From: Rong Tao 'make' create 'include' directory, we should remove it when 'make clean'. Signed-off-by: Rong Tao --- v2: this commit, according to William Breathitt Gray's suggession in v1 v1: https://lore.kernel.org/lkml/tencent_FA682F628E818DD04B96C3E5A94ACFABE206@qq.com/ --- tools/counter/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/counter/Makefile b/tools/counter/Makefile index 8843f0fa6119..a0f4cab71fe5 100644 --- a/tools/counter/Makefile +++ b/tools/counter/Makefile @@ -40,6 +40,7 @@ $(OUTPUT)counter_example: $(COUNTER_EXAMPLE) clean: rm -f $(ALL_PROGRAMS) rm -rf $(OUTPUT)include/linux/counter.h + rmdir -p $(OUTPUT)include/linux find $(or $(OUTPUT),.) -name '*.o' -delete -o -name '\.*.d' -delete install: $(ALL_PROGRAMS)