浏览代码

cleanup using a variable before it was defined

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

+ 2 - 4
toolchain/gdb/gdb.mk

@@ -3,7 +3,8 @@
 # gdb
 #
 ######################################################################
-GDB_VERSION:=$(strip $(GDB_VERSION))
+GDB_VERSION:=$(strip $(subst ",, $(BR2_GDB_VERSION)))
+#"
 
 GDB_SITE:=http://ftp.gnu.org/gnu/gdb
 
@@ -192,9 +193,6 @@ gdbclient-dirclean:
 # Toplevel Makefile options
 #
 #############################################################
-GDB_VERSION:=$(strip $(subst ",, $(BR2_GDB_VERSION)))
-#"
-
 ifeq ($(strip $(BR2_PACKAGE_GDB)),y)
 TARGETS+=gdb_target
 endif