summaryrefslogtreecommitdiffstats
path: root/toolchain/gcc
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2012-06-23 21:26:16 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2012-06-23 21:33:17 +0200
commit3f487ef72845965b578002b2f9c0a37eff47e97a (patch)
tree4e027189e7a1eb4aef25d4459713efdadba24773 /toolchain/gcc
parentb7b640d8126659ca0803d8bad158917f50d43298 (diff)
downloadbuildroot-novena-3f487ef72845965b578002b2f9c0a37eff47e97a.tar.gz
buildroot-novena-3f487ef72845965b578002b2f9c0a37eff47e97a.zip
toolchain: reinstate host/usr/bin/$arch-linux-* symlinks for gcc/gdb binaries
As people might be using them. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'toolchain/gcc')
-rw-r--r--toolchain/gcc/gcc-uclibc-4.x.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/toolchain/gcc/gcc-uclibc-4.x.mk b/toolchain/gcc/gcc-uclibc-4.x.mk
index 57f4f8a35..e29d797cc 100644
--- a/toolchain/gcc/gcc-uclibc-4.x.mk
+++ b/toolchain/gcc/gcc-uclibc-4.x.mk
@@ -482,6 +482,10 @@ endif
if [ ! -e $(HOST_DIR)/usr/$(GNU_TARGET_NAME)/bin/cc ]; then \
ln -snf gcc $(HOST_DIR)/usr/$(GNU_TARGET_NAME)/bin/cc; \
fi
+ # arch-linux-* symlinks
+ cd $(HOST_DIR)/usr/bin; for i in $(GNU_TARGET_NAME)-*; do \
+ ln -snf $$i $(ARCH)-linux$${i##$(GNU_TARGET_NAME)}; \
+ done
mkdir -p $(TARGET_DIR)/usr/lib $(TARGET_DIR)/usr/sbin
touch $@