From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 2EB3369C5 for ; Tue, 14 Mar 2017 15:34:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=intel; t=1489502056; x=1521038056; h=subject:to:references:from:message-id:date:mime-version: in-reply-to:content-transfer-encoding; bh=6D/xRQrWPydaUCMAVrIfuqgkyVCs4xsoMDSPi/i35cw=; b=lufy91vfXZPDJOB0dVoFzbM2C3AIbnPXt9h5v5fIUfxPbfu6QdSZ3OFp Fw1UCbAXH/cjUPUqhqmgKvt5EQcAGw==; Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Mar 2017 07:34:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,164,1486454400"; d="scan'208";a="76504672" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.122]) ([10.237.220.122]) by fmsmga006.fm.intel.com with ESMTP; 14 Mar 2017 07:34:14 -0700 To: Alex Forster , users@dpdk.org References: From: Ferruh Yigit Message-ID: <7262e094-041a-1285-bb5b-eb83b30e5e5b@intel.com> Date: Tue, 14 Mar 2017 14:34:13 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Re: [dpdk-users] Only building certain DPDK components? X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Mar 2017 14:34:16 -0000 On 3/14/2017 2:18 PM, Alex Forster wrote: > Hi all, my google-fu is failing me. > > Is it possible (supported) in the current build system to skip building > apps and tests, and to only build certain libs – skipping > librte_cmdline/librte_cfgfile, for instance? It is possible to use %_sub target to build specific component, like: "make lib/librte_eal_sub" will only compile eal library. This requires config done, and dependent libraries built in advance. Can be used for all components, like "make drivers/net/null_sub" A component can be excluded from build via config file: "make T=... config" will create config file (build/.config by default) it is possible to edit it and disable components, via setting "=n" > > *Alex Forster* > Network Engineer, Linode >