Author: nbd
Date: 2014-10-18 21:25:24 +0200 (Sat, 18 Oct 2014)
New Revision: 42954

Modified:
   trunk/toolchain/binutils/Makefile
Log:
toolchain: fix binutils broken symlink

The Makefile for binutils creates a broken symlink to "binutils-linaro" in
"trunk/build_dir/toolchain-<target>_gcc-4.9-linaro_uClibc-0.9.33.2".
Modify the Makefile to point the symlink to the correct directory.

Signed-off-by: Nathan Hintz <[email protected]>

Modified: trunk/toolchain/binutils/Makefile
===================================================================
--- trunk/toolchain/binutils/Makefile   2014-10-18 17:39:04 UTC (rev 42953)
+++ trunk/toolchain/binutils/Makefile   2014-10-18 19:25:24 UTC (rev 42954)
@@ -63,7 +63,7 @@
 
 define Host/Prepare
        $(call Host/Prepare/Default)
-       ln -snf $(PKG_NAME)-$(PKG_VERSION) $(BUILD_DIR_TOOLCHAIN)/$(PKG_NAME)
+       ln -snf $(notdir $(HOST_BUILD_DIR)) $(BUILD_DIR_TOOLCHAIN)/$(PKG_NAME)
        $(CP) $(SCRIPT_DIR)/config.{guess,sub} $(HOST_BUILD_DIR)/
 endef
 
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to