toolchain: post-pone evaluation of TOOLCHAIN_EXTERNAL_BIN
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 1 Dec 2017 20:53:39 +0000 (21:53 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 31 Dec 2017 17:24:17 +0000 (18:24 +0100)
commit1a69e33d57b344cfaee52c4cf995a1c3bdf0f40f
tree980c086b698c4fe3fcb1c72aa8be8712d9b68c5c
parent3f6d39816bdb2cbd544779d82591b0e9e1a9877f
toolchain: post-pone evaluation of TOOLCHAIN_EXTERNAL_BIN

The upcoming per-package SDK functionality is heavily based on the
fact that HOST_DIR, STAGING_DIR and TARGET_DIR are evaluated during
the configure/build/install steps of the packages. Therefore, any
evaluation-during-assignment using := is going to cause problems, and
need to be turned into evaluation-during-use using =.

This patch fix up one such instance in the external toolchain code.

This change is independent from the per-package SDK functionality, and
could be applied separately.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
toolchain/toolchain-external/pkg-toolchain-external.mk