kumquat-buildroot/toolchain
Luca Ceresoli e4624fce8a toolchain-external: strip trailing slash from autogenerated FOO_SITE
Trailing slashes are going to be declared illegal from FOO_SITE
variables.

But Buildroot internally generates such a variable when using a custom
external toolchain (i.e. BR2_TOOLCHAIN_EXTERNAL_CUSTOM). This is
because TOOLCHAIN_EXTERNAL_SITE is set to
$(dir $(call qstrip,$(BR2_TOOLCHAIN_EXTERNAL_URL))), and $(dir)
leaves a trailing slash.

Fix it using patsubst, just like linux and the bootloaders do.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-10-04 15:46:11 +01:00
..
toolchain
toolchain-buildroot aarch64: add big endian(aarch64_be) support 2015-07-12 18:32:37 +02:00
toolchain-external toolchain-external: strip trailing slash from autogenerated FOO_SITE 2015-10-04 15:46:11 +01:00
Config.in
helpers.mk toolchain: Fix glibc breakage 2015-10-04 13:59:46 +02:00
toolchain-common.in toolchain: add 4.2.x choice for headers 2015-09-01 10:05:20 +02:00
toolchain.mk