summaryrefslogtreecommitdiffstats
path: root/package/gcc
diff options
context:
space:
mode:
authorLuca Ceresoli <luca@lucaceresoli.net>2015-10-03 19:22:16 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-10-04 15:46:11 +0100
commite4624fce8a7ff26dc232901c2b45b49ea6a52662 (patch)
tree49a97d62a43d1a642d28b550d58d81ef462e0a4d /package/gcc
parentb82ea7e22ec4a64ff29f549dd6ff4f276f8b7c22 (diff)
downloadbuildroot-e4624fce8a7ff26dc232901c2b45b49ea6a52662.tar.gz
buildroot-e4624fce8a7ff26dc232901c2b45b49ea6a52662.zip
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>
Diffstat (limited to 'package/gcc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud