From nobody Wed May 8 20:11:07 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1599162519; cv=none; d=zohomail.com; s=zohoarc; b=BNNU5iufZ9JvkA67PrhgFUqkj6G8wRNfEoGONipINaU+VKMiWanOE2deIS/IMMvkZnAdfJOMIgL+bapzHK1VbYc98qk5kHb2cL9Te2U3tzf9+s0anbEUm8fOwgLqrHxRTOcJJJbnBpCDaRPhkaCMgXmQeIST9WoU7Wu8DhMIUAI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1599162519; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=ajU1HZO89sDsl8EOgHV98j9hwhYRWh60wGcuefT6ehM=; b=n9asjpEnVfjZPT+jKWwftKcJTse23oWiVFvBOmw1Y7CFjQ7O32zPpSw6gdv8Cp25nNbM81Ja2nnON3shlTQHe6LlhAUQeHhsxdDsAUO+33qKrRpsQAI8+QHfATQRwkP08QIyNzFyzzuZhafjYNV7x5mai5IF3ztP1JcCJKOUvR0= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1599162519551211.11601852806598; Thu, 3 Sep 2020 12:48:39 -0700 (PDT) Received: from localhost ([::1]:50432 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kDvDq-0001wV-Ow for importer@patchew.org; Thu, 03 Sep 2020 15:48:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33614) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kDvDB-000162-Eu for qemu-devel@nongnu.org; Thu, 03 Sep 2020 15:47:57 -0400 Received: from us-smtp-delivery-44.mimecast.com ([207.211.30.44]:39143) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1kDvD9-0003pR-VC for qemu-devel@nongnu.org; Thu, 03 Sep 2020 15:47:57 -0400 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-129-aoaHkuNWM2KUM6NzmYmFpg-1; Thu, 03 Sep 2020 15:47:51 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 4A409185A0C2; Thu, 3 Sep 2020 19:47:50 +0000 (UTC) Received: from bahia.lan (ovpn-112-6.ams2.redhat.com [10.36.112.6]) by smtp.corp.redhat.com (Postfix) with ESMTP id 96C295D9CC; Thu, 3 Sep 2020 19:47:49 +0000 (UTC) X-MC-Unique: aoaHkuNWM2KUM6NzmYmFpg-1 Subject: [PATCH 1/2] Makefile: Drop extra phony cscope From: Greg Kurz To: qemu-devel@nongnu.org Date: Thu, 03 Sep 2020 21:47:48 +0200 Message-ID: <159916246865.691541.16619858522304817323.stgit@bahia.lan> In-Reply-To: <159916226258.691541.13056254320330610953.stgit@bahia.lan> References: <159916226258.691541.13056254320330610953.stgit@bahia.lan> User-Agent: StGit/0.21 MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=groug@kaod.org X-Mimecast-Spam-Score: 0.001 X-Mimecast-Originator: kaod.org Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: softfail client-ip=207.211.30.44; envelope-from=groug@kaod.org; helo=us-smtp-delivery-44.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/03 15:47:54 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -11 X-Spam_score: -1.2 X-Spam_bar: - X-Spam_report: (-1.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paolo Bonzini , Laurent Vivier Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Type: text/plain; charset="utf-8" Commit d79864058a64 added a dedicated phony line for cscope. Signed-off-by: Greg Kurz Reviewed-by: Laurent Vivier --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ed354c43b0ba..a9d3e2c4d375 100644 --- a/Makefile +++ b/Makefile @@ -127,7 +127,7 @@ generated-files-y +=3D .git-submodule-status Makefile: ; configure: ; =20 -.PHONY: all clean cscope distclean install \ +.PHONY: all clean distclean install \ recurse-all dist msi FORCE =20 $(call set-vpath, $(SRC_PATH)) From nobody Wed May 8 20:11:07 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1599162605; cv=none; d=zohomail.com; s=zohoarc; b=gMGWLtq9g1KeM10svFV09JKnDtfc2Ykm5O8sq8sQO27y6rwDH6Np43ikB7URH2z1GauShS2hb7d0BZrDECQdZ7ZQopAvdAF8OS4sM/S9NBu84VJCWKJ42vAQS/5V8KYKI/ij2vkVyj4aHN+m6TaKMwjs2z8fKjWhJJH6PCmSHt8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1599162605; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=H4dyPadPaPWF4PTIVdZr37Uxi+3XCEQo0UDHWg7TEm8=; b=HJ+YjML2a+cUU5FMuJeTcTuMATjIomdi5aJLeRlzxpIjfx9NxwhrvOkIxoaGw2GBC4b1R7XhYN8rotHQIfUH4tKl9d9tKgBDB/khSXXyfSOZYWcIubWYpPlHJo5h2b/mDGjcpX+BFPgU0RuciClvWqxQjx8u+WMlfQGIsSWeuEo= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1599162605372295.5539092728003; Thu, 3 Sep 2020 12:50:05 -0700 (PDT) Received: from localhost ([::1]:54856 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kDvFE-0003lm-JZ for importer@patchew.org; Thu, 03 Sep 2020 15:50:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33654) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kDvDJ-0001Iw-VJ for qemu-devel@nongnu.org; Thu, 03 Sep 2020 15:48:05 -0400 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:44926 helo=us-smtp-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1kDvDI-0003qB-56 for qemu-devel@nongnu.org; Thu, 03 Sep 2020 15:48:05 -0400 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-9-ZoD_CCXxOVC-sY_br1LWow-1; Thu, 03 Sep 2020 15:48:00 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 048C3801AEE; Thu, 3 Sep 2020 19:48:00 +0000 (UTC) Received: from bahia.lan (ovpn-112-6.ams2.redhat.com [10.36.112.6]) by smtp.corp.redhat.com (Postfix) with ESMTP id 812237EEC9; Thu, 3 Sep 2020 19:47:56 +0000 (UTC) X-MC-Unique: ZoD_CCXxOVC-sY_br1LWow-1 Subject: [PATCH 2/2] Makefile: Skip the meson subdir in cscope/TAGS/ctags From: Greg Kurz To: qemu-devel@nongnu.org Date: Thu, 03 Sep 2020 21:47:55 +0200 Message-ID: <159916247553.691541.10480293747685886851.stgit@bahia.lan> In-Reply-To: <159916226258.691541.13056254320330610953.stgit@bahia.lan> References: <159916226258.691541.13056254320330610953.stgit@bahia.lan> User-Agent: StGit/0.21 MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Mimecast-Spam-Score: 0.0 X-Mimecast-Originator: kaod.org Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: softfail client-ip=207.211.31.120; envelope-from=groug@kaod.org; helo=us-smtp-1.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/03 00:24:51 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -11 X-Spam_score: -1.2 X-Spam_bar: - X-Spam_report: (-1.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paolo Bonzini , Laurent Vivier Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Type: text/plain; charset="utf-8" If the meson submodule is present, we don't really want to index its source code. Consolidate the find command in a single place and use it for cscope, ctags and etags. Note that this now causes ctags and etags to also index assembly files, but this is okay since they both have been supporting assembly since 2001 at least. Signed-off-by: Greg Kurz Acked-by: Paolo Bonzini --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index a9d3e2c4d375..34dd9e6c4c4a 100644 --- a/Makefile +++ b/Makefile @@ -229,20 +229,22 @@ distclean: clean ninja-distclean rm -f linux-headers/asm rm -Rf .sdk =20 +find-src-path =3D find "$(SRC_PATH)/" -path "$(SRC_PATH)/meson" -prune -o = -name "*.[chsS]" + .PHONY: ctags ctags: rm -f tags - find "$(SRC_PATH)" -name '*.[hc]' -exec ctags --append {} + + $(find-src-path) -exec ctags --append {} + =20 .PHONY: TAGS TAGS: rm -f TAGS - find "$(SRC_PATH)" -name '*.[hc]' -exec etags --append {} + + $(find-src-path) -exec etags --append {} + =20 .PHONY: cscope cscope: rm -f "$(SRC_PATH)"/cscope.* - find "$(SRC_PATH)/" -name "*.[chsS]" -print | sed -e 's,^\./,,' > "$(SRC_= PATH)/cscope.files" + $(find-src-path) -print | sed -e 's,^\./,,' > "$(SRC_PATH)/cscope.files" cscope -b -i"$(SRC_PATH)/cscope.files" =20 # Needed by "meson install"