path: root/scripts/build/binutils/
diff options
authorYann E. MORIN" <>2010-12-29 17:19:40 (GMT)
committerYann E. MORIN" <>2010-12-29 17:19:40 (GMT)
commit2841bb7a35cbdaa7ed68d078880f199319b083c8 (patch)
tree95ac7160114baa328b8188129890b80d2999273d /scripts/build/binutils/
parent8a952d18e0f650829b60be72f051cadf0fc9e247 (diff)
binutils/binutils: add wrapper to gold and ld
When both gold and ld are installed, add a wrapper that calls to either gold or ld. In case the wrapper is installed, we also need to symlink ld.bfd and for the core_cc steps. Signed-off-by: "Yann E. MORIN" <>
Diffstat (limited to 'scripts/build/binutils/')
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/build/binutils/ b/scripts/build/binutils/
new file mode 100644
index 0000000..30f4591
--- /dev/null
+++ b/scripts/build/binutils/
@@ -0,0 +1,11 @@
+case "${CTNG_LD_IS}" in
+ bfd) call_to=bfd;;
+ gold) call_to=gold;;
+exec "${0}.${call_to}" "$@"
+exit $?