kumquat-buildroot/toolchain/toolchain-external
Juergen Stuber 0b28ee9267 toolchain/toolchain-external: Allow relative paths in BR2_TOOLCHAIN_EXTERNAL_PATH.
Convert BR2_TOOLCHAIN_EXTERNAL_PATH to an absolute path when used.

Otherwise the symbolic links to the external toolchain binaries are
not installed in host/bin when BR2_TOOLCHAIN_EXTERNAL_PATH is relative.
This happens because TOOLCHAIN_EXTERNAL_INSTALL_WRAPPER
changes directory into host/bin to create the symbolic links.
From there the tools are no longer found via the relative path and
a single symbolic link host/bin/$(prefix)-* is created instead.

Although relative paths sounds like something less than ideal to put in
a Buildroot configuration, it's actually rather typical to put the
buildroot sources as a submodule (or subdirectory) of custom sources
(either in a BR2_EXTERNAL or not), in which case the relative path is
well-defined.

Signed-off-by: Juergen Stuber <juergen@jstuber.net>
Reviewed-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-02-08 21:51:36 +01:00
..
toolchain-external-andes-nds32
toolchain-external-arm-aarch64 toolchain/toolchain-external: update Arm AArch64 toolchain 10.3-2021.07 2021-09-11 18:22:02 +02:00
toolchain-external-arm-aarch64-be toolchain/toolchain-external: update Arm AArch64 BE toolchain 10.3-2021.07 2021-09-11 18:23:06 +02:00
toolchain-external-arm-arm toolchain/toolchain-external: update Arm ARM toolchain 10.3-2021.07 2021-09-11 18:20:45 +02:00
toolchain-external-bootlin toolchain/toolchain-external/toolchain-external-bootlin: regenerate with AVX512 condition for x86-64-v4 toolchain 2022-01-25 08:41:22 +01:00
toolchain-external-codescape-img-mips
toolchain-external-codescape-mti-mips
toolchain-external-codesourcery-aarch64
toolchain-external-codesourcery-arm
toolchain-external-codesourcery-mips
toolchain-external-codesourcery-niosII
toolchain-external-custom {linux, linux-headers}: add version 5.16 2022-01-10 23:54:16 +01:00
toolchain-external-linaro-aarch64
toolchain-external-linaro-aarch64-be
toolchain-external-linaro-arm
toolchain-external-linaro-armeb
toolchain-external-synopsys-arc
Config.in
pkg-toolchain-external.mk toolchain/toolchain-external: Allow relative paths in BR2_TOOLCHAIN_EXTERNAL_PATH. 2022-02-08 21:51:36 +01:00
toolchain-external.mk