From: nbd Date: Sat, 18 Oct 2014 19:25:24 +0000 (+0000) Subject: toolchain: fix binutils broken symlink X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=ff155ca5fbf218ff55e81f4f16041cefc413f348;p=openwrt.git toolchain: fix binutils broken symlink The Makefile for binutils creates a broken symlink to "binutils-linaro" in "trunk/build_dir/toolchain-_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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42954 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/toolchain/binutils/Makefile b/toolchain/binutils/Makefile index 567f88a854..b88fbd8b2c 100644 --- a/toolchain/binutils/Makefile +++ b/toolchain/binutils/Makefile @@ -63,7 +63,7 @@ endif 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