From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 70407208B6; Sun, 9 Jul 2017 17:20:58 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Sun, 09 Jul 2017 17:20:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=/fBKwGrq6d9+gPQ xsNH0w/o4yCX5QrkdjyF2JGGAtIU=; b=sr3Fd7/BCwnuqAau2lQBv6FYPZlQxqt AHZcoMSY56YqvAnUmeXjCKvSCR3FpRJ0MMIM/fPvv4LG/O1I+HpbuGoqSOK66cHG KXYs9/O567YAsgcKyUQ3sH2GOV0dHkolQNFRHMj0xzyR8R1KcQUfZiaG+vvvmyC4 Px6JjTomV2oQ= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=/fBKwGrq6d9+gPQxsNH0w/o4yCX5QrkdjyF2JGGAtIU=; b=pb9FTQ/y 5hUEn33bpGOn1AbBtc76mj31ltEhpU7si3lNlBU+jQh7PScSlGfVXJI+8CWfZvgI mYvKbtkvv6/WFCnrHwGjL7H2YC82qLSCl8Mfun5yl44YLjUNapAcZxzQ0mumVYeL Ho3JUbIU9ZCgSrJmtPbndZfAT13cRkYkjf501xMOmP+MpjolTbnawqW6YMPXI6EU 29y9vylO6JmdEHhMAx58gOftL/7pBF2ZgWe4uheqmrXAVgHXLOmqkGzKm1hoRFwL h24pwRD++x9HO+FVjvkDm0mF7x9+Bf891N1wvnRmBHxvVyGMG+mbSQImoWztZdbH GE+kFGMFhfJXYQ== X-ME-Sender: X-Sasl-enc: WfEqnevyqXak9Vpk9WavDPFoLDhGQXzTISOuju1y6Gcj 1499635258 Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 25A057E807; Sun, 9 Jul 2017 17:20:58 -0400 (EDT) From: Thomas Monjalon To: Herakliusz Lipiec Cc: dev@dpdk.org, john.mcnamara@intel.com, heraklusz.lipiec@intel.com Date: Sun, 09 Jul 2017 23:20:57 +0200 Message-ID: <3434938.x7so3z7SW3@xps> In-Reply-To: <20170629084044.32173-1-herakliusz.lipiec@intel.com> References: <20170601163540.8975-1-herakliusz.lipiec@intel.com> <20170629084044.32173-1-herakliusz.lipiec@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] doc: add generic compilation doc for all sample apps 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: Sun, 09 Jul 2017 21:20:59 -0000 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.