[dpdk-dev] doc: add default values of install variables

Message ID 1487347156-4441-1-git-send-email-thomas.monjalon@6wind.com (mailing list archive)
State Accepted, archived
Headers

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK

Commit Message

Thomas Monjalon Feb. 17, 2017, 3:59 p.m. UTC
  The variables DESTDIR and prefix are used with "make install"
to copy the files in $DESTDIR$prefix.
Their default values will be shown when calling "make help".

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
---
 doc/build-sdk-quick.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Comments

John McNamara Feb. 20, 2017, 3:19 p.m. UTC | #1
> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Thomas Monjalon
> Sent: Friday, February 17, 2017 3:59 PM
> To: dev@dpdk.org
> Subject: [dpdk-dev] [PATCH] doc: add default values of install variables
> 
> The variables DESTDIR and prefix are used with "make install"
> to copy the files in $DESTDIR$prefix.
> Their default values will be shown when calling "make help".
> 
> Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>

Acked-by: John McNamara <john.mcnamara@intel.com>
  
Thomas Monjalon Feb. 27, 2017, 2:43 p.m. UTC | #2
> > The variables DESTDIR and prefix are used with "make install"
> > to copy the files in $DESTDIR$prefix.
> > Their default values will be shown when calling "make help".
> > 
> > Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
> 
> Acked-by: John McNamara <john.mcnamara@intel.com>

Applied
  

Patch

diff --git a/doc/build-sdk-quick.txt b/doc/build-sdk-quick.txt
index 967ff09..57356d3 100644
--- a/doc/build-sdk-quick.txt
+++ b/doc/build-sdk-quick.txt
@@ -20,8 +20,8 @@  Build variables
 	V         verbose
 	D         debug dependencies
 	O         build directory (default: build/ - install T= default: ./)
-	DESTDIR   staging install directory
-	prefix    root install directory
+	DESTDIR   staging install directory (default: empty)
+	prefix    root install directory (default: /usr/local)
 	T         target template - used with config or install
 			format: <arch-machine-execenv-toolchain>
 			templates in config/defconfig_*