From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0067.outbound.protection.outlook.com [104.47.32.67]) by dpdk.org (Postfix) with ESMTP id 62A57101B for ; Tue, 21 Mar 2017 05:05:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=gwkmP4VOq2w8h+Nx3JnW74+UvE+l/FlVy+PYVtmjtoE=; b=K3cxvm7VfomWdnkV/f7qvD5cDBC+SLVwujJwYNmmRVIDJDejrp8UqrME6KmQg0R985hAtg1PhcItjv683myXgYCY6GD2o3ai23/qAGBl0bAq0TE3m7DgX+q2oAdh4gOcp9xqLhoJCpGBLMO3lvHLZXppK/8m5v5Q2j2LOuXttv8= Authentication-Results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=caviumnetworks.com; Received: from localhost.localdomain (171.76.73.90) by BLUPR0701MB1716.namprd07.prod.outlook.com (10.163.85.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.977.11; Tue, 21 Mar 2017 04:05:35 +0000 Date: Tue, 21 Mar 2017 09:35:22 +0530 From: Jerin Jacob To: "Dumitrescu, Cristian" Cc: "dev@dpdk.org" , "thomas.monjalon@6wind.com" , "Yigit, Ferruh" Message-ID: <20170321040521.n7cemveimnkxs5fz@localhost.localdomain> References: <1489414688-7780-1-git-send-email-jerin.jacob@caviumnetworks.com> <1489920738-16247-1-git-send-email-jerin.jacob@caviumnetworks.com> <3EB4FA525960D640B5BDFFD6A3D89126527625D3@IRSMSX108.ger.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3EB4FA525960D640B5BDFFD6A3D89126527625D3@IRSMSX108.ger.corp.intel.com> User-Agent: NeoMutt/20170306 (1.8.0) X-Originating-IP: [171.76.73.90] X-ClientProxiedBy: BMXPR01CA0012.INDPRD01.PROD.OUTLOOK.COM (10.174.214.150) To BLUPR0701MB1716.namprd07.prod.outlook.com (10.163.85.142) X-MS-Office365-Filtering-Correlation-Id: 0939fe28-688d-41cd-744f-08d4700f8803 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:BLUPR0701MB1716; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1716; 3:Zx9r5u1Smg+MiucDvrdI7jpzrur89uH7V+bop70b2BM+1ws4rFbuHsZUtbxpfObY/w2i+haSQC/dzdoNcqlsIeNh8YhEMBehgjcqMkeMKIPyBC4YVGMKiwVdDXgZQqruacB1IGXr9kafxTegFkZbRGZxbU+wm3Fe+y3ePSjmH7VYuoVeSxuKeK9fMGmnRpElFc8zZsRIXoFlH4utr8rjzkFJoM7Jk+KlgIvhsch3uhAYAYR5u9HWTm5YfV7w5xy98shHjl/TMpK+IddMP4Exgg==; 25:NyYcGB6lW4QxH+8NAKjohZ5pjC0M+FY1thUbydzEJrzRg0zZntLGK9gR5TGYIMgUnl9V2L6H74xVvkvTiCKQw40qk6IkpPaXy60/H411Igl85ozaznEGZ7YBVhxWdWP1vBBkRq+N3+p96cD/S9pBKMG0Q1hMVbQ2AcJI3iFcFxC6CjTw+Vk9Rfu73mXaiBzE2TFk30ZxXRSBe0WsMpg/TBJ2w8dziLJtgzIrW3jdrB9E7nnxwtHNYfMLJLcvl2tSYYe3TYY0nuku7Si0NkaDbA0twLtEkK5R+56A+mUgfkrknQdXMtHFhI4BZcZut0yhS7fr+VKYcBgL3PBL6ktzymm2NeQ234pimKyXu+jTwFyC5ShbLLdWGx1SQ2r9i/3E26iqsZ/Nh4WXTMZ5wXXp/I+3F9fP3i6GZibyU+ekUjiXG6q5FyEMH2SQ584IxdUYoW21ZqVylTNDXzi1KHt9RQ== X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1716; 31:RNrRpkmlX4sL77CwGehBtsp9TcAQnhS+sJVQzIxr/Fo/fcCLBwcAMXCq8/zJYydWcTdMXrS0k/VKMjKpP3eEpLutIB+GlcU2I85VAr4Q7+7rYhsgVh2s9xHGLJGjbpSOL2xbOPuL2wfqsNkNKiN6d/DyC7VHl4wnvy2w+xQQyQv417mYgtmCGin01khmT3Ujc8zy/MdnBPQv7JK2NglIL/JLMr9gZRTp1I1QZs7Wj/IbnLuQz1a1GQ5Qzb3DT5n9KyA6gi/uDn2+sIVPBYSVdQ==; 20:U762oXyf/ntgWwDrzx1GjildoQmfZ0lyAjyW7oBuog1NA6XRmJtpDUrHGF7ZP+8bCywSzjjUj8XJ38riBzgIM+lFqs2uJa91nNJHbEfV/ac1tJwUdLl5eYDayH3aOVa3xCNKuPsTqw4RZ8YY1YfXnfq6hEV3cOoy7yWXgAxvpl1Q3IlHBdb25PcL5KhBufd0QbQxSCdUcE9Al0NSWzTNw2gVCq6B/l6vXoybtMGMLUHg6nZRu8XVjvSKkTQFT8r9ydP/7iHuBbC5e95CB7ODKcxvTvMRWB6JoWLWO5ZomQnXEqYkXmmBeBPgy3BPa70UEWXrTS+nfJJkWhwbvTHMy2u80z+OW8awWjaY7hGgnKE/5+qIod2UtdDrl/JvyvJmyI/KwM8HnEXOoSyY8DO4BzgWP4X8xhiEyGDeXtCBQxDcAfj+2m8qp8SBAaaAIehi40qHtMpD1glfpDYk5A4dxi21XaKYarPvwHUkKrlaT0H7YM7aP6ROtV0ZTdTQ4uwTWVLQIpONvmg+aGX/G2zfaTHwoSiftSgoCqO4eousL0u01KuUQjnaU7Js2K7xvOrqPlxjSxZZE5RXaWgmy0YoPwZj6rdAqhSVL6EebH4ulJ4= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6041248)(20161123564025)(20161123560025)(20161123562025)(20161123558025)(20161123555025)(6072148); SRVR:BLUPR0701MB1716; BCL:0; PCL:0; RULEID:; SRVR:BLUPR0701MB1716; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1716; 4:limsGjrDJUdd5eu9L0C5rAl92wIDVT9aMedCjdT2k+B0NKd6/7LnCSQgbVk4Ag+T7XUW2U1Se53MhhSDFtFJtSH2fnrT8hUQA9Jjt8uCpyUelZT+r0A25Cc5yOgEQZD/EGMvvKYzsFNvhCTEP0hPexypicwCZLR+RG8ivx35ocPad/w/gTJcx8iLrFaMBO4/EhyH0t/PDaGbRkc/0QGt2PFbmez5ul99DAWiDzXBtasZEwNel5jpJCi0eFCqTir8gU1TehrY5HgO9V05L0xDkllvBIDs3DaeIrQDoTzN7XWB8HjxdW0tlBS63aHx8C69EuPN5oVzwN/HKrd5ZansPVYCuzqM3PIKSUsURfLz03d2QsngaTFYgstIysWO5tiStFXRKJF0Qdt0CpXF7MiA2yZ0oSFPkHnSe72b0Q5YLPUD6MY9RwfyZ7G+Zhin1onkT6Fc+kvmXTYFu65tnE9FNuKuBEnE4gpHTDx9371j6g+QCZSrtQ6kFek06/kR+o4oRcZVBlZ/rhyCoiAMd9f6GEaj2x5RebJBgX8dk3swmYwktlnd6yEjP9K2rBlrP3LlppJ7uQR/OhPfbpJQr3Lk1blVtOOOJ7ojuhhgHVj0Du4mSUNblYT8SwOPYFAM5kyFX8JF99/VJIs3EcXtmKwsig== X-Forefront-PRVS: 02530BD3AA X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39410400002)(39450400003)(39830400002)(377454003)(76104003)(13464003)(24454002)(25786008)(2950100002)(42186005)(6666003)(4001350100001)(2906002)(42882006)(6916009)(2870700001)(33646002)(50466002)(1076002)(53546009)(6506006)(50986999)(54356999)(76176999)(5660300001)(53936002)(3846002)(6116002)(305945005)(83506001)(7736002)(9686003)(61506002)(66066001)(4326008)(110136004)(23676002)(54906002)(189998001)(38730400002)(81166006)(47776003)(6246003)(8676002); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0701MB1716; H:localhost.localdomain; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCTFVQUjA3MDFNQjE3MTY7MjM6Y3M5WERqelF6NTJMVWc3NFM0T05IMldM?= =?utf-8?B?WlhQd0gweEhXMWRMWlJlMFk1Q1d2SGdaTElhZTBMdWlZYjBySkFDcXIzMnUy?= =?utf-8?B?OUhybjVnY2lmTGNpb3FHWGJ4dVNPaGVRSEVLN250VDVJbjZCZDEyeWowQUxD?= =?utf-8?B?dnQ2ZmZQVmVBMmdmWjcvTmZmbW1LTi9CazF6Y29uQ0hvcUl5MDAvVGZNUjFT?= =?utf-8?B?YVFUdFR5SnpYWkdRWGdDVkJ0eXdjMHByS0NkWmFEQ1RFOXFKbU1uZDVmUnRM?= =?utf-8?B?N01OWnQ4T2U0eXRZVSs3Sk5KMVZLT2o2Y1dwSU1wbENPR2VYMTFGbzV0YlYw?= =?utf-8?B?NkJqY0RkekZnc1pVT3JSdWg4MjRPSFJFSHM0YllOVldlN3krbHB0WS9Eb2tS?= =?utf-8?B?ek1BS0tpSjQ0YTNVenkyaENEaWQweVRFUEp1QUZxM2NZNFN0WUF2T21FQ251?= =?utf-8?B?WFBLL0xjcmFkWlJQeHZ5MFlBejgyUW1UR05MMUFTRTV4R1BGNkR2SW9VN1F4?= =?utf-8?B?bzRNV05yOElLQ2k3MENYZFJ0MHZTUDZPN2RpNzV5OFRKanhIVHlpWDdCL1FH?= =?utf-8?B?Z1BVN0dzSHNIelZSMThIa21SYTB1akZlb3ArSkg4NTJ5aXk5TEVKdHBjVmlG?= =?utf-8?B?UU9mMFNCNFlEVVBZR0hDK1FZcjlranJSMjg3WDZUWDBvY2lsMDh2TUlLb284?= =?utf-8?B?WlI2dzFMdUJjazcyMmNVdEYzdkVhWGlNdDdycXRLRGtqMkJOS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networks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Mar 2017 04:05:35.7515 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB1716 Subject: Re: [dpdk-dev] [PATCH v4] devtools: add tags and cscope index file generation support X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Mar 2017 04:05:40 -0000 On Mon, Mar 20, 2017 at 10:15:45AM +0000, Dumitrescu, Cristian wrote: > > > > -----Original Message----- > > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Jerin Jacob > > Sent: Sunday, March 19, 2017 10:52 AM > > To: dev@dpdk.org > > Cc: thomas.monjalon@6wind.com; Yigit, Ferruh ; > > Jerin Jacob > > Subject: [dpdk-dev] [PATCH v4] devtools: add tags and cscope index file > > generation support > > > > This script generates cscope, gtags, and tags index files based on > > EAL environment(architecture and OS(linux/bsd)). > > > > If EAL environment(config) is not specified, the script generates tag > > files based on available source code. > > > > Usage: build-tags.sh [-h] [-v] tags|cscope|gtags|etags [config] > > > > example usage: > > ./devtools/build-tags.sh cscope > > ./devtools/build-tags.sh tags x86_64-native-linuxapp-gcc > > ./devtools/build-tags.sh gtags arm64-armv8a-linuxapp-gcc > > > > This is great, Jerin, thank you! > > IMO it would be even better to have this as one of the targets in the master makefile rather than a standalone script, what do you think? I had it in v2 and then I removed it. If there are no objection, I will add these targets in Makefile in next revision. Example usage: make tags T=x86_64-native-linuxapp-gcc make tags ➜ [master]laptop [dpdk-master] $ git diff diff --git a/mk/rte.sdkroot.mk b/mk/rte.sdkroot.mk index 7598bde..cee53ff 100644 --- a/mk/rte.sdkroot.mk +++ b/mk/rte.sdkroot.mk @@ -92,6 +92,15 @@ default: all config showconfigs showversion showversionum: $(Q)$(MAKE) -f $(RTE_SDK)/mk/rte.sdkconfig.mk $@ +.PHONY: cscope gtags tags etags +cscope gtags tags etags: +ifdef T + $(Q)$(RTE_SDK)/devtools/build-tags.sh $@ ${T} +else + $(Q)$(RTE_SDK)/devtools/build-tags.sh $@ +endif + + >