From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] doc: add generic compilation doc for all sample apps Date: Sun, 09 Jul 2017 23:20:57 +0200 Message-ID: <3434938.x7so3z7SW3@xps> References: <20170601163540.8975-1-herakliusz.lipiec@intel.com> <20170629084044.32173-1-herakliusz.lipiec@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, john.mcnamara@intel.com, heraklusz.lipiec@intel.com To: Herakliusz Lipiec Return-path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id D8B5B5587 for ; Sun, 9 Jul 2017 23:20:58 +0200 (CEST) In-Reply-To: <20170629084044.32173-1-herakliusz.lipiec@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi, This method is deprecated. See below for updating the commands. 29/06/2017 10:40, Herakliusz Lipiec: > +Set the path to DPDK source code if its not set: > + > + .. code-block:: console > + > + export RTE_SDK=/path/to/rte_sdk > + > +Set the target (a default target is used if not specified). For example: > + > + .. code-block:: console > + > + export RTE_TARGET=x86_64-native-linuxapp-gcc No need to export RTE_TARGET at this point. This target is just needed for "make config". > +Go to DPDK source: > + > + .. code-block:: console > + > + cd $RTE_SDK > + > +Make and install DPDK: > + > + .. code-block:: console > + > + make install T=$RTE_TARGET The new standard method is: make config T=$RTE_TARGET make The config can be tuned between these two commands. The command "make install" is not required to build examples. > +Build the sample applications: > + > + .. code-block:: console > + > + make examples T=$RTE_TARGET You can use this command with the new method: export RTE_TARGET=build make -C examples Note that the target for examples is the DPDK build directory. It can be different if O= was used when configuring/compiling DPDK.