path: root/doc/build-sdk-quick.txt
diff options
authorThomas Monjalon <>2015-12-01 15:04:01 +0100
committerThomas Monjalon <>2015-12-06 15:41:04 +0100
commitfae202e2e21cb50cd4df4b1f5688eb5bfeb4a771 (patch)
tree09739831054907424b30e0de0cfdb0557bf1507c /doc/build-sdk-quick.txt
parent6b62a72a70d012aeaca40e5054feb556175c2c07 (diff)
mk: introduce new install syntax
The old install command was: make install T=x86_64-native-linuxapp-gcc DESTDIR=install It still works and can be replaced by these more standard commands: make config T=x86_64-native-linuxapp-gcc 0=x86_64-native-linuxapp-gcc make O=x86_64-native-linuxapp-gcc make install O=x86_64-native-linuxapp-gcc prefix= DESTDIR=install It means the "make install" do not perform any compilation anymore when T is not used. It is done only in pre_install to keep compatibility with the old syntax based on T= option. The default prefix /usr/local is empty in the T= case which is used only for a local install. Signed-off-by: Thomas Monjalon <> Acked-by: Panu Matilainen <>
Diffstat (limited to 'doc/build-sdk-quick.txt')
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/build-sdk-quick.txt b/doc/build-sdk-quick.txt
index 662ef63..acd1bfe 100644
--- a/doc/build-sdk-quick.txt
+++ b/doc/build-sdk-quick.txt
@@ -5,7 +5,8 @@ Build commands
all same as build (default rule)
build build in a configured directory
clean remove files but keep configuration
- install configure, build and install a target in DESTDIR
+ install T= configure, build and install a target in DESTDIR
+ install install optionally staged in DESTDIR
examples build examples for given targets (T=)
examples_clean clean examples for given targets (T=)
Build variables
@@ -17,8 +18,8 @@ Build variables
CROSS toolchain prefix
V verbose
D debug dependencies
- O build directory (default: build/ - install default: ./)
- DESTDIR second-stage install directory
+ O build directory (default: build/ - install T= default: ./)
+ DESTDIR staging install directory
prefix root install directory
T target template - used with config or install
format: <arch-machine-execenv-toolchain>