mk: introduce new install syntax
authorThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 1 Dec 2015 14:04:01 +0000 (15:04 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sun, 6 Dec 2015 14:41:04 +0000 (15:41 +0100)
commitfae202e2e21cb50cd4df4b1f5688eb5bfeb4a771
tree09739831054907424b30e0de0cfdb0557bf1507c
parent6b62a72a70d012aeaca40e5054feb556175c2c07
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 <thomas.monjalon@6wind.com>
Acked-by: Panu Matilainen <pmatilai@redhat.com>
doc/build-sdk-quick.txt
doc/guides/prog_guide/dev_kit_root_make_help.rst
mk/rte.sdkinstall.mk