summaryrefslogtreecommitdiffstats
path: root/package/xen/0003-tools-libxc-xc_dom_arm-add-missing-variable-initiali.patch
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2017-08-17 21:19:46 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-08-19 15:06:45 +0200
commite4ebf9b0beae85e65eeb05106c1fce0e1379d1db (patch)
tree8d512ac82be966168df74e136341a0c49e61c1e8 /package/xen/0003-tools-libxc-xc_dom_arm-add-missing-variable-initiali.patch
parentb0041d3cb8b5194a602dfd031c81747415d75811 (diff)
downloadbuildroot-e4ebf9b0beae85e65eeb05106c1fce0e1379d1db.tar.gz
buildroot-e4ebf9b0beae85e65eeb05106c1fce0e1379d1db.zip
core/pkg-toolchain-external: quiesce spurious stderr
Since 392b0a26f5 (toolchain-external: default BR2_TOOLCHAIN_EXTERNAL_PATH to empty), calling 'make clean' or similar can yield a spurious stderr message: dirname: missing operand Try 'dirname --help' for more information. Which is definitely baffling and unsettling... It turns out that it is pretty trivial to reproduce, and this defconfig is just enough: $ cat my-defconfig BR2_TOOLCHAIN_EXTERNAL=y $ make BR2_DEFCONFIG=$(pwd)/my-defconfig defconfig $ make clean dirname: missing operand Try 'dirname --help' for more information. [--snip--] This is because the cross-compiler is not found in the PATH (and for good reasons, I don't have it in the PATH, not even at all). So, when the cross-compiler is not found in the path, we simply continue as if all was good, and postpone the check to much later, when we try to copy the toolchain libs... So, use a make construct rather than calling to the shell: $(dir ...) does not whine if passed nothing. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Arnout Vandecappelle <arnout@mind.be> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/xen/0003-tools-libxc-xc_dom_arm-add-missing-variable-initiali.patch')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud