From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Hunt Subject: [PATCH v3 3/3] doc: update build-sdk-quick txt file Date: Wed, 7 Jun 2017 15:37:57 +0100 Message-ID: <1496846277-280267-4-git-send-email-david.hunt@intel.com> References: <1495788764-37652-2-git-send-email-david.hunt@intel.com> <1496846277-280267-1-git-send-email-david.hunt@intel.com> Cc: thomas@monjalon.net, shreyansh.jain@nxp.com, David Hunt To: dev@dpdk.org Return-path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 642D02C2F for ; Wed, 7 Jun 2017 16:38:08 +0200 (CEST) In-Reply-To: <1496846277-280267-1-git-send-email-david.hunt@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" * Add in information about 'make defconfig' * Add in information about RTE_TEMPLATE environment variable * Explain the default directory for 'O=' a bit better * Clean up text alignment Signed-off-by: David Hunt --- doc/build-sdk-quick.txt | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/doc/build-sdk-quick.txt b/doc/build-sdk-quick.txt index 8d41052..79f6971 100644 --- a/doc/build-sdk-quick.txt +++ b/doc/build-sdk-quick.txt @@ -1,7 +1,10 @@ Basic build + make defconfig && make + or make config T=x86_64-native-linuxapp-gcc && make Build commands config get configuration from target template (T=) + defconfig auto-select target template based on arch, OS, etc. all same as build (default rule) build build in a configured directory clean remove files but keep configuration @@ -18,12 +21,19 @@ Build variables EXTRA_LDLIBS linker library options RTE_KERNELDIR linux headers path RTE_DEVEL_BUILD stricter options (default: y in git tree) - CROSS toolchain prefix - V verbose - D debug dependencies - O build directory (default: build/ - install T= default: ./) - DESTDIR staging install directory (default: empty) - prefix root install directory (default: /usr/local) - T target template - used with config or install - format: - templates in config/defconfig_* + CROSS toolchain prefix + V verbose + D debug dependencies + O build directory (default different depending on use): + make defconfig, default: build/ + make config T=xyz, default: build/ + make, default: build/ + make install T=xyz, default: xyz/ + DESTDIR staging install directory (default: empty) + prefix root install directory (default: /usr/local) + T target template - used with config or install + format: + templates in config/defconfig_* + RTE_TEMPLATE Set this as an environment variable to replace (T=) + Example: export RTE_TEMPLATE=x86_64-native-linuxapp-gcc + make config && make -- 2.7.4