Browse Source

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]>

SVN-Revision: 42954
Felix Fietkau 11 years ago
parent
commit
b537205ea2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      toolchain/binutils/Makefile

+ 1 - 1
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