pkg-cmake.mk: do not hardcode absolute path in toolchainfile.cmake
authorSamuel Martin <s.martin49@gmail.com>
Sun, 1 Jun 2014 09:24:24 +0000 (11:24 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 1 Jun 2014 20:15:43 +0000 (22:15 +0200)
commit9033d90118689a50b13b3764a927ec1b202624bf
treed22e74d2644ae7c82c217c16a652f67dcc37cdb3
parent85fea5d9538e8ea1d1f83c7aa517ffebff7a4f1f
pkg-cmake.mk: do not hardcode absolute path in toolchainfile.cmake

The patch allows sharing or moving the toolchains.

This is a step toward making the toolchain/sdk relocatable.

Closes #6818

[Peter: reword comment as suggested by Thomas]
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Cc: Uwe Strempel <u.strempel@googlemail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/pkg-cmake.mk
support/misc/toolchainfile.cmake.in