From 650d4e0fab8a94590f7d206ff42c2da74281a02c Mon Sep 17 00:00:00 2001 From: luka Date: Thu, 28 Mar 2013 12:16:39 +0000 Subject: toolchain: stop generating broken symlink in TOOLCHAIN_DIR/lib It turns out that the symlink may exists already by the time the toolchain Makefile gets an opportunity to run. While we asked to replace the target, ln doesn't do so until after dereferencing the existing symlink. This results in an unintended symlink that refers to itself. Instead, create the link without dereferencing any symlinks by using the -n option. Signed-off-by: John Szakmeister git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36140 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- toolchain/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toolchain/Makefile') diff --git a/toolchain/Makefile b/toolchain/Makefile index bdfb29ec1..763381a83 100644 --- a/toolchain/Makefile +++ b/toolchain/Makefile @@ -63,7 +63,7 @@ ifneq ($(ARCH),) $(if $(QUIET),,set -x;) \ mkdir -p "$$dir"; \ cd "$$dir"; \ - ln -sf lib lib64; \ + ln -nsf lib lib64; \ mkdir -p stamp lib usr/include usr/lib ; \ ); done @grep GCC_VERSION $@ >/dev/null 2>&1 || $(INSTALL_DATA) $(TOPDIR)/toolchain/info.mk $@ -- cgit v1.2.3 From f335e5894fc9cd8087ba8d48e33708fe70630229 Mon Sep 17 00:00:00 2001 From: florian Date: Fri, 5 Apr 2013 12:36:23 +0000 Subject: toolchain: allow choosing the MIPS64 user-land ABI Signed-off-by: Florian Fainelli git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36205 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- toolchain/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'toolchain/Makefile') diff --git a/toolchain/Makefile b/toolchain/Makefile index 763381a83..581d2b3c6 100644 --- a/toolchain/Makefile +++ b/toolchain/Makefile @@ -64,6 +64,7 @@ ifneq ($(ARCH),) mkdir -p "$$dir"; \ cd "$$dir"; \ ln -nsf lib lib64; \ + ln -nsf lib lib32; \ mkdir -p stamp lib usr/include usr/lib ; \ ); done @grep GCC_VERSION $@ >/dev/null 2>&1 || $(INSTALL_DATA) $(TOPDIR)/toolchain/info.mk $@ -- cgit v1.2.3