浏览代码

fixup use of a variable before it is set

Eric Andersen 20 年之前
父节点
当前提交
dab038a04a
共有 1 个文件被更改,包括 1 次插入7 次删除
  1. 1 7
      toolchain/binutils/binutils.mk

+ 1 - 7
toolchain/binutils/binutils.mk

@@ -3,7 +3,7 @@
 # build binutils for use on the host system
 #
 #############################################################
-BINUTILS_VERSION:=$(strip $(BINUTILS_VERSION))
+BINUTILS_VERSION:=$(strip $(subst ",, $(BR2_BINUTILS_VERSION)))
 
 BINUTILS_SITE:=http://ftp.kernel.org/pub/linux/devel/binutils
 ifeq ($(BINUTILS_VERSION),2.15)
@@ -132,9 +132,3 @@ binutils_target-clean:
 
 binutils_target-dirclean:
 	rm -rf $(BINUTILS_DIR2)
-#############################################################
-#
-# Toplevel Makefile options
-#
-#############################################################
-BINUTILS_VERSION:=$(strip $(subst ",, $(BR2_BINUTILS_VERSION)))