external-toolchain: better documentation, cleanup, sysroot check
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 16 Jul 2009 21:56:10 +0000 (23:56 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 16 Jul 2009 22:10:33 +0000 (00:10 +0200)
commit57692e2535be4197debe2b1eea4fd50dea8a9c26
treed80698cb7c8fffa5cad4cd5a35337ea95f639a91
parent00eddf0ee63e976e1ecc07ad00e72a02a81ae501
external-toolchain: better documentation, cleanup, sysroot check

 * Introduce documentation for each function of ext-tool.mk, and
   document all parameters of the functions.

 * Pass SYSROOT_DIR as argument to all functions that require it,
   instead of computing it manually everywhere

 * Use $(shell) instead of backquotes

 * Check that the SYSROOT_DIR variable is not empty, which means that
   the external toolchain doesn't support --sysroot. In that case,
   bail out with a nice error message.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
toolchain/external-toolchain/ext-tool.mk