From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 07DBE69FC for ; Thu, 12 Jan 2017 15:19:46 +0100 (CET) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga103.fm.intel.com with ESMTP; 12 Jan 2017 06:19:45 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,349,1477983600"; d="scan'208";a="52203667" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.38]) ([10.237.220.38]) by orsmga005.jf.intel.com with ESMTP; 12 Jan 2017 06:19:45 -0800 To: Jerin Jacob , dev@dpdk.org References: <1480205562-32745-1-git-send-email-jerin.jacob@caviumnetworks.com> Cc: thomas.monjalon@6wind.com From: Ferruh Yigit Message-ID: <204efa1f-0631-ed9c-3d68-8c573edfbb76@intel.com> Date: Thu, 12 Jan 2017 14:19:44 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: <1480205562-32745-1-git-send-email-jerin.jacob@caviumnetworks.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Subject: Re: [dpdk-dev] [PATCH] tools: 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: Thu, 12 Jan 2017 14:19:47 -0000 On 11/27/2016 12:12 AM, Jerin Jacob wrote: > This script generates cscope, gtags, and tags > index files based on EAL environment. > (architecture and OS(linux/bsd)) > > Selection of the architecture and OS environment > is based on dpdk configuration target(T=) > > example usage: > make tags T=x86_64-native-linuxapp-gcc > make cscope T=x86_64-native-linuxapp-gcc > make gtags T=x86_64-native-linuxapp-gcc > > Signed-off-by: Jerin Jacob <...> > + > +if [ -n "$T" ]; then <...> > + usage $1 > + exit I would prefer fallback to RTE_TARGET parsing, or processing all files ( cscope -Rqn ), instead of exiting here, but that is your call. Also "tags.sh" needs to be moved into "devtools" after latest updates. Reviewed-by: Ferruh Yigit